diff --git a/api_names_out.yaml b/api_names_out.yaml index 48e921f9b..0f84eb25f 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -11457,6 +11457,8 @@ "/bigquery:v2/ListModelsResponse/models/model": model "/bigquery:v2/ListModelsResponse/nextPageToken": next_page_token "/bigquery:v2/Location": location +"/bigquery:v2/LocationMetadata": location_metadata +"/bigquery:v2/LocationMetadata/legacyLocationId": legacy_location_id "/bigquery:v2/MaterializedViewDefinition": materialized_view_definition "/bigquery:v2/MaterializedViewDefinition/lastRefreshTime": last_refresh_time "/bigquery:v2/MaterializedViewDefinition/query": query @@ -18488,9 +18490,12 @@ "/cloudscheduler:v1/HttpTarget/headers": headers "/cloudscheduler:v1/HttpTarget/headers/header": header "/cloudscheduler:v1/HttpTarget/httpMethod": http_method +"/cloudscheduler:v1/HttpTarget/oauthToken": oauth_token +"/cloudscheduler:v1/HttpTarget/oidcToken": oidc_token "/cloudscheduler:v1/HttpTarget/uri": uri "/cloudscheduler:v1/Job": job "/cloudscheduler:v1/Job/appEngineHttpTarget": app_engine_http_target +"/cloudscheduler:v1/Job/attemptDeadline": attempt_deadline "/cloudscheduler:v1/Job/description": description "/cloudscheduler:v1/Job/httpTarget": http_target "/cloudscheduler:v1/Job/lastAttemptTime": last_attempt_time @@ -18519,6 +18524,12 @@ "/cloudscheduler:v1/Location/metadata": metadata "/cloudscheduler:v1/Location/metadata/metadatum": metadatum "/cloudscheduler:v1/Location/name": name +"/cloudscheduler:v1/OAuthToken": o_auth_token +"/cloudscheduler:v1/OAuthToken/scope": scope +"/cloudscheduler:v1/OAuthToken/serviceAccountEmail": service_account_email +"/cloudscheduler:v1/OidcToken": oidc_token +"/cloudscheduler:v1/OidcToken/audience": audience +"/cloudscheduler:v1/OidcToken/serviceAccountEmail": service_account_email "/cloudscheduler:v1/PauseJobRequest": pause_job_request "/cloudscheduler:v1/PubsubMessage": pubsub_message "/cloudscheduler:v1/PubsubMessage/attributes": attributes @@ -40688,6 +40699,7 @@ "/container:v1/NodePool/management": management "/container:v1/NodePool/maxPodsConstraint": max_pods_constraint "/container:v1/NodePool/name": name +"/container:v1/NodePool/podIpv4CidrSize": pod_ipv4_cidr_size "/container:v1/NodePool/selfLink": self_link "/container:v1/NodePool/status": status "/container:v1/NodePool/statusMessage": status_message @@ -41105,6 +41117,10 @@ "/container:v1beta1/AutoUpgradeOptions": auto_upgrade_options "/container:v1beta1/AutoUpgradeOptions/autoUpgradeStartTime": auto_upgrade_start_time "/container:v1beta1/AutoUpgradeOptions/description": description +"/container:v1beta1/AutoprovisioningNodePoolDefaults": autoprovisioning_node_pool_defaults +"/container:v1beta1/AutoprovisioningNodePoolDefaults/oauthScopes": oauth_scopes +"/container:v1beta1/AutoprovisioningNodePoolDefaults/oauthScopes/oauth_scope": oauth_scope +"/container:v1beta1/AutoprovisioningNodePoolDefaults/serviceAccount": service_account "/container:v1beta1/BigQueryDestination": big_query_destination "/container:v1beta1/BigQueryDestination/datasetId": dataset_id "/container:v1beta1/BinaryAuthorization": binary_authorization @@ -41179,6 +41195,7 @@ "/container:v1beta1/Cluster/verticalPodAutoscaling": vertical_pod_autoscaling "/container:v1beta1/Cluster/zone": zone "/container:v1beta1/ClusterAutoscaling": cluster_autoscaling +"/container:v1beta1/ClusterAutoscaling/autoprovisioningNodePoolDefaults": autoprovisioning_node_pool_defaults "/container:v1beta1/ClusterAutoscaling/enableNodeAutoprovisioning": enable_node_autoprovisioning "/container:v1beta1/ClusterAutoscaling/resourceLimits": resource_limits "/container:v1beta1/ClusterAutoscaling/resourceLimits/resource_limit": resource_limit @@ -41389,6 +41406,7 @@ "/container:v1beta1/NodePool/management": management "/container:v1beta1/NodePool/maxPodsConstraint": max_pods_constraint "/container:v1beta1/NodePool/name": name +"/container:v1beta1/NodePool/podIpv4CidrSize": pod_ipv4_cidr_size "/container:v1beta1/NodePool/selfLink": self_link "/container:v1beta1/NodePool/status": status "/container:v1beta1/NodePool/statusMessage": status_message @@ -102181,6 +102199,7 @@ "/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/locationType": location_type "/storage:v1/Bucket/logging": logging "/storage:v1/Bucket/logging/logBucket": log_bucket "/storage:v1/Bucket/logging/logObjectPrefix": log_object_prefix @@ -102384,44 +102403,54 @@ "/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.delete/provisionalUserProject": provisional_user_project "/storage:v1/storage.bucketAccessControls.delete/userProject": user_project "/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.get/provisionalUserProject": provisional_user_project "/storage:v1/storage.bucketAccessControls.get/userProject": user_project "/storage:v1/storage.bucketAccessControls.insert": insert_bucket_access_control "/storage:v1/storage.bucketAccessControls.insert/bucket": bucket +"/storage:v1/storage.bucketAccessControls.insert/provisionalUserProject": provisional_user_project "/storage:v1/storage.bucketAccessControls.insert/userProject": user_project "/storage:v1/storage.bucketAccessControls.list": list_bucket_access_controls "/storage:v1/storage.bucketAccessControls.list/bucket": bucket +"/storage:v1/storage.bucketAccessControls.list/provisionalUserProject": provisional_user_project "/storage:v1/storage.bucketAccessControls.list/userProject": user_project "/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.patch/provisionalUserProject": provisional_user_project "/storage:v1/storage.bucketAccessControls.patch/userProject": user_project "/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.bucketAccessControls.update/provisionalUserProject": provisional_user_project "/storage:v1/storage.bucketAccessControls.update/userProject": user_project "/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.delete/provisionalUserProject": provisional_user_project "/storage:v1/storage.buckets.delete/userProject": user_project "/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.get/provisionalUserProject": provisional_user_project "/storage:v1/storage.buckets.get/userProject": user_project "/storage:v1/storage.buckets.getIamPolicy": get_bucket_iam_policy "/storage:v1/storage.buckets.getIamPolicy/bucket": bucket +"/storage:v1/storage.buckets.getIamPolicy/provisionalUserProject": provisional_user_project "/storage:v1/storage.buckets.getIamPolicy/userProject": user_project "/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.insert/provisionalUserProject": provisional_user_project "/storage:v1/storage.buckets.insert/userProject": user_project "/storage:v1/storage.buckets.list": list_buckets "/storage:v1/storage.buckets.list/maxResults": max_results @@ -102429,10 +102458,12 @@ "/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.list/provisionalUserProject": provisional_user_project "/storage:v1/storage.buckets.list/userProject": user_project "/storage:v1/storage.buckets.lockRetentionPolicy": lock_bucket_retention_policy "/storage:v1/storage.buckets.lockRetentionPolicy/bucket": bucket "/storage:v1/storage.buckets.lockRetentionPolicy/ifMetagenerationMatch": if_metageneration_match +"/storage:v1/storage.buckets.lockRetentionPolicy/provisionalUserProject": provisional_user_project "/storage:v1/storage.buckets.lockRetentionPolicy/userProject": user_project "/storage:v1/storage.buckets.patch": patch_bucket "/storage:v1/storage.buckets.patch/bucket": bucket @@ -102441,13 +102472,16 @@ "/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.patch/provisionalUserProject": provisional_user_project "/storage:v1/storage.buckets.patch/userProject": user_project "/storage:v1/storage.buckets.setIamPolicy": set_bucket_iam_policy "/storage:v1/storage.buckets.setIamPolicy/bucket": bucket +"/storage:v1/storage.buckets.setIamPolicy/provisionalUserProject": provisional_user_project "/storage:v1/storage.buckets.setIamPolicy/userProject": user_project "/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.buckets.testIamPermissions/provisionalUserProject": provisional_user_project "/storage:v1/storage.buckets.testIamPermissions/userProject": user_project "/storage:v1/storage.buckets.update": update_bucket "/storage:v1/storage.buckets.update/bucket": bucket @@ -102456,79 +102490,96 @@ "/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.buckets.update/provisionalUserProject": provisional_user_project "/storage:v1/storage.buckets.update/userProject": user_project "/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.delete/provisionalUserProject": provisional_user_project "/storage:v1/storage.defaultObjectAccessControls.delete/userProject": user_project "/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.get/provisionalUserProject": provisional_user_project "/storage:v1/storage.defaultObjectAccessControls.get/userProject": user_project "/storage:v1/storage.defaultObjectAccessControls.insert": insert_default_object_access_control "/storage:v1/storage.defaultObjectAccessControls.insert/bucket": bucket +"/storage:v1/storage.defaultObjectAccessControls.insert/provisionalUserProject": provisional_user_project "/storage:v1/storage.defaultObjectAccessControls.insert/userProject": user_project "/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.list/provisionalUserProject": provisional_user_project "/storage:v1/storage.defaultObjectAccessControls.list/userProject": user_project "/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.patch/provisionalUserProject": provisional_user_project "/storage:v1/storage.defaultObjectAccessControls.patch/userProject": user_project "/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.defaultObjectAccessControls.update/provisionalUserProject": provisional_user_project "/storage:v1/storage.defaultObjectAccessControls.update/userProject": user_project "/storage:v1/storage.notifications.delete": delete_notification "/storage:v1/storage.notifications.delete/bucket": bucket "/storage:v1/storage.notifications.delete/notification": notification +"/storage:v1/storage.notifications.delete/provisionalUserProject": provisional_user_project "/storage:v1/storage.notifications.delete/userProject": user_project "/storage:v1/storage.notifications.get": get_notification "/storage:v1/storage.notifications.get/bucket": bucket "/storage:v1/storage.notifications.get/notification": notification +"/storage:v1/storage.notifications.get/provisionalUserProject": provisional_user_project "/storage:v1/storage.notifications.get/userProject": user_project "/storage:v1/storage.notifications.insert": insert_notification "/storage:v1/storage.notifications.insert/bucket": bucket +"/storage:v1/storage.notifications.insert/provisionalUserProject": provisional_user_project "/storage:v1/storage.notifications.insert/userProject": user_project "/storage:v1/storage.notifications.list": list_notifications "/storage:v1/storage.notifications.list/bucket": bucket +"/storage:v1/storage.notifications.list/provisionalUserProject": provisional_user_project "/storage:v1/storage.notifications.list/userProject": user_project "/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.delete/provisionalUserProject": provisional_user_project "/storage:v1/storage.objectAccessControls.delete/userProject": user_project "/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.get/provisionalUserProject": provisional_user_project "/storage:v1/storage.objectAccessControls.get/userProject": user_project "/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.insert/provisionalUserProject": provisional_user_project "/storage:v1/storage.objectAccessControls.insert/userProject": user_project "/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.list/provisionalUserProject": provisional_user_project "/storage:v1/storage.objectAccessControls.list/userProject": user_project "/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.patch/provisionalUserProject": provisional_user_project "/storage:v1/storage.objectAccessControls.patch/userProject": user_project "/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.objectAccessControls.update/provisionalUserProject": provisional_user_project "/storage:v1/storage.objectAccessControls.update/userProject": user_project "/storage:v1/storage.objects.compose": compose_object "/storage:v1/storage.objects.compose/destinationBucket": destination_bucket @@ -102537,6 +102588,7 @@ "/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.compose/provisionalUserProject": provisional_user_project "/storage:v1/storage.objects.compose/userProject": user_project "/storage:v1/storage.objects.copy": copy_object "/storage:v1/storage.objects.copy/destinationBucket": destination_bucket @@ -102551,6 +102603,7 @@ "/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/provisionalUserProject": provisional_user_project "/storage:v1/storage.objects.copy/sourceBucket": source_bucket "/storage:v1/storage.objects.copy/sourceGeneration": source_generation "/storage:v1/storage.objects.copy/sourceObject": source_object @@ -102563,6 +102616,7 @@ "/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.delete/provisionalUserProject": provisional_user_project "/storage:v1/storage.objects.delete/userProject": user_project "/storage:v1/storage.objects.get": get_object "/storage:v1/storage.objects.get/bucket": bucket @@ -102573,11 +102627,13 @@ "/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.get/provisionalUserProject": provisional_user_project "/storage:v1/storage.objects.get/userProject": user_project "/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.getIamPolicy/provisionalUserProject": provisional_user_project "/storage:v1/storage.objects.getIamPolicy/userProject": user_project "/storage:v1/storage.objects.insert": insert_object "/storage:v1/storage.objects.insert/bucket": bucket @@ -102590,6 +102646,7 @@ "/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.insert/provisionalUserProject": provisional_user_project "/storage:v1/storage.objects.insert/userProject": user_project "/storage:v1/storage.objects.list": list_objects "/storage:v1/storage.objects.list/bucket": bucket @@ -102599,6 +102656,7 @@ "/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/provisionalUserProject": provisional_user_project "/storage:v1/storage.objects.list/userProject": user_project "/storage:v1/storage.objects.list/versions": versions "/storage:v1/storage.objects.patch": patch_object @@ -102611,6 +102669,7 @@ "/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.patch/provisionalUserProject": provisional_user_project "/storage:v1/storage.objects.patch/userProject": user_project "/storage:v1/storage.objects.rewrite": rewrite_object "/storage:v1/storage.objects.rewrite/destinationBucket": destination_bucket @@ -102627,6 +102686,7 @@ "/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/provisionalUserProject": provisional_user_project "/storage:v1/storage.objects.rewrite/rewriteToken": rewrite_token "/storage:v1/storage.objects.rewrite/sourceBucket": source_bucket "/storage:v1/storage.objects.rewrite/sourceGeneration": source_generation @@ -102636,12 +102696,14 @@ "/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.setIamPolicy/provisionalUserProject": provisional_user_project "/storage:v1/storage.objects.setIamPolicy/userProject": user_project "/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/storage.objects.testIamPermissions/provisionalUserProject": provisional_user_project "/storage:v1/storage.objects.testIamPermissions/userProject": user_project "/storage:v1/storage.objects.update": update_object "/storage:v1/storage.objects.update/bucket": bucket @@ -102653,6 +102715,7 @@ "/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.update/provisionalUserProject": provisional_user_project "/storage:v1/storage.objects.update/userProject": user_project "/storage:v1/storage.objects.watchAll": watch_all_objects "/storage:v1/storage.objects.watchAll/bucket": bucket @@ -102662,28 +102725,35 @@ "/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/provisionalUserProject": provisional_user_project "/storage:v1/storage.objects.watchAll/userProject": user_project "/storage:v1/storage.objects.watchAll/versions": versions "/storage:v1/storage.projects.hmacKeys.create": create_project_hmac_key "/storage:v1/storage.projects.hmacKeys.create/projectId": project_id "/storage:v1/storage.projects.hmacKeys.create/serviceAccountEmail": service_account_email +"/storage:v1/storage.projects.hmacKeys.create/userProject": user_project "/storage:v1/storage.projects.hmacKeys.delete": delete_project_hmac_key "/storage:v1/storage.projects.hmacKeys.delete/accessId": access_id "/storage:v1/storage.projects.hmacKeys.delete/projectId": project_id +"/storage:v1/storage.projects.hmacKeys.delete/userProject": user_project "/storage:v1/storage.projects.hmacKeys.get": get_project_hmac_key "/storage:v1/storage.projects.hmacKeys.get/accessId": access_id "/storage:v1/storage.projects.hmacKeys.get/projectId": project_id +"/storage:v1/storage.projects.hmacKeys.get/userProject": user_project "/storage:v1/storage.projects.hmacKeys.list": list_project_hmac_keys "/storage:v1/storage.projects.hmacKeys.list/maxResults": max_results "/storage:v1/storage.projects.hmacKeys.list/pageToken": page_token "/storage:v1/storage.projects.hmacKeys.list/projectId": project_id "/storage:v1/storage.projects.hmacKeys.list/serviceAccountEmail": service_account_email "/storage:v1/storage.projects.hmacKeys.list/showDeletedKeys": show_deleted_keys +"/storage:v1/storage.projects.hmacKeys.list/userProject": user_project "/storage:v1/storage.projects.hmacKeys.update": update_project_hmac_key "/storage:v1/storage.projects.hmacKeys.update/accessId": access_id "/storage:v1/storage.projects.hmacKeys.update/projectId": project_id +"/storage:v1/storage.projects.hmacKeys.update/userProject": user_project "/storage:v1/storage.projects.serviceAccount.get": get_project_service_account "/storage:v1/storage.projects.serviceAccount.get/projectId": project_id +"/storage:v1/storage.projects.serviceAccount.get/provisionalUserProject": provisional_user_project "/storage:v1/storage.projects.serviceAccount.get/userProject": user_project "/storage:v1/userIp": user_ip "/storage:v1beta1/Bucket": bucket diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index a2cc1dfe9..6eafbcd1f 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 = '20190314' + REVISION = '20190423' # 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 90bb2dcd7..9f9009316 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -2852,12 +2852,14 @@ module Google # DELETE query; see https://cloud.google.com/bigquery/docs/reference/standard- # sql/data-manipulation-language. "MERGE": MERGE query; see https://cloud.google. # com/bigquery/docs/reference/standard-sql/data-manipulation-language. " + # ALTER_TABLE": ALTER TABLE query. "ALTER_VIEW": ALTER VIEW query. " + # CREATE_FUNCTION": CREATE FUNCTION query. "CREATE_MODEL": CREATE [OR REPLACE] + # MODEL ... AS SELECT ... . "CREATE_PROCEDURE": CREATE PROCEDURE query. " # CREATE_TABLE": CREATE [OR REPLACE] TABLE without AS SELECT. " # CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE] TABLE ... AS SELECT ... . " - # DROP_TABLE": DROP TABLE query. "CREATE_VIEW": CREATE [OR REPLACE] VIEW ... AS - # SELECT ... . "DROP_VIEW": DROP VIEW query. "CREATE_FUNCTION": CREATE FUNCTION - # query. "DROP_FUNCTION" : DROP FUNCTION query. "ALTER_TABLE": ALTER TABLE query. - # "ALTER_VIEW": ALTER VIEW query. + # CREATE_VIEW": CREATE [OR REPLACE] VIEW ... AS SELECT ... . "DROP_FUNCTION" : + # DROP FUNCTION query. "DROP_PROCEDURE": DROP PROCEDURE query. "DROP_TABLE": + # DROP TABLE query. "DROP_VIEW": DROP VIEW query. # Corresponds to the JSON property `statementType` # @return [String] attr_accessor :statement_type @@ -3097,6 +3099,28 @@ module Google end end + # BigQuery-specific metadata about a location. This will be set on + # google.cloud.location.Location.metadata in Cloud Location API + # responses. + class LocationMetadata + include Google::Apis::Core::Hashable + + # The legacy BigQuery location ID, e.g. “EU” for the “europe” location. + # This is for any API consumers that need the legacy “US” and “EU” locations. + # Corresponds to the JSON property `legacyLocationId` + # @return [String] + attr_accessor :legacy_location_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @legacy_location_id = args[:legacy_location_id] if args.key?(:legacy_location_id) + end + end + # class MaterializedViewDefinition include Google::Apis::Core::Hashable diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index 423037812..0b647f127 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -322,6 +322,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LocationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MaterializedViewDefinition class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1294,6 +1300,13 @@ module Google end end + class LocationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :legacy_location_id, as: 'legacyLocationId' + end + end + class MaterializedViewDefinition # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/cloudscheduler_v1.rb b/generated/google/apis/cloudscheduler_v1.rb index bbabf4bee..1d858aa85 100644 --- a/generated/google/apis/cloudscheduler_v1.rb +++ b/generated/google/apis/cloudscheduler_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/scheduler/ module CloudschedulerV1 VERSION = 'V1' - REVISION = '20190326' + REVISION = '20190429' # 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/cloudscheduler_v1/classes.rb b/generated/google/apis/cloudscheduler_v1/classes.rb index dbea76e33..51b4222b8 100644 --- a/generated/google/apis/cloudscheduler_v1/classes.rb +++ b/generated/google/apis/cloudscheduler_v1/classes.rb @@ -285,6 +285,23 @@ module Google # @return [String] attr_accessor :http_method + # Contains information needed for generating an + # [OAuth token](https://developers.google.com/identity/protocols/OAuth2). + # This type of authorization should be used when sending requests to a GCP + # endpoint. + # Corresponds to the JSON property `oauthToken` + # @return [Google::Apis::CloudschedulerV1::OAuthToken] + attr_accessor :oauth_token + + # Contains information needed for generating an + # [OpenID Connect + # token](https://developers.google.com/identity/protocols/OpenIDConnect). This + # type of authorization should be used when sending requests to third party + # endpoints or Cloud Run. + # Corresponds to the JSON property `oidcToken` + # @return [Google::Apis::CloudschedulerV1::OidcToken] + attr_accessor :oidc_token + # Required. # The full URI path that the request will be sent to. This string # must begin with either "http://" or "https://". Some examples of @@ -305,6 +322,8 @@ module Google @body = args[:body] if args.key?(:body) @headers = args[:headers] if args.key?(:headers) @http_method = args[:http_method] if args.key?(:http_method) + @oauth_token = args[:oauth_token] if args.key?(:oauth_token) + @oidc_token = args[:oidc_token] if args.key?(:oidc_token) @uri = args[:uri] if args.key?(:uri) end end @@ -327,6 +346,19 @@ module Google # @return [Google::Apis::CloudschedulerV1::AppEngineHttpTarget] attr_accessor :app_engine_http_target + # The deadline for job attempts. If the request handler does not respond by + # this deadline then the request is cancelled and the attempt is marked as a + # `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in + # execution logs. Cloud Scheduler will retry the job according + # to the RetryConfig. + # The allowed duration for this deadline is: + # * For HTTP targets, between 15 seconds and 30 minutes. + # * For App Engine HTTP targets, between 15 + # seconds and 24 hours. + # Corresponds to the JSON property `attemptDeadline` + # @return [String] + attr_accessor :attempt_deadline + # Optionally caller-specified in CreateJob or # UpdateJob. # A human-readable description for the job. This string must not contain @@ -486,6 +518,7 @@ module Google # Update properties of this object def update!(**args) @app_engine_http_target = args[:app_engine_http_target] if args.key?(:app_engine_http_target) + @attempt_deadline = args[:attempt_deadline] if args.key?(:attempt_deadline) @description = args[:description] if args.key?(:description) @http_target = args[:http_target] if args.key?(:http_target) @last_attempt_time = args[:last_attempt_time] if args.key?(:last_attempt_time) @@ -603,6 +636,72 @@ module Google end end + # Contains information needed for generating an + # [OAuth token](https://developers.google.com/identity/protocols/OAuth2). + # This type of authorization should be used when sending requests to a GCP + # endpoint. + class OAuthToken + include Google::Apis::Core::Hashable + + # OAuth scope to be used for generating OAuth access token. + # If not specified, "https://www.googleapis.com/auth/cloud-platform" + # will be used. + # Corresponds to the JSON property `scope` + # @return [String] + attr_accessor :scope + + # [Service account email](https://cloud.google.com/iam/docs/service-accounts) + # to be used for generating OAuth token. + # The service account must be within the same project as the job. The caller + # must have iam.serviceAccounts.actAs permission for the service 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) + @scope = args[:scope] if args.key?(:scope) + @service_account_email = args[:service_account_email] if args.key?(:service_account_email) + end + end + + # Contains information needed for generating an + # [OpenID Connect + # token](https://developers.google.com/identity/protocols/OpenIDConnect). This + # type of authorization should be used when sending requests to third party + # endpoints or Cloud Run. + class OidcToken + include Google::Apis::Core::Hashable + + # Audience to be used when generating OIDC token. If not specified, the URI + # specified in target will be used. + # Corresponds to the JSON property `audience` + # @return [String] + attr_accessor :audience + + # [Service account email](https://cloud.google.com/iam/docs/service-accounts) + # to be used for generating OIDC token. + # The service account must be within the same project as the job. The caller + # must have iam.serviceAccounts.actAs permission for the service 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) + @audience = args[:audience] if args.key?(:audience) + @service_account_email = args[:service_account_email] if args.key?(:service_account_email) + end + end + # Request message for PauseJob. class PauseJobRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/cloudscheduler_v1/representations.rb b/generated/google/apis/cloudscheduler_v1/representations.rb index 44231d964..9a2743d3d 100644 --- a/generated/google/apis/cloudscheduler_v1/representations.rb +++ b/generated/google/apis/cloudscheduler_v1/representations.rb @@ -70,6 +70,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class OAuthToken + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OidcToken + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PauseJobRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -146,6 +158,10 @@ module Google property :body, :base64 => true, as: 'body' hash :headers, as: 'headers' property :http_method, as: 'httpMethod' + property :oauth_token, as: 'oauthToken', class: Google::Apis::CloudschedulerV1::OAuthToken, decorator: Google::Apis::CloudschedulerV1::OAuthToken::Representation + + property :oidc_token, as: 'oidcToken', class: Google::Apis::CloudschedulerV1::OidcToken, decorator: Google::Apis::CloudschedulerV1::OidcToken::Representation + property :uri, as: 'uri' end end @@ -155,6 +171,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :app_engine_http_target, as: 'appEngineHttpTarget', class: Google::Apis::CloudschedulerV1::AppEngineHttpTarget, decorator: Google::Apis::CloudschedulerV1::AppEngineHttpTarget::Representation + property :attempt_deadline, as: 'attemptDeadline' property :description, as: 'description' property :http_target, as: 'httpTarget', class: Google::Apis::CloudschedulerV1::HttpTarget, decorator: Google::Apis::CloudschedulerV1::HttpTarget::Representation @@ -203,6 +220,22 @@ module Google end end + class OAuthToken + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :scope, as: 'scope' + property :service_account_email, as: 'serviceAccountEmail' + end + end + + class OidcToken + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audience, as: 'audience' + property :service_account_email, as: 'serviceAccountEmail' + end + end + class PauseJobRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/cloudscheduler_v1beta1.rb b/generated/google/apis/cloudscheduler_v1beta1.rb index 23994bebc..cb13e348e 100644 --- a/generated/google/apis/cloudscheduler_v1beta1.rb +++ b/generated/google/apis/cloudscheduler_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/scheduler/ module CloudschedulerV1beta1 VERSION = 'V1beta1' - REVISION = '20190326' + REVISION = '20190429' # 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/cloudscheduler_v1beta1/classes.rb b/generated/google/apis/cloudscheduler_v1beta1/classes.rb index 3a5cac0d0..f67b99f9d 100644 --- a/generated/google/apis/cloudscheduler_v1beta1/classes.rb +++ b/generated/google/apis/cloudscheduler_v1beta1/classes.rb @@ -297,7 +297,7 @@ module Google # [OpenID Connect # token](https://developers.google.com/identity/protocols/OpenIDConnect). This # type of authorization should be used when sending requests to third party - # endpoints. + # endpoints or Cloud Run. # Corresponds to the JSON property `oidcToken` # @return [Google::Apis::CloudschedulerV1beta1::OidcToken] attr_accessor :oidc_token @@ -674,7 +674,7 @@ module Google # [OpenID Connect # token](https://developers.google.com/identity/protocols/OpenIDConnect). This # type of authorization should be used when sending requests to third party - # endpoints. + # endpoints or Cloud Run. class OidcToken include Google::Apis::Core::Hashable diff --git a/generated/google/apis/container_v1.rb b/generated/google/apis/container_v1.rb index 75d98d825..aa577b4ff 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 = '20190411' + REVISION = '20190418' # 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 e70d6bb5e..01b7a9580 100644 --- a/generated/google/apis/container_v1/classes.rb +++ b/generated/google/apis/container_v1/classes.rb @@ -323,6 +323,7 @@ module Google # "node_pool" object, since this configuration (along with the # "node_config") will be used to create a "NodePool" object with an # auto-generated name. Do not use this and a node_pool at the same time. + # This field is deprecated, use node_pool.initial_node_count instead. # Corresponds to the JSON property `initialNodeCount` # @return [Fixnum] attr_accessor :initial_node_count @@ -1428,7 +1429,7 @@ module Google class MasterAuthorizedNetworksConfig include Google::Apis::Core::Hashable - # cidr_blocks define up to 10 external networks that could access + # cidr_blocks define up to 50 external networks that could access # Kubernetes master through HTTPS. # Corresponds to the JSON property `cidrBlocks` # @return [Array] @@ -1809,6 +1810,11 @@ module Google # @return [String] attr_accessor :name + # [Output only] The pod CIDR block size per node in this node pool. + # Corresponds to the JSON property `podIpv4CidrSize` + # @return [Fixnum] + attr_accessor :pod_ipv4_cidr_size + # [Output only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -1844,6 +1850,7 @@ module Google @management = args[:management] if args.key?(:management) @max_pods_constraint = args[:max_pods_constraint] if args.key?(:max_pods_constraint) @name = args[:name] if args.key?(:name) + @pod_ipv4_cidr_size = args[:pod_ipv4_cidr_size] if args.key?(:pod_ipv4_cidr_size) @self_link = args[:self_link] if args.key?(:self_link) @status = args[:status] if args.key?(:status) @status_message = args[:status_message] if args.key?(:status_message) diff --git a/generated/google/apis/container_v1/representations.rb b/generated/google/apis/container_v1/representations.rb index 4a44881d0..a5cd646b0 100644 --- a/generated/google/apis/container_v1/representations.rb +++ b/generated/google/apis/container_v1/representations.rb @@ -802,6 +802,7 @@ module Google property :max_pods_constraint, as: 'maxPodsConstraint', class: Google::Apis::ContainerV1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1::MaxPodsConstraint::Representation property :name, as: 'name' + property :pod_ipv4_cidr_size, as: 'podIpv4CidrSize' property :self_link, as: 'selfLink' property :status, as: 'status' property :status_message, as: 'statusMessage' diff --git a/generated/google/apis/container_v1beta1.rb b/generated/google/apis/container_v1beta1.rb index 303246f87..384309f28 100644 --- a/generated/google/apis/container_v1beta1.rb +++ b/generated/google/apis/container_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1beta1 VERSION = 'V1beta1' - REVISION = '20190411' + REVISION = '20190418' # 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_v1beta1/classes.rb b/generated/google/apis/container_v1beta1/classes.rb index 8974e6ed5..84c43363d 100644 --- a/generated/google/apis/container_v1beta1/classes.rb +++ b/generated/google/apis/container_v1beta1/classes.rb @@ -160,6 +160,34 @@ module Google end end + # AutoprovisioningNodePoolDefaults contains defaults for a node pool created + # by NAP. + class AutoprovisioningNodePoolDefaults + include Google::Apis::Core::Hashable + + # Scopes that are used by NAP when creating node pools. If oauth_scopes are + # specified, service_account should be empty. + # Corresponds to the JSON property `oauthScopes` + # @return [Array] + attr_accessor :oauth_scopes + + # The Google Cloud Platform Service Account to be used by the node VMs. If + # service_account is specified, scopes should be empty. + # Corresponds to the JSON property `serviceAccount` + # @return [String] + attr_accessor :service_account + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes) + @service_account = args[:service_account] if args.key?(:service_account) + end + end + # Parameters for using BigQuery as the destination of resource usage export. class BigQueryDestination include Google::Apis::Core::Hashable @@ -446,6 +474,7 @@ module Google # "node_pool" object, since this configuration (along with the # "node_config") will be used to create a "NodePool" object with an # auto-generated name. Do not use this and a node_pool at the same time. + # This field is deprecated, use node_pool.initial_node_count instead. # Corresponds to the JSON property `initialNodeCount` # @return [Fixnum] attr_accessor :initial_node_count @@ -734,6 +763,12 @@ module Google class ClusterAutoscaling include Google::Apis::Core::Hashable + # AutoprovisioningNodePoolDefaults contains defaults for a node pool created + # by NAP. + # Corresponds to the JSON property `autoprovisioningNodePoolDefaults` + # @return [Google::Apis::ContainerV1beta1::AutoprovisioningNodePoolDefaults] + attr_accessor :autoprovisioning_node_pool_defaults + # Enables automatic node pool creation and deletion. # Corresponds to the JSON property `enableNodeAutoprovisioning` # @return [Boolean] @@ -752,6 +787,7 @@ module Google # Update properties of this object def update!(**args) + @autoprovisioning_node_pool_defaults = args[:autoprovisioning_node_pool_defaults] if args.key?(:autoprovisioning_node_pool_defaults) @enable_node_autoprovisioning = args[:enable_node_autoprovisioning] if args.key?(:enable_node_autoprovisioning) @resource_limits = args[:resource_limits] if args.key?(:resource_limits) end @@ -2276,6 +2312,11 @@ module Google # @return [String] attr_accessor :name + # [Output only] The pod CIDR block size per node in this node pool. + # Corresponds to the JSON property `podIpv4CidrSize` + # @return [Fixnum] + attr_accessor :pod_ipv4_cidr_size + # [Output only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -2311,6 +2352,7 @@ module Google @management = args[:management] if args.key?(:management) @max_pods_constraint = args[:max_pods_constraint] if args.key?(:max_pods_constraint) @name = args[:name] if args.key?(:name) + @pod_ipv4_cidr_size = args[:pod_ipv4_cidr_size] if args.key?(:pod_ipv4_cidr_size) @self_link = args[:self_link] if args.key?(:self_link) @status = args[:status] if args.key?(:status) @status_message = args[:status_message] if args.key?(:status_message) diff --git a/generated/google/apis/container_v1beta1/representations.rb b/generated/google/apis/container_v1beta1/representations.rb index 4ae976d59..66b61678e 100644 --- a/generated/google/apis/container_v1beta1/representations.rb +++ b/generated/google/apis/container_v1beta1/representations.rb @@ -46,6 +46,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AutoprovisioningNodePoolDefaults + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BigQueryDestination class Representation < Google::Apis::Core::JsonRepresentation; end @@ -538,6 +544,14 @@ module Google end end + class AutoprovisioningNodePoolDefaults + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :oauth_scopes, as: 'oauthScopes' + property :service_account, as: 'serviceAccount' + end + end + class BigQueryDestination # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -664,6 +678,8 @@ module Google class ClusterAutoscaling # @private class Representation < Google::Apis::Core::JsonRepresentation + property :autoprovisioning_node_pool_defaults, as: 'autoprovisioningNodePoolDefaults', class: Google::Apis::ContainerV1beta1::AutoprovisioningNodePoolDefaults, decorator: Google::Apis::ContainerV1beta1::AutoprovisioningNodePoolDefaults::Representation + property :enable_node_autoprovisioning, as: 'enableNodeAutoprovisioning' collection :resource_limits, as: 'resourceLimits', class: Google::Apis::ContainerV1beta1::ResourceLimit, decorator: Google::Apis::ContainerV1beta1::ResourceLimit::Representation @@ -1040,6 +1056,7 @@ module Google property :max_pods_constraint, as: 'maxPodsConstraint', class: Google::Apis::ContainerV1beta1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1beta1::MaxPodsConstraint::Representation property :name, as: 'name' + property :pod_ipv4_cidr_size, as: 'podIpv4CidrSize' property :self_link, as: 'selfLink' property :status, as: 'status' property :status_message, as: 'statusMessage' diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index edabcba8c..a5e8e7510 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow-enterprise/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20190420' + REVISION = '20190429' # 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/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index 6f2b7a7d7..70cb92493 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -2434,7 +2434,7 @@ module Google end end - # Instructs the speech recognizer how to process the audio content. + # Instructs the speech recognizer on how to process the audio content. class GoogleCloudDialogflowV2beta1InputAudioConfig include Google::Apis::Core::Hashable @@ -3968,7 +3968,7 @@ module Google class GoogleCloudDialogflowV2beta1QueryInput include Google::Apis::Core::Hashable - # Instructs the speech recognizer how to process the audio content. + # Instructs the speech recognizer on how to process the audio content. # Corresponds to the JSON property `audioConfig` # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputAudioConfig] attr_accessor :audio_config diff --git a/generated/google/apis/healthcare_v1beta1.rb b/generated/google/apis/healthcare_v1beta1.rb index cb8b7ca41..a1ec416bd 100644 --- a/generated/google/apis/healthcare_v1beta1.rb +++ b/generated/google/apis/healthcare_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/healthcare module HealthcareV1beta1 VERSION = 'V1beta1' - REVISION = '20190420' + REVISION = '20190427' # 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/healthcare_v1beta1/service.rb b/generated/google/apis/healthcare_v1beta1/service.rb index 50977570a..091d64dc2 100644 --- a/generated/google/apis/healthcare_v1beta1/service.rb +++ b/generated/google/apis/healthcare_v1beta1/service.rb @@ -2254,7 +2254,7 @@ module Google # return a `412 Precondition Failed` error. # If the search criteria identify zero matches, and the supplied resource # body contains an `id`, and the FHIR store has - # [enable_update_create](FhirStore.enable_update_create) set, creates the + # enable_update_create set, creates the # resource with the client-specified ID. If the search criteria identify zero # matches, and the supplied resource body does not contain an `id`, the # resource will be created with a server-assigned ID as per the @@ -2677,7 +2677,7 @@ module Google # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#update). # If the specified resource does # not exist and the FHIR store has - # [enable_update_create](FhirStore.enable_update_create) set, creates the + # enable_update_create set, creates the # resource with the client-specified ID. # The request body must contain a JSON-encoded FHIR resource, and the request # headers must contain `Content-Type: application/fhir+json`. The resource diff --git a/generated/google/apis/storage_v1.rb b/generated/google/apis/storage_v1.rb index 856a94b92..5f6ac3c47 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 = '20190326' + REVISION = '20190416' # 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 c70ebf7be..64d1b21cb 100644 --- a/generated/google/apis/storage_v1/classes.rb +++ b/generated/google/apis/storage_v1/classes.rb @@ -106,6 +106,11 @@ module Google # @return [String] attr_accessor :location + # The type of the bucket location. + # Corresponds to the JSON property `locationType` + # @return [String] + attr_accessor :location_type + # The bucket's logging configuration, which defines the destination bucket and # optional name prefix for the current bucket's logs. # Corresponds to the JSON property `logging` @@ -201,6 +206,7 @@ module Google @labels = args[:labels] if args.key?(:labels) @lifecycle = args[:lifecycle] if args.key?(:lifecycle) @location = args[:location] if args.key?(:location) + @location_type = args[:location_type] if args.key?(:location_type) @logging = args[:logging] if args.key?(:logging) @metageneration = args[:metageneration] if args.key?(:metageneration) @name = args[:name] if args.key?(:name) @@ -1053,7 +1059,7 @@ module Google # @return [String] attr_accessor :access_id - # HTTP 1.1 Entity tag for the access-control entry. + # HTTP 1.1 Entity tag for the HMAC key. # Corresponds to the JSON property `etag` # @return [String] attr_accessor :etag @@ -1091,12 +1097,12 @@ module Google # The creation time of the HMAC key in RFC 3339 format. # Corresponds to the JSON property `timeCreated` - # @return [String] + # @return [DateTime] attr_accessor :time_created # The last modification time of the HMAC key metadata in RFC 3339 format. # Corresponds to the JSON property `updated` - # @return [String] + # @return [DateTime] attr_accessor :updated def initialize(**args) diff --git a/generated/google/apis/storage_v1/representations.rb b/generated/google/apis/storage_v1/representations.rb index 0c54d014f..3179a93e0 100644 --- a/generated/google/apis/storage_v1/representations.rb +++ b/generated/google/apis/storage_v1/representations.rb @@ -291,6 +291,7 @@ module Google property :lifecycle, as: 'lifecycle', class: Google::Apis::StorageV1::Bucket::Lifecycle, decorator: Google::Apis::StorageV1::Bucket::Lifecycle::Representation property :location, as: 'location' + property :location_type, as: 'locationType' property :logging, as: 'logging', class: Google::Apis::StorageV1::Bucket::Logging, decorator: Google::Apis::StorageV1::Bucket::Logging::Representation property :metageneration, :numeric_string => true, as: 'metageneration' @@ -554,8 +555,10 @@ module Google property :self_link, as: 'selfLink' property :service_account_email, as: 'serviceAccountEmail' property :state, as: 'state' - property :time_created, as: 'timeCreated' - property :updated, as: 'updated' + property :time_created, as: 'timeCreated', type: DateTime + + property :updated, as: 'updated', type: DateTime + end end diff --git a/generated/google/apis/storage_v1/service.rb b/generated/google/apis/storage_v1/service.rb index ce52b32a4..af50aa1b4 100644 --- a/generated/google/apis/storage_v1/service.rb +++ b/generated/google/apis/storage_v1/service.rb @@ -58,6 +58,9 @@ module Google # @param [String] entity # The entity holding the permission. Can be user-userId, user-emailAddress, # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -79,10 +82,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_bucket_access_control(bucket, entity, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_bucket_access_control(bucket, entity, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'b/{bucket}/acl/{entity}', options) command.params['bucket'] = bucket unless bucket.nil? command.params['entity'] = entity unless entity.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -96,6 +100,9 @@ module Google # @param [String] entity # The entity holding the permission. Can be user-userId, user-emailAddress, # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -117,12 +124,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_bucket_access_control(bucket, entity, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_bucket_access_control(bucket, entity, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'b/{bucket}/acl/{entity}', options) command.response_representation = Google::Apis::StorageV1::BucketAccessControl::Representation command.response_class = Google::Apis::StorageV1::BucketAccessControl command.params['bucket'] = bucket unless bucket.nil? command.params['entity'] = entity unless entity.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -134,6 +142,9 @@ module Google # @param [String] bucket # Name of a bucket. # @param [Google::Apis::StorageV1::BucketAccessControl] bucket_access_control_object + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -155,13 +166,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_bucket_access_control(bucket, bucket_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_bucket_access_control(bucket, bucket_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'b/{bucket}/acl', options) command.request_representation = Google::Apis::StorageV1::BucketAccessControl::Representation command.request_object = bucket_access_control_object command.response_representation = Google::Apis::StorageV1::BucketAccessControl::Representation command.response_class = Google::Apis::StorageV1::BucketAccessControl command.params['bucket'] = bucket unless bucket.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -172,6 +184,9 @@ module Google # Retrieves ACL entries on the specified bucket. # @param [String] bucket # Name of a bucket. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -193,11 +208,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_bucket_access_controls(bucket, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_bucket_access_controls(bucket, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'b/{bucket}/acl', options) command.response_representation = Google::Apis::StorageV1::BucketAccessControls::Representation command.response_class = Google::Apis::StorageV1::BucketAccessControls command.params['bucket'] = bucket unless bucket.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -212,6 +228,9 @@ module Google # The entity holding the permission. Can be user-userId, user-emailAddress, # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. # @param [Google::Apis::StorageV1::BucketAccessControl] bucket_access_control_object + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -233,7 +252,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_bucket_access_control(bucket, entity, bucket_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_bucket_access_control(bucket, entity, bucket_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'b/{bucket}/acl/{entity}', options) command.request_representation = Google::Apis::StorageV1::BucketAccessControl::Representation command.request_object = bucket_access_control_object @@ -241,6 +260,7 @@ module Google command.response_class = Google::Apis::StorageV1::BucketAccessControl command.params['bucket'] = bucket unless bucket.nil? command.params['entity'] = entity unless entity.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -255,6 +275,9 @@ module Google # The entity holding the permission. Can be user-userId, user-emailAddress, # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. # @param [Google::Apis::StorageV1::BucketAccessControl] bucket_access_control_object + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -276,7 +299,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_bucket_access_control(bucket, entity, bucket_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_bucket_access_control(bucket, entity, bucket_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'b/{bucket}/acl/{entity}', options) command.request_representation = Google::Apis::StorageV1::BucketAccessControl::Representation command.request_object = bucket_access_control_object @@ -284,6 +307,7 @@ module Google command.response_class = Google::Apis::StorageV1::BucketAccessControl command.params['bucket'] = bucket unless bucket.nil? command.params['entity'] = entity unless entity.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -299,6 +323,9 @@ module Google # @param [Fixnum] if_metageneration_not_match # If set, only deletes the bucket if its metageneration does not match this # value. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -320,11 +347,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 delete_bucket(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_bucket(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'b/{bucket}', options) command.params['bucket'] = bucket unless bucket.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['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -343,6 +371,9 @@ module Google # current metageneration does not match the given value. # @param [String] projection # Set of properties to return. Defaults to noAcl. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -364,7 +395,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_bucket(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_bucket(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'b/{bucket}', options) command.response_representation = Google::Apis::StorageV1::Bucket::Representation command.response_class = Google::Apis::StorageV1::Bucket @@ -372,6 +403,7 @@ module Google 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['projection'] = projection unless projection.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -382,6 +414,9 @@ module Google # Returns an IAM policy for the specified bucket. # @param [String] bucket # Name of a bucket. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -403,11 +438,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 get_bucket_iam_policy(bucket, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_bucket_iam_policy(bucket, provisional_user_project: nil, user_project: nil, 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['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -426,6 +462,9 @@ module Google # @param [String] projection # Set of properties to return. Defaults to noAcl, unless the bucket resource # specifies acl or defaultObjectAcl properties, when it defaults to full. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. # @param [String] fields @@ -447,7 +486,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_bucket(project, bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_bucket(project, bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'b', options) command.request_representation = Google::Apis::StorageV1::Bucket::Representation command.request_object = bucket_object @@ -457,6 +496,7 @@ module Google command.query['predefinedDefaultObjectAcl'] = predefined_default_object_acl unless predefined_default_object_acl.nil? command.query['project'] = project unless project.nil? command.query['projection'] = projection unless projection.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -477,6 +517,9 @@ module Google # Filter results to buckets whose names begin with this prefix. # @param [String] projection # Set of properties to return. Defaults to noAcl. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. # @param [String] fields @@ -498,7 +541,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_buckets(project, max_results: nil, page_token: nil, prefix: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_buckets(project, max_results: nil, page_token: nil, prefix: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'b', options) command.response_representation = Google::Apis::StorageV1::Buckets::Representation command.response_class = Google::Apis::StorageV1::Buckets @@ -507,6 +550,7 @@ module Google command.query['prefix'] = prefix unless prefix.nil? command.query['project'] = project unless project.nil? command.query['projection'] = projection unless projection.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -520,6 +564,9 @@ module Google # @param [Fixnum] if_metageneration_match # Makes the operation conditional on whether bucket's current metageneration # matches the given value. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -541,12 +588,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 lock_bucket_retention_policy(bucket, if_metageneration_match, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def lock_bucket_retention_policy(bucket, if_metageneration_match, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'b/{bucket}/lockRetentionPolicy', options) command.response_representation = Google::Apis::StorageV1::Bucket::Representation command.response_class = Google::Apis::StorageV1::Bucket command.params['bucket'] = bucket unless bucket.nil? command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -571,6 +619,9 @@ module Google # Apply a predefined set of default object access controls to this bucket. # @param [String] projection # Set of properties to return. Defaults to full. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -592,7 +643,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_bucket(bucket, bucket_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_bucket(bucket, bucket_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'b/{bucket}', options) command.request_representation = Google::Apis::StorageV1::Bucket::Representation command.request_object = bucket_object @@ -604,6 +655,7 @@ module Google command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil? command.query['predefinedDefaultObjectAcl'] = predefined_default_object_acl unless predefined_default_object_acl.nil? command.query['projection'] = projection unless projection.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -615,6 +667,9 @@ module Google # @param [String] bucket # Name of a bucket. # @param [Google::Apis::StorageV1::Policy] policy_object + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -636,13 +691,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 set_bucket_iam_policy(bucket, policy_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_bucket_iam_policy(bucket, policy_object = nil, provisional_user_project: nil, user_project: 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['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -656,6 +712,9 @@ module Google # Name of a bucket. # @param [Array, String] permissions # Permissions to test. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -677,12 +736,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 test_bucket_iam_permissions(bucket, permissions, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def test_bucket_iam_permissions(bucket, permissions, provisional_user_project: nil, user_project: nil, 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['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -707,6 +767,9 @@ module Google # Apply a predefined set of default object access controls to this bucket. # @param [String] projection # Set of properties to return. Defaults to full. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -728,7 +791,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_bucket(bucket, bucket_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_bucket(bucket, bucket_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'b/{bucket}', options) command.request_representation = Google::Apis::StorageV1::Bucket::Representation command.request_object = bucket_object @@ -740,6 +803,7 @@ module Google command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil? command.query['predefinedDefaultObjectAcl'] = predefined_default_object_acl unless predefined_default_object_acl.nil? command.query['projection'] = projection unless projection.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -785,6 +849,9 @@ module Google # @param [String] entity # The entity holding the permission. Can be user-userId, user-emailAddress, # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -806,10 +873,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_default_object_access_control(bucket, entity, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_default_object_access_control(bucket, entity, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'b/{bucket}/defaultObjectAcl/{entity}', options) command.params['bucket'] = bucket unless bucket.nil? command.params['entity'] = entity unless entity.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -824,6 +892,9 @@ module Google # @param [String] entity # The entity holding the permission. Can be user-userId, user-emailAddress, # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -845,12 +916,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_default_object_access_control(bucket, entity, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_default_object_access_control(bucket, entity, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'b/{bucket}/defaultObjectAcl/{entity}', options) command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation command.response_class = Google::Apis::StorageV1::ObjectAccessControl command.params['bucket'] = bucket unless bucket.nil? command.params['entity'] = entity unless entity.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -862,6 +934,9 @@ module Google # @param [String] bucket # Name of a bucket. # @param [Google::Apis::StorageV1::ObjectAccessControl] object_access_control_object + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -883,13 +958,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_default_object_access_control(bucket, object_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_default_object_access_control(bucket, object_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'b/{bucket}/defaultObjectAcl', options) command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation command.request_object = object_access_control_object command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation command.response_class = Google::Apis::StorageV1::ObjectAccessControl command.params['bucket'] = bucket unless bucket.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -906,6 +982,9 @@ module Google # @param [Fixnum] if_metageneration_not_match # If present, only return default ACL listing if the bucket's current # metageneration does not match the given value. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -927,13 +1006,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_default_object_access_controls(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_default_object_access_controls(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'b/{bucket}/defaultObjectAcl', options) command.response_representation = Google::Apis::StorageV1::ObjectAccessControls::Representation command.response_class = Google::Apis::StorageV1::ObjectAccessControls command.params['bucket'] = bucket unless bucket.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['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -948,6 +1028,9 @@ module Google # The entity holding the permission. Can be user-userId, user-emailAddress, # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. # @param [Google::Apis::StorageV1::ObjectAccessControl] object_access_control_object + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -969,7 +1052,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_default_object_access_control(bucket, entity, object_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_default_object_access_control(bucket, entity, object_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'b/{bucket}/defaultObjectAcl/{entity}', options) command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation command.request_object = object_access_control_object @@ -977,6 +1060,7 @@ module Google command.response_class = Google::Apis::StorageV1::ObjectAccessControl command.params['bucket'] = bucket unless bucket.nil? command.params['entity'] = entity unless entity.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -991,6 +1075,9 @@ module Google # The entity holding the permission. Can be user-userId, user-emailAddress, # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. # @param [Google::Apis::StorageV1::ObjectAccessControl] object_access_control_object + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -1012,7 +1099,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_default_object_access_control(bucket, entity, object_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_default_object_access_control(bucket, entity, object_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'b/{bucket}/defaultObjectAcl/{entity}', options) command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation command.request_object = object_access_control_object @@ -1020,6 +1107,7 @@ module Google command.response_class = Google::Apis::StorageV1::ObjectAccessControl command.params['bucket'] = bucket unless bucket.nil? command.params['entity'] = entity unless entity.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1032,6 +1120,9 @@ module Google # The parent bucket of the notification. # @param [String] notification # ID of the notification to delete. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -1053,10 +1144,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_notification(bucket, notification, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_notification(bucket, notification, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'b/{bucket}/notificationConfigs/{notification}', options) command.params['bucket'] = bucket unless bucket.nil? command.params['notification'] = notification unless notification.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1069,6 +1161,9 @@ module Google # The parent bucket of the notification. # @param [String] notification # Notification ID + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -1090,12 +1185,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_notification(bucket, notification, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_notification(bucket, notification, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'b/{bucket}/notificationConfigs/{notification}', options) command.response_representation = Google::Apis::StorageV1::Notification::Representation command.response_class = Google::Apis::StorageV1::Notification command.params['bucket'] = bucket unless bucket.nil? command.params['notification'] = notification unless notification.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1107,6 +1203,9 @@ module Google # @param [String] bucket # The parent bucket of the notification. # @param [Google::Apis::StorageV1::Notification] notification_object + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -1128,13 +1227,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_notification(bucket, notification_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_notification(bucket, notification_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'b/{bucket}/notificationConfigs', options) command.request_representation = Google::Apis::StorageV1::Notification::Representation command.request_object = notification_object command.response_representation = Google::Apis::StorageV1::Notification::Representation command.response_class = Google::Apis::StorageV1::Notification command.params['bucket'] = bucket unless bucket.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1145,6 +1245,9 @@ module Google # Retrieves a list of notification subscriptions for a given bucket. # @param [String] bucket # Name of a Google Cloud Storage bucket. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -1166,11 +1269,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_notifications(bucket, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_notifications(bucket, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'b/{bucket}/notificationConfigs', options) command.response_representation = Google::Apis::StorageV1::Notifications::Representation command.response_class = Google::Apis::StorageV1::Notifications command.params['bucket'] = bucket unless bucket.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1191,6 +1295,9 @@ module Google # @param [Fixnum] generation # If present, selects a specific revision of this object (as opposed to the # latest version, the default). + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -1212,12 +1319,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_object_access_control(bucket, object, entity, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_object_access_control(bucket, object, entity, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'b/{bucket}/o/{object}/acl/{entity}', options) command.params['bucket'] = bucket unless bucket.nil? command.params['object'] = object unless object.nil? command.params['entity'] = entity unless entity.nil? command.query['generation'] = generation unless generation.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1237,6 +1345,9 @@ module Google # @param [Fixnum] generation # If present, selects a specific revision of this object (as opposed to the # latest version, the default). + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -1258,7 +1369,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_object_access_control(bucket, object, entity, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_object_access_control(bucket, object, entity, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'b/{bucket}/o/{object}/acl/{entity}', options) command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation command.response_class = Google::Apis::StorageV1::ObjectAccessControl @@ -1266,6 +1377,7 @@ module Google command.params['object'] = object unless object.nil? command.params['entity'] = entity unless entity.nil? command.query['generation'] = generation unless generation.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1283,6 +1395,9 @@ module Google # @param [Fixnum] generation # If present, selects a specific revision of this object (as opposed to the # latest version, the default). + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -1304,7 +1419,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_access_control(bucket, object, object_access_control_object = nil, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_object_access_control(bucket, object, object_access_control_object = nil, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'b/{bucket}/o/{object}/acl', options) command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation command.request_object = object_access_control_object @@ -1313,6 +1428,7 @@ module Google command.params['bucket'] = bucket unless bucket.nil? command.params['object'] = object unless object.nil? command.query['generation'] = generation unless generation.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1329,6 +1445,9 @@ module Google # @param [Fixnum] generation # If present, selects a specific revision of this object (as opposed to the # latest version, the default). + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -1350,13 +1469,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_object_access_controls(bucket, object, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_object_access_controls(bucket, object, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'b/{bucket}/o/{object}/acl', options) command.response_representation = Google::Apis::StorageV1::ObjectAccessControls::Representation command.response_class = Google::Apis::StorageV1::ObjectAccessControls command.params['bucket'] = bucket unless bucket.nil? command.params['object'] = object unless object.nil? command.query['generation'] = generation unless generation.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1377,6 +1497,9 @@ module Google # @param [Fixnum] generation # If present, selects a specific revision of this object (as opposed to the # latest version, the default). + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -1398,7 +1521,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_object_access_control(bucket, object, entity, object_access_control_object = nil, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_object_access_control(bucket, object, entity, object_access_control_object = nil, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'b/{bucket}/o/{object}/acl/{entity}', options) command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation command.request_object = object_access_control_object @@ -1408,6 +1531,7 @@ module Google command.params['object'] = object unless object.nil? command.params['entity'] = entity unless entity.nil? command.query['generation'] = generation unless generation.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1428,6 +1552,9 @@ module Google # @param [Fixnum] generation # If present, selects a specific revision of this object (as opposed to the # latest version, the default). + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -1449,7 +1576,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_object_access_control(bucket, object, entity, object_access_control_object = nil, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_object_access_control(bucket, object, entity, object_access_control_object = nil, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'b/{bucket}/o/{object}/acl/{entity}', options) command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation command.request_object = object_access_control_object @@ -1459,6 +1586,7 @@ module Google command.params['object'] = object unless object.nil? command.params['entity'] = entity unless entity.nil? command.query['generation'] = generation unless generation.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1487,6 +1615,9 @@ module Google # 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] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -1508,7 +1639,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, user_project: nil, fields: nil, quota_user: nil, user_ip: 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, kms_key_name: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'b/{destinationBucket}/o/{destinationObject}/compose', options) command.request_representation = Google::Apis::StorageV1::ComposeRequest::Representation command.request_object = compose_request_object @@ -1520,6 +1651,7 @@ module Google 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['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1573,6 +1705,9 @@ module Google # @param [String] projection # Set of properties to return. Defaults to noAcl, unless the object resource # specifies the acl property, when it defaults to full. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [Fixnum] source_generation # If present, selects a specific revision of the source object (as opposed to # the latest version, the default). @@ -1597,7 +1732,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_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, projection: nil, source_generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def copy_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, projection: nil, provisional_user_project: nil, source_generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}', options) command.request_representation = Google::Apis::StorageV1::Object::Representation command.request_object = object_object @@ -1617,6 +1752,7 @@ module Google command.query['ifSourceMetagenerationMatch'] = if_source_metageneration_match unless if_source_metageneration_match.nil? command.query['ifSourceMetagenerationNotMatch'] = if_source_metageneration_not_match unless if_source_metageneration_not_match.nil? command.query['projection'] = projection unless projection.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['sourceGeneration'] = source_generation unless source_generation.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? @@ -1650,6 +1786,9 @@ module Google # @param [Fixnum] if_metageneration_not_match # Makes the operation conditional on whether the object's current metageneration # does not match the given value. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -1671,7 +1810,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 delete_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'b/{bucket}/o/{object}', options) command.params['bucket'] = bucket unless bucket.nil? command.params['object'] = object unless object.nil? @@ -1680,6 +1819,7 @@ 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['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1713,6 +1853,9 @@ module Google # does not match the given value. # @param [String] projection # Set of properties to return. Defaults to noAcl. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -1736,7 +1879,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_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) + def get_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) if download_dest.nil? command = make_simple_command(:get, 'b/{bucket}/o/{object}', options) else @@ -1753,6 +1896,7 @@ module Google 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['projection'] = projection unless projection.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1769,6 +1913,9 @@ module Google # @param [Fixnum] generation # If present, selects a specific revision of this object (as opposed to the # latest version, the default). + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -1790,13 +1937,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_object_iam_policy(bucket, object, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_object_iam_policy(bucket, object, generation: nil, provisional_user_project: nil, user_project: 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['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1843,6 +1991,9 @@ module Google # @param [String] projection # Set of properties to return. Defaults to noAcl, unless the object resource # specifies the acl property, when it defaults to full. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -1868,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 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, user_project: 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, kms_key_name: nil, name: nil, predefined_acl: nil, projection: nil, provisional_user_project: nil, user_project: 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 @@ -1890,6 +2041,7 @@ module Google command.query['name'] = name unless name.nil? command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil? command.query['projection'] = projection unless projection.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1921,6 +2073,9 @@ module Google # Filter results to objects whose names begin with this prefix. # @param [String] projection # Set of properties to return. Defaults to noAcl. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [Boolean] versions @@ -1945,7 +2100,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_objects(bucket, delimiter: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_objects(bucket, delimiter: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, provisional_user_project: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'b/{bucket}/o', options) command.response_representation = Google::Apis::StorageV1::Objects::Representation command.response_class = Google::Apis::StorageV1::Objects @@ -1956,6 +2111,7 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['prefix'] = prefix unless prefix.nil? command.query['projection'] = projection unless projection.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['versions'] = versions unless versions.nil? command.query['fields'] = fields unless fields.nil? @@ -1993,6 +2149,9 @@ module Google # Apply a predefined set of access controls to this object. # @param [String] projection # Set of properties to return. Defaults to full. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request, for Requester Pays buckets. # @param [String] fields @@ -2014,7 +2173,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_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'b/{bucket}/o/{object}', options) command.request_representation = Google::Apis::StorageV1::Object::Representation command.request_object = object_object @@ -2029,6 +2188,7 @@ module Google command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil? command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil? command.query['projection'] = projection unless projection.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -2095,6 +2255,9 @@ module Google # @param [String] projection # Set of properties to return. Defaults to noAcl, unless the object resource # specifies the acl property, when it defaults to full. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] rewrite_token # Include this field (from the previous rewrite response) on each rewrite # request after the first one, until the rewrite response 'done' flag is true. @@ -2125,7 +2288,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, user_project: 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_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, provisional_user_project: nil, rewrite_token: nil, source_generation: nil, user_project: 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 @@ -2147,6 +2310,7 @@ module Google command.query['ifSourceMetagenerationNotMatch'] = if_source_metageneration_not_match unless if_source_metageneration_not_match.nil? command.query['maxBytesRewrittenPerCall'] = max_bytes_rewritten_per_call unless max_bytes_rewritten_per_call.nil? command.query['projection'] = projection unless projection.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['rewriteToken'] = rewrite_token unless rewrite_token.nil? command.query['sourceGeneration'] = source_generation unless source_generation.nil? command.query['userProject'] = user_project unless user_project.nil? @@ -2166,6 +2330,9 @@ module Google # @param [Fixnum] generation # If present, selects a specific revision of this object (as opposed to the # latest version, the default). + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -2187,7 +2354,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 set_object_iam_policy(bucket, object, policy_object = nil, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def set_object_iam_policy(bucket, object, policy_object = nil, generation: nil, provisional_user_project: nil, user_project: 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 @@ -2196,6 +2363,7 @@ module Google command.params['bucket'] = bucket unless bucket.nil? command.params['object'] = object unless object.nil? command.query['generation'] = generation unless generation.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -2215,6 +2383,9 @@ module Google # @param [Fixnum] generation # If present, selects a specific revision of this object (as opposed to the # latest version, the default). + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -2236,7 +2407,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 test_object_iam_permissions(bucket, object, permissions, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def test_object_iam_permissions(bucket, object, permissions, generation: nil, provisional_user_project: nil, user_project: 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 @@ -2244,6 +2415,7 @@ module Google command.params['object'] = object unless object.nil? command.query['generation'] = generation unless generation.nil? command.query['permissions'] = permissions unless permissions.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -2280,6 +2452,9 @@ module Google # Apply a predefined set of access controls to this object. # @param [String] projection # Set of properties to return. Defaults to full. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [String] fields @@ -2301,7 +2476,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_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'b/{bucket}/o/{object}', options) command.request_representation = Google::Apis::StorageV1::Object::Representation command.request_object = object_object @@ -2316,6 +2491,7 @@ module Google command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil? command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil? command.query['projection'] = projection unless projection.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -2348,6 +2524,9 @@ module Google # Filter results to objects whose names begin with this prefix. # @param [String] projection # Set of properties to return. Defaults to noAcl. + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. Required for Requester Pays buckets. # @param [Boolean] versions @@ -2372,7 +2551,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_all_objects(bucket, channel_object = nil, delimiter: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def watch_all_objects(bucket, channel_object = nil, delimiter: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, provisional_user_project: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'b/{bucket}/o/watch', options) command.request_representation = Google::Apis::StorageV1::Channel::Representation command.request_object = channel_object @@ -2385,6 +2564,7 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['prefix'] = prefix unless prefix.nil? command.query['projection'] = projection unless projection.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['versions'] = versions unless versions.nil? command.query['fields'] = fields unless fields.nil? @@ -2398,6 +2578,8 @@ module Google # Project ID owning the service account. # @param [String] service_account_email # Email address of the service account. + # @param [String] user_project + # The project to be billed for this request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2417,12 +2599,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 create_project_hmac_key(project_id, service_account_email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def create_project_hmac_key(project_id, service_account_email, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'projects/{projectId}/hmacKeys', options) command.response_representation = Google::Apis::StorageV1::HmacKey::Representation command.response_class = Google::Apis::StorageV1::HmacKey command.params['projectId'] = project_id unless project_id.nil? command.query['serviceAccountEmail'] = service_account_email unless service_account_email.nil? + command.query['userProject'] = user_project unless user_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? @@ -2434,6 +2617,8 @@ module Google # Project ID owning the requested key # @param [String] access_id # Name of the HMAC key to be deleted. + # @param [String] user_project + # The project to be billed for this request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2453,10 +2638,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_project_hmac_key(project_id, access_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_project_hmac_key(project_id, access_id, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'projects/{projectId}/hmacKeys/{accessId}', options) command.params['projectId'] = project_id unless project_id.nil? command.params['accessId'] = access_id unless access_id.nil? + command.query['userProject'] = user_project unless user_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? @@ -2468,6 +2654,8 @@ module Google # Project ID owning the service account of the requested key. # @param [String] access_id # Name of the HMAC key. + # @param [String] user_project + # The project to be billed for this request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2487,12 +2675,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_project_hmac_key(project_id, access_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_project_hmac_key(project_id, access_id, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{projectId}/hmacKeys/{accessId}', options) command.response_representation = Google::Apis::StorageV1::HmacKeyMetadata::Representation command.response_class = Google::Apis::StorageV1::HmacKeyMetadata command.params['projectId'] = project_id unless project_id.nil? command.params['accessId'] = access_id unless access_id.nil? + command.query['userProject'] = user_project unless user_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? @@ -2503,10 +2692,11 @@ module Google # @param [String] project_id # Name of the project in which to look for HMAC keys. # @param [Fixnum] max_results - # Maximum number of items plus prefixes to return in a single page of responses. - # Because duplicate prefixes are omitted, fewer total results may be returned - # than requested. The service uses this parameter or 1,000 items, whichever is - # smaller. + # Maximum number of items to return in a single page of responses. The service + # uses this parameter or 250 items, whichever is smaller. The max number of + # items per page will also be limited by the number of distinct service accounts + # in the response. If the number of service accounts in a single response is too + # high, the page will truncated and a next page token will be returned. # @param [String] page_token # A previously-returned page token representing part of the larger set of # results to view. @@ -2514,6 +2704,8 @@ module Google # If present, only keys for the given service account are returned. # @param [Boolean] show_deleted_keys # Whether or not to show keys in the DELETED state. + # @param [String] user_project + # The project to be billed for this request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2533,7 +2725,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_project_hmac_keys(project_id, max_results: nil, page_token: nil, service_account_email: nil, show_deleted_keys: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_project_hmac_keys(project_id, max_results: nil, page_token: nil, service_account_email: nil, show_deleted_keys: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{projectId}/hmacKeys', options) command.response_representation = Google::Apis::StorageV1::HmacKeysMetadata::Representation command.response_class = Google::Apis::StorageV1::HmacKeysMetadata @@ -2542,6 +2734,7 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['serviceAccountEmail'] = service_account_email unless service_account_email.nil? command.query['showDeletedKeys'] = show_deleted_keys unless show_deleted_keys.nil? + command.query['userProject'] = user_project unless user_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? @@ -2555,6 +2748,8 @@ module Google # @param [String] access_id # Name of the HMAC key being updated. # @param [Google::Apis::StorageV1::HmacKeyMetadata] hmac_key_metadata_object + # @param [String] user_project + # The project to be billed for this request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2574,7 +2769,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_project_hmac_key(project_id, access_id, hmac_key_metadata_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_project_hmac_key(project_id, access_id, hmac_key_metadata_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'projects/{projectId}/hmacKeys/{accessId}', options) command.request_representation = Google::Apis::StorageV1::HmacKeyMetadata::Representation command.request_object = hmac_key_metadata_object @@ -2582,6 +2777,7 @@ module Google command.response_class = Google::Apis::StorageV1::HmacKeyMetadata command.params['projectId'] = project_id unless project_id.nil? command.params['accessId'] = access_id unless access_id.nil? + command.query['userProject'] = user_project unless user_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? @@ -2591,6 +2787,9 @@ module Google # Get the email address of this project's Google Cloud Storage service account. # @param [String] project_id # Project ID + # @param [String] provisional_user_project + # The project to be billed for this request if the target bucket is requester- + # pays bucket. # @param [String] user_project # The project to be billed for this request. # @param [String] fields @@ -2612,11 +2811,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 get_project_service_account(project_id, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_project_service_account(project_id, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{projectId}/serviceAccount', options) command.response_representation = Google::Apis::StorageV1::ServiceAccount::Representation command.response_class = Google::Apis::StorageV1::ServiceAccount command.params['projectId'] = project_id unless project_id.nil? + command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil? command.query['userProject'] = user_project unless user_project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? diff --git a/generated/google/apis/storagetransfer_v1.rb b/generated/google/apis/storagetransfer_v1.rb index 5446a21a9..9bcfaca41 100644 --- a/generated/google/apis/storagetransfer_v1.rb +++ b/generated/google/apis/storagetransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/storage-transfer/docs module StoragetransferV1 VERSION = 'V1' - REVISION = '20190417' + REVISION = '20190429' # 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/storagetransfer_v1/classes.rb b/generated/google/apis/storagetransfer_v1/classes.rb index b1e46a50d..95f204a38 100644 --- a/generated/google/apis/storagetransfer_v1/classes.rb +++ b/generated/google/apis/storagetransfer_v1/classes.rb @@ -832,12 +832,12 @@ module Google class TransferJob include Google::Apis::Core::Hashable - # This field cannot be changed by user requests. + # Output only. The time that the transfer job was created. # Corresponds to the JSON property `creationTime` # @return [String] attr_accessor :creation_time - # This field cannot be changed by user requests. + # Output only. The time that the transfer job was deleted. # Corresponds to the JSON property `deletionTime` # @return [String] attr_accessor :deletion_time @@ -848,7 +848,7 @@ module Google # @return [String] attr_accessor :description - # This field cannot be changed by user requests. + # Output only. The time that the transfer job was last modified. # Corresponds to the JSON property `lastModificationTime` # @return [String] attr_accessor :last_modification_time diff --git a/generated/google/apis/webmasters_v3.rb b/generated/google/apis/webmasters_v3.rb index 3bfc09a48..098eec7ed 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 = '20180627' + REVISION = '20190428' # View and manage Search Console data for your verified sites AUTH_WEBMASTERS = 'https://www.googleapis.com/auth/webmasters' diff --git a/generated/google/apis/webmasters_v3/classes.rb b/generated/google/apis/webmasters_v3/classes.rb index c7f98e810..cdc57cdc4 100644 --- a/generated/google/apis/webmasters_v3/classes.rb +++ b/generated/google/apis/webmasters_v3/classes.rb @@ -270,172 +270,6 @@ module Google end end - # An entry in a URL crawl errors time series. - class UrlCrawlErrorCount - include Google::Apis::Core::Hashable - - # The error count at the given timestamp. - # Corresponds to the JSON property `count` - # @return [Fixnum] - attr_accessor :count - - # The date and time when the crawl attempt took place, in RFC 3339 format. - # Corresponds to the JSON property `timestamp` - # @return [DateTime] - attr_accessor :timestamp - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @count = args[:count] if args.key?(:count) - @timestamp = args[:timestamp] if args.key?(:timestamp) - end - end - - # Number of errors per day for a specific error type (defined by platform and - # category). - class UrlCrawlErrorCountsPerType - include Google::Apis::Core::Hashable - - # The crawl error type. - # Corresponds to the JSON property `category` - # @return [String] - attr_accessor :category - - # The error count entries time series. - # Corresponds to the JSON property `entries` - # @return [Array] - attr_accessor :entries - - # The general type of Googlebot that made the request (see list of Googlebot - # user-agents for the user-agents used). - # Corresponds to the JSON property `platform` - # @return [String] - attr_accessor :platform - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @category = args[:category] if args.key?(:category) - @entries = args[:entries] if args.key?(:entries) - @platform = args[:platform] if args.key?(:platform) - end - end - - # A time series of the number of URL crawl errors per error category and - # platform. - class QueryUrlCrawlErrorsCountsResponse - include Google::Apis::Core::Hashable - - # The time series of the number of URL crawl errors per error category and - # platform. - # Corresponds to the JSON property `countPerTypes` - # @return [Array] - attr_accessor :count_per_types - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @count_per_types = args[:count_per_types] if args.key?(:count_per_types) - end - end - - # Contains information about specific crawl errors. - class UrlCrawlErrorsSample - include Google::Apis::Core::Hashable - - # The time the error was first detected, in RFC 3339 format. - # Corresponds to the JSON property `first_detected` - # @return [DateTime] - attr_accessor :first_detected - - # The time when the URL was last crawled, in RFC 3339 format. - # Corresponds to the JSON property `last_crawled` - # @return [DateTime] - attr_accessor :last_crawled - - # The URL of an error, relative to the site. - # Corresponds to the JSON property `pageUrl` - # @return [String] - attr_accessor :page_url - - # The HTTP response code, if any. - # Corresponds to the JSON property `responseCode` - # @return [Fixnum] - attr_accessor :response_code - - # Additional details about the URL, set only when calling get(). - # Corresponds to the JSON property `urlDetails` - # @return [Google::Apis::WebmastersV3::UrlSampleDetails] - attr_accessor :url_details - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @first_detected = args[:first_detected] if args.key?(:first_detected) - @last_crawled = args[:last_crawled] if args.key?(:last_crawled) - @page_url = args[:page_url] if args.key?(:page_url) - @response_code = args[:response_code] if args.key?(:response_code) - @url_details = args[:url_details] if args.key?(:url_details) - end - end - - # List of crawl error samples. - class ListUrlCrawlErrorsSamplesResponse - include Google::Apis::Core::Hashable - - # Information about the sample URL and its crawl error. - # Corresponds to the JSON property `urlCrawlErrorSample` - # @return [Array] - attr_accessor :url_crawl_error_sample - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url_crawl_error_sample = args[:url_crawl_error_sample] if args.key?(:url_crawl_error_sample) - end - end - - # Additional details about the URL, set only when calling get(). - class UrlSampleDetails - include Google::Apis::Core::Hashable - - # List of sitemaps pointing at this URL. - # Corresponds to the JSON property `containingSitemaps` - # @return [Array] - attr_accessor :containing_sitemaps - - # A sample set of URLs linking to this URL. - # Corresponds to the JSON property `linkedFromUrls` - # @return [Array] - attr_accessor :linked_from_urls - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @containing_sitemaps = args[:containing_sitemaps] if args.key?(:containing_sitemaps) - @linked_from_urls = args[:linked_from_urls] if args.key?(:linked_from_urls) - end - end - # Contains permission level information about a Search Console site. For more # information, see Permissions in Search Console. class WmxSite diff --git a/generated/google/apis/webmasters_v3/representations.rb b/generated/google/apis/webmasters_v3/representations.rb index 8740339c7..a030dd264 100644 --- a/generated/google/apis/webmasters_v3/representations.rb +++ b/generated/google/apis/webmasters_v3/representations.rb @@ -64,42 +64,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class UrlCrawlErrorCount - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UrlCrawlErrorCountsPerType - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class QueryUrlCrawlErrorsCountsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UrlCrawlErrorsSample - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListUrlCrawlErrorsSamplesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UrlSampleDetails - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class WmxSite class Representation < Google::Apis::Core::JsonRepresentation; end @@ -187,63 +151,6 @@ module Google end end - class UrlCrawlErrorCount - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :count, :numeric_string => true, as: 'count' - property :timestamp, as: 'timestamp', type: DateTime - - end - end - - class UrlCrawlErrorCountsPerType - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :category, as: 'category' - collection :entries, as: 'entries', class: Google::Apis::WebmastersV3::UrlCrawlErrorCount, decorator: Google::Apis::WebmastersV3::UrlCrawlErrorCount::Representation - - property :platform, as: 'platform' - end - end - - class QueryUrlCrawlErrorsCountsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :count_per_types, as: 'countPerTypes', class: Google::Apis::WebmastersV3::UrlCrawlErrorCountsPerType, decorator: Google::Apis::WebmastersV3::UrlCrawlErrorCountsPerType::Representation - - end - end - - class UrlCrawlErrorsSample - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :first_detected, as: 'first_detected', type: DateTime - - property :last_crawled, as: 'last_crawled', type: DateTime - - property :page_url, as: 'pageUrl' - property :response_code, as: 'responseCode' - property :url_details, as: 'urlDetails', class: Google::Apis::WebmastersV3::UrlSampleDetails, decorator: Google::Apis::WebmastersV3::UrlSampleDetails::Representation - - end - end - - class ListUrlCrawlErrorsSamplesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :url_crawl_error_sample, as: 'urlCrawlErrorSample', class: Google::Apis::WebmastersV3::UrlCrawlErrorsSample, decorator: Google::Apis::WebmastersV3::UrlCrawlErrorsSample::Representation - - end - end - - class UrlSampleDetails - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :containing_sitemaps, as: 'containingSitemaps' - collection :linked_from_urls, as: 'linkedFromUrls' - end - end - class WmxSite # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/webmasters_v3/service.rb b/generated/google/apis/webmasters_v3/service.rb index 4a2ee7a7b..e74868965 100644 --- a/generated/google/apis/webmasters_v3/service.rb +++ b/generated/google/apis/webmasters_v3/service.rb @@ -363,177 +363,6 @@ module Google command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end - - # Retrieves a time series of the number of URL crawl errors per error category - # and platform. - # @param [String] site_url - # The site's URL, including protocol. For example: http://www.example.com/ - # @param [String] category - # The crawl error category. For example: serverError. If not specified, returns - # results for all categories. - # @param [Boolean] latest_counts_only - # If true, returns only the latest crawl error counts. - # @param [String] platform - # The user agent type (platform) that made the request. For example: web. If not - # specified, returns results for all platforms. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::WebmastersV3::QueryUrlCrawlErrorsCountsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::WebmastersV3::QueryUrlCrawlErrorsCountsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_errors_count(site_url, category: nil, latest_counts_only: nil, platform: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'sites/{siteUrl}/urlCrawlErrorsCounts/query', options) - command.response_representation = Google::Apis::WebmastersV3::QueryUrlCrawlErrorsCountsResponse::Representation - command.response_class = Google::Apis::WebmastersV3::QueryUrlCrawlErrorsCountsResponse - command.params['siteUrl'] = site_url unless site_url.nil? - command.query['category'] = category unless category.nil? - command.query['latestCountsOnly'] = latest_counts_only unless latest_counts_only.nil? - command.query['platform'] = platform unless platform.nil? - command.query['fields'] = fields unless fields.nil? - command.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 details about crawl errors for a site's sample URL. - # @param [String] site_url - # The site's URL, including protocol. For example: http://www.example.com/ - # @param [String] url - # The relative path (without the site) of the sample URL. It must be one of the - # URLs returned by list(). For example, for the URL https://www.example.com/ - # pagename on the site https://www.example.com/, the url value is pagename - # @param [String] category - # The crawl error category. For example: authPermissions - # @param [String] platform - # The user agent type (platform) that made the request. For example: web - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::WebmastersV3::UrlCrawlErrorsSample] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::WebmastersV3::UrlCrawlErrorsSample] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_errors_sample(site_url, url, category, platform, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}', options) - command.response_representation = Google::Apis::WebmastersV3::UrlCrawlErrorsSample::Representation - command.response_class = Google::Apis::WebmastersV3::UrlCrawlErrorsSample - command.params['siteUrl'] = site_url unless site_url.nil? - command.params['url'] = url unless url.nil? - command.query['category'] = category unless category.nil? - command.query['platform'] = platform unless platform.nil? - command.query['fields'] = fields unless fields.nil? - command.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 site's sample URLs for the specified crawl error category and platform. - # @param [String] site_url - # The site's URL, including protocol. For example: http://www.example.com/ - # @param [String] category - # The crawl error category. For example: authPermissions - # @param [String] platform - # The user agent type (platform) that made the request. For example: web - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::WebmastersV3::ListUrlCrawlErrorsSamplesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::WebmastersV3::ListUrlCrawlErrorsSamplesResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_errors_samples(site_url, category, platform, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'sites/{siteUrl}/urlCrawlErrorsSamples', options) - command.response_representation = Google::Apis::WebmastersV3::ListUrlCrawlErrorsSamplesResponse::Representation - command.response_class = Google::Apis::WebmastersV3::ListUrlCrawlErrorsSamplesResponse - command.params['siteUrl'] = site_url unless site_url.nil? - command.query['category'] = category unless category.nil? - command.query['platform'] = platform unless platform.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Marks the provided site's sample URL as fixed, and removes it from the samples - # list. - # @param [String] site_url - # The site's URL, including protocol. For example: http://www.example.com/ - # @param [String] url - # The relative path (without the site) of the sample URL. It must be one of the - # URLs returned by list(). For example, for the URL https://www.example.com/ - # pagename on the site https://www.example.com/, the url value is pagename - # @param [String] category - # The crawl error category. For example: authPermissions - # @param [String] platform - # The user agent type (platform) that made the request. For example: web - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. - # @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 mark_as_fixed(site_url, url, category, platform, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}', options) - command.params['siteUrl'] = site_url unless site_url.nil? - command.params['url'] = url unless url.nil? - command.query['category'] = category unless category.nil? - command.query['platform'] = platform unless platform.nil? - command.query['fields'] = fields unless fields.nil? - command.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