From 32749a8657477b82aaf8f8d6d2fcc157e7b45bd9 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Fri, 24 Jul 2020 00:38:50 +0000 Subject: [PATCH] Autogenerated update (2020-07-24) Update: - chat_v1 - cloudscheduler_v1beta1 - cloudshell_v1 - content_v2 - content_v2_1 - datacatalog_v1beta1 - displayvideo_v1 - doubleclicksearch_v2 - firebaseml_v1beta2 - games_configuration_v1configuration - games_management_v1management - games_v1 - monitoring_v1 - monitoring_v3 - prod_tt_sasportal_v1alpha1 - redis_v1 - serviceconsumermanagement_v1 - sql_v1beta4 - youtube_partner_v1 - youtube_v3 --- api_names_out.yaml | 65 ++ generated/google/apis/chat_v1.rb | 2 +- generated/google/apis/chat_v1/classes.rb | 19 + .../google/apis/chat_v1/representations.rb | 13 + generated/google/apis/chat_v1/service.rb | 39 + .../google/apis/cloudscheduler_v1beta1.rb | 2 +- .../apis/cloudscheduler_v1beta1/classes.rb | 11 + .../cloudscheduler_v1beta1/representations.rb | 1 + generated/google/apis/cloudshell_v1.rb | 2 +- .../google/apis/cloudshell_v1/classes.rb | 4 +- generated/google/apis/content_v2.rb | 2 +- generated/google/apis/content_v2/classes.rb | 6 + .../google/apis/content_v2/representations.rb | 1 + generated/google/apis/content_v2_1.rb | 2 +- generated/google/apis/content_v2_1/classes.rb | 6 + .../apis/content_v2_1/representations.rb | 1 + generated/google/apis/datacatalog_v1beta1.rb | 2 +- .../apis/datacatalog_v1beta1/classes.rb | 949 +++++++----------- .../apis/datacatalog_v1beta1/service.rb | 759 ++++++-------- generated/google/apis/displayvideo_v1.rb | 2 +- generated/google/apis/doubleclicksearch_v2.rb | 2 +- .../apis/doubleclicksearch_v2/classes.rb | 235 ++--- .../apis/doubleclicksearch_v2/service.rb | 7 +- generated/google/apis/firebaseml_v1beta2.rb | 2 +- .../google/apis/firebaseml_v1beta2/classes.rb | 9 + .../firebaseml_v1beta2/representations.rb | 1 + .../games_configuration_v1configuration.rb | 2 +- .../service.rb | 4 +- .../apis/games_management_v1management.rb | 2 +- .../games_management_v1management/service.rb | 4 +- generated/google/apis/games_v1.rb | 2 +- generated/google/apis/games_v1/classes.rb | 2 +- generated/google/apis/games_v1/service.rb | 4 +- generated/google/apis/monitoring_v1.rb | 2 +- .../google/apis/monitoring_v1/classes.rb | 3 +- generated/google/apis/monitoring_v3.rb | 2 +- .../google/apis/monitoring_v3/classes.rb | 9 +- .../google/apis/monitoring_v3/service.rb | 9 +- .../google/apis/prod_tt_sasportal_v1alpha1.rb | 2 +- .../prod_tt_sasportal_v1alpha1/classes.rb | 73 -- .../representations.rb | 32 - .../prod_tt_sasportal_v1alpha1/service.rb | 477 --------- generated/google/apis/redis_v1.rb | 2 +- generated/google/apis/redis_v1/classes.rb | 397 ++++++++ .../google/apis/redis_v1/representations.rb | 139 +++ .../apis/serviceconsumermanagement_v1.rb | 2 +- .../serviceconsumermanagement_v1/service.rb | 2 +- generated/google/apis/sql_v1beta4.rb | 2 +- generated/google/apis/sql_v1beta4/classes.rb | 407 ++++---- .../apis/sql_v1beta4/representations.rb | 3 +- generated/google/apis/sql_v1beta4/service.rb | 4 +- generated/google/apis/youtube_partner_v1.rb | 2 +- generated/google/apis/youtube_v3.rb | 2 +- generated/google/apis/youtube_v3/classes.rb | 6 + .../google/apis/youtube_v3/representations.rb | 1 + 55 files changed, 1779 insertions(+), 1963 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index dbe6e6561..3c10192f9 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -17606,6 +17606,8 @@ "/chat:v1/ListSpacesResponse/nextPageToken": next_page_token "/chat:v1/ListSpacesResponse/spaces": spaces "/chat:v1/ListSpacesResponse/spaces/space": space +"/chat:v1/Media": media +"/chat:v1/Media/resourceName": resource_name "/chat:v1/Membership": membership "/chat:v1/Membership/createTime": create_time "/chat:v1/Membership/member": member @@ -17670,6 +17672,8 @@ "/chat:v1/chat.dms.messages.create": create_dm_message "/chat:v1/chat.dms.messages.create/parent": parent "/chat:v1/chat.dms.messages.create/threadKey": thread_key +"/chat:v1/chat.media.download": download_medium +"/chat:v1/chat.media.download/resourceName": resource_name "/chat:v1/chat.rooms.conversations.messages.create": create_room_conversation_message "/chat:v1/chat.rooms.conversations.messages.create/parent": parent "/chat:v1/chat.rooms.conversations.messages.create/threadKey": thread_key @@ -23049,6 +23053,7 @@ "/cloudscheduler:v1beta1/PubsubMessage/attributes/attribute": attribute "/cloudscheduler:v1beta1/PubsubMessage/data": data "/cloudscheduler:v1beta1/PubsubMessage/messageId": message_id +"/cloudscheduler:v1beta1/PubsubMessage/orderingKey": ordering_key "/cloudscheduler:v1beta1/PubsubMessage/publishTime": publish_time "/cloudscheduler:v1beta1/PubsubTarget": pubsub_target "/cloudscheduler:v1beta1/PubsubTarget/attributes": attributes @@ -52092,6 +52097,8 @@ "/content:v2.1/AccountsCustomBatchRequestEntry/accountId": account_id "/content:v2.1/AccountsCustomBatchRequestEntry/batchId": batch_id "/content:v2.1/AccountsCustomBatchRequestEntry/force": force +"/content:v2.1/AccountsCustomBatchRequestEntry/labelIds": label_ids +"/content:v2.1/AccountsCustomBatchRequestEntry/labelIds/label_id": label_id "/content:v2.1/AccountsCustomBatchRequestEntry/linkRequest": link_request "/content:v2.1/AccountsCustomBatchRequestEntry/merchantId": merchant_id "/content:v2.1/AccountsCustomBatchRequestEntry/method": method_prop @@ -54193,6 +54200,8 @@ "/content:v2/AccountsCustomBatchRequestEntry/accountId": account_id "/content:v2/AccountsCustomBatchRequestEntry/batchId": batch_id "/content:v2/AccountsCustomBatchRequestEntry/force": force +"/content:v2/AccountsCustomBatchRequestEntry/labelIds": label_ids +"/content:v2/AccountsCustomBatchRequestEntry/labelIds/label_id": label_id "/content:v2/AccountsCustomBatchRequestEntry/linkRequest": link_request "/content:v2/AccountsCustomBatchRequestEntry/merchantId": merchant_id "/content:v2/AccountsCustomBatchRequestEntry/method": request_method @@ -93295,6 +93304,7 @@ "/firebaseml:v1beta2/Status/message": message "/firebaseml:v1beta2/TfLiteModel": tf_lite_model "/firebaseml:v1beta2/TfLiteModel/gcsTfliteUri": gcs_tflite_uri +"/firebaseml:v1beta2/TfLiteModel/managedUpload": managed_upload "/firebaseml:v1beta2/TfLiteModel/sizeBytes": size_bytes "/firebaseml:v1beta2/fields": fields "/firebaseml:v1beta2/firebaseml.projects.models.create": create_project_model @@ -114476,6 +114486,58 @@ "/redis:v1/GoogleCloudRedisV1OperationMetadata/target": target "/redis:v1/GoogleCloudRedisV1OperationMetadata/verb": verb "/redis:v1/GoogleCloudRedisV1ZoneMetadata": google_cloud_redis_v1_zone_metadata +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance": google_cloud_saasaccelerator_management_providers_v1_instance +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/consumerDefinedName": consumer_defined_name +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/createTime": create_time +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/labels": labels +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/labels/label": label +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenancePolicyNames": maintenance_policy_names +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenancePolicyNames/maintenance_policy_name": maintenance_policy_name +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSchedules": maintenance_schedules +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSchedules/maintenance_schedule": maintenance_schedule +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/maintenanceSettings": maintenance_settings +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/name": name +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/producerMetadata": producer_metadata +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/producerMetadata/producer_metadatum": producer_metadatum +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/provisionedResources": provisioned_resources +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/provisionedResources/provisioned_resource": provisioned_resource +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/slmInstanceTemplate": slm_instance_template +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/sloMetadata": slo_metadata +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/softwareVersions": software_versions +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/softwareVersions/software_version": software_version +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/state": state +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/tenantProjectId": tenant_project_id +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1Instance/updateTime": update_time +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule": google_cloud_saasaccelerator_management_providers_v1_maintenance_schedule +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/canReschedule": can_reschedule +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/endTime": end_time +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/rolloutManagementPolicy": rollout_management_policy +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule/startTime": start_time +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings": google_cloud_saasaccelerator_management_providers_v1_maintenance_settings +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings/exclude": exclude +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata": google_cloud_saasaccelerator_management_providers_v1_node_slo_metadata +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/exclusions": exclusions +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/exclusions/exclusion": exclusion +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/location": location +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata/nodeId": node_id +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource": google_cloud_saasaccelerator_management_providers_v1_provisioned_resource +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource/resourceType": resource_type +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource/resourceUrl": resource_url +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility": google_cloud_saasaccelerator_management_providers_v1_slo_eligibility +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility/eligible": eligible +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility/reason": reason +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion": google_cloud_saasaccelerator_management_providers_v1_slo_exclusion +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/duration": duration +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/reason": reason +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/sliName": sli_name +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion/startTime": start_time +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata": google_cloud_saasaccelerator_management_providers_v1_slo_metadata +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/eligibility": eligibility +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/exclusions": exclusions +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/exclusions/exclusion": exclusion +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/nodes": nodes +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/nodes/node": node +"/redis:v1/GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata/tier": tier "/redis:v1/ImportInstanceRequest": import_instance_request "/redis:v1/ImportInstanceRequest/inputConfig": input_config "/redis:v1/InputConfig": input_config @@ -129028,6 +129090,7 @@ "/sql:v1beta4/BackupConfiguration/replicationLogArchivingEnabled": replication_log_archiving_enabled "/sql:v1beta4/BackupConfiguration/startTime": start_time "/sql:v1beta4/BackupRun": backup_run +"/sql:v1beta4/BackupRun/backupKind": backup_kind "/sql:v1beta4/BackupRun/description": description "/sql:v1beta4/BackupRun/diskEncryptionConfiguration": disk_encryption_configuration "/sql:v1beta4/BackupRun/diskEncryptionStatus": disk_encryption_status @@ -129300,6 +129363,7 @@ "/sql:v1beta4/Settings/authorizedGaeApplications/authorized_gae_application": authorized_gae_application "/sql:v1beta4/Settings/availabilityType": availability_type "/sql:v1beta4/Settings/backupConfiguration": backup_configuration +"/sql:v1beta4/Settings/collation": collation "/sql:v1beta4/Settings/crashSafeReplicationEnabled": crash_safe_replication_enabled "/sql:v1beta4/Settings/dataDiskSizeGb": data_disk_size_gb "/sql:v1beta4/Settings/dataDiskType": data_disk_type @@ -148106,6 +148170,7 @@ "/youtube:v3/SuperStickerMetadata/altTextLanguage": alt_text_language "/youtube:v3/SuperStickerMetadata/stickerId": sticker_id "/youtube:v3/TestItem": test_item +"/youtube:v3/TestItem/gaia": gaia "/youtube:v3/TestItem/id": id "/youtube:v3/TestItem/snippet": snippet "/youtube:v3/TestItemTestItemSnippet": test_item_test_item_snippet diff --git a/generated/google/apis/chat_v1.rb b/generated/google/apis/chat_v1.rb index ed56ae8c5..27a03f212 100644 --- a/generated/google/apis/chat_v1.rb +++ b/generated/google/apis/chat_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/hangouts/chat module ChatV1 VERSION = 'V1' - REVISION = '20200708' + REVISION = '20200722' end end end diff --git a/generated/google/apis/chat_v1/classes.rb b/generated/google/apis/chat_v1/classes.rb index 133f15fdf..b6d80a81a 100644 --- a/generated/google/apis/chat_v1/classes.rb +++ b/generated/google/apis/chat_v1/classes.rb @@ -683,6 +683,25 @@ module Google end end + # Media resource. + class Media + include Google::Apis::Core::Hashable + + # Name of the media resource. + # Corresponds to the JSON property `resourceName` + # @return [String] + attr_accessor :resource_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource_name = args[:resource_name] if args.key?(:resource_name) + end + end + # Represents a membership relation in Hangouts Chat. class Membership include Google::Apis::Core::Hashable diff --git a/generated/google/apis/chat_v1/representations.rb b/generated/google/apis/chat_v1/representations.rb index 8f6eb04a1..e383f0b10 100644 --- a/generated/google/apis/chat_v1/representations.rb +++ b/generated/google/apis/chat_v1/representations.rb @@ -130,6 +130,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Media + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Membership class Representation < Google::Apis::Core::JsonRepresentation; end @@ -390,6 +396,13 @@ module Google end end + class Media + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource_name, as: 'resourceName' + end + end + class Membership # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/chat_v1/service.rb b/generated/google/apis/chat_v1/service.rb index 355fe0e06..bf91e3f05 100644 --- a/generated/google/apis/chat_v1/service.rb +++ b/generated/google/apis/chat_v1/service.rb @@ -47,6 +47,45 @@ module Google @batch_path = 'batch' end + # Downloads media. Download is supported + # on the URI `/v1/media/`+name`?alt=media`. + # @param [String] resource_name + # Name of the media that is being downloaded. See + # ReadRequest.resource_name. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [IO, String] download_dest + # IO stream or filename to receive content download + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ChatV1::Media] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ChatV1::Media] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def download_medium(resource_name, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block) + if download_dest.nil? + command = make_simple_command(:get, 'v1/media/{+resourceName}', options) + else + command = make_download_command(:get, 'v1/media/{+resourceName}', options) + command.download_dest = download_dest + end + command.response_representation = Google::Apis::ChatV1::Media::Representation + command.response_class = Google::Apis::ChatV1::Media + command.params['resourceName'] = resource_name unless resource_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Returns a space. # @param [String] name # Required. Resource name of the space, in the form "spaces/*". diff --git a/generated/google/apis/cloudscheduler_v1beta1.rb b/generated/google/apis/cloudscheduler_v1beta1.rb index e77a4066b..11364de56 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 = '20200703' + REVISION = '20200716' # 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 69cb908ef..c66eb2fba 100644 --- a/generated/google/apis/cloudscheduler_v1beta1/classes.rb +++ b/generated/google/apis/cloudscheduler_v1beta1/classes.rb @@ -717,6 +717,16 @@ module Google # @return [String] attr_accessor :message_id + # If non-empty, identifies related messages for which publish order should be + # respected. If a `Subscription` has `enable_message_ordering` set to `true`, + # messages published with the same non-empty `ordering_key` value will be + # delivered to subscribers in the order in which they are received by the + # Pub/Sub system. All `PubsubMessage`s published in a given `PublishRequest` + # must specify the same `ordering_key` value. + # Corresponds to the JSON property `orderingKey` + # @return [String] + attr_accessor :ordering_key + # The time at which the message was published, populated by the server when # it receives the `Publish` call. It must not be populated by the # publisher in a `Publish` call. @@ -733,6 +743,7 @@ module Google @attributes = args[:attributes] if args.key?(:attributes) @data = args[:data] if args.key?(:data) @message_id = args[:message_id] if args.key?(:message_id) + @ordering_key = args[:ordering_key] if args.key?(:ordering_key) @publish_time = args[:publish_time] if args.key?(:publish_time) end end diff --git a/generated/google/apis/cloudscheduler_v1beta1/representations.rb b/generated/google/apis/cloudscheduler_v1beta1/representations.rb index e1be4498f..504139cef 100644 --- a/generated/google/apis/cloudscheduler_v1beta1/representations.rb +++ b/generated/google/apis/cloudscheduler_v1beta1/representations.rb @@ -248,6 +248,7 @@ module Google hash :attributes, as: 'attributes' property :data, :base64 => true, as: 'data' property :message_id, as: 'messageId' + property :ordering_key, as: 'orderingKey' property :publish_time, as: 'publishTime' end end diff --git a/generated/google/apis/cloudshell_v1.rb b/generated/google/apis/cloudshell_v1.rb index f2357bc54..e5b86027d 100644 --- a/generated/google/apis/cloudshell_v1.rb +++ b/generated/google/apis/cloudshell_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/shell/docs/ module CloudshellV1 VERSION = 'V1' - REVISION = '20200512' + REVISION = '20200721' # 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/cloudshell_v1/classes.rb b/generated/google/apis/cloudshell_v1/classes.rb index 4252b7aa7..ccff04e40 100644 --- a/generated/google/apis/cloudshell_v1/classes.rb +++ b/generated/google/apis/cloudshell_v1/classes.rb @@ -307,8 +307,8 @@ module Google end # Message included in the response field of operations returned from - # StartEnvironment once the - # operation is complete. + # StartEnvironment + # once the operation is complete. class StartEnvironmentResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/content_v2.rb b/generated/google/apis/content_v2.rb index 437f3919c..274eccdb0 100644 --- a/generated/google/apis/content_v2.rb +++ b/generated/google/apis/content_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2 VERSION = 'V2' - REVISION = '20200702' + REVISION = '20200716' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2/classes.rb b/generated/google/apis/content_v2/classes.rb index 0fc645ea1..717a96884 100644 --- a/generated/google/apis/content_v2/classes.rb +++ b/generated/google/apis/content_v2/classes.rb @@ -958,6 +958,11 @@ module Google attr_accessor :force alias_method :force?, :force + # Label IDs for the 'updatelabels' request. + # Corresponds to the JSON property `labelIds` + # @return [Array] + attr_accessor :label_ids + # Details about the `link` request. # Corresponds to the JSON property `linkRequest` # @return [Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest] @@ -997,6 +1002,7 @@ module Google @account_id = args[:account_id] if args.key?(:account_id) @batch_id = args[:batch_id] if args.key?(:batch_id) @force = args[:force] if args.key?(:force) + @label_ids = args[:label_ids] if args.key?(:label_ids) @link_request = args[:link_request] if args.key?(:link_request) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) @request_method = args[:request_method] if args.key?(:request_method) diff --git a/generated/google/apis/content_v2/representations.rb b/generated/google/apis/content_v2/representations.rb index c4b2bb742..4b1ae509e 100644 --- a/generated/google/apis/content_v2/representations.rb +++ b/generated/google/apis/content_v2/representations.rb @@ -1886,6 +1886,7 @@ module Google property :account_id, :numeric_string => true, as: 'accountId' property :batch_id, as: 'batchId' property :force, as: 'force' + collection :label_ids, as: 'labelIds' property :link_request, as: 'linkRequest', class: Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest, decorator: Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest::Representation property :merchant_id, :numeric_string => true, as: 'merchantId' diff --git a/generated/google/apis/content_v2_1.rb b/generated/google/apis/content_v2_1.rb index 8427e40df..f4b7cbe14 100644 --- a/generated/google/apis/content_v2_1.rb +++ b/generated/google/apis/content_v2_1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2_1 VERSION = 'V2_1' - REVISION = '20200702' + REVISION = '20200716' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2_1/classes.rb b/generated/google/apis/content_v2_1/classes.rb index ce110f300..34274f302 100644 --- a/generated/google/apis/content_v2_1/classes.rb +++ b/generated/google/apis/content_v2_1/classes.rb @@ -828,6 +828,11 @@ module Google attr_accessor :force alias_method :force?, :force + # Label IDs for the 'updatelabels' request. + # Corresponds to the JSON property `labelIds` + # @return [Array] + attr_accessor :label_ids + # Details about the `link` request. # Corresponds to the JSON property `linkRequest` # @return [Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntryLinkRequest] @@ -867,6 +872,7 @@ module Google @account_id = args[:account_id] if args.key?(:account_id) @batch_id = args[:batch_id] if args.key?(:batch_id) @force = args[:force] if args.key?(:force) + @label_ids = args[:label_ids] if args.key?(:label_ids) @link_request = args[:link_request] if args.key?(:link_request) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) @method_prop = args[:method_prop] if args.key?(:method_prop) diff --git a/generated/google/apis/content_v2_1/representations.rb b/generated/google/apis/content_v2_1/representations.rb index cedc7bf50..cb816853d 100644 --- a/generated/google/apis/content_v2_1/representations.rb +++ b/generated/google/apis/content_v2_1/representations.rb @@ -2005,6 +2005,7 @@ module Google property :account_id, :numeric_string => true, as: 'accountId' property :batch_id, as: 'batchId' property :force, as: 'force' + collection :label_ids, as: 'labelIds' property :link_request, as: 'linkRequest', class: Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntryLinkRequest, decorator: Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntryLinkRequest::Representation property :merchant_id, :numeric_string => true, as: 'merchantId' diff --git a/generated/google/apis/datacatalog_v1beta1.rb b/generated/google/apis/datacatalog_v1beta1.rb index bb6bba46f..11539e2ca 100644 --- a/generated/google/apis/datacatalog_v1beta1.rb +++ b/generated/google/apis/datacatalog_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/data-catalog/docs/ module DatacatalogV1beta1 VERSION = 'V1beta1' - REVISION = '20200714' + REVISION = '20200719' # 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/datacatalog_v1beta1/classes.rb b/generated/google/apis/datacatalog_v1beta1/classes.rb index 6f13884b5..e72ac8e55 100644 --- a/generated/google/apis/datacatalog_v1beta1/classes.rb +++ b/generated/google/apis/datacatalog_v1beta1/classes.rb @@ -26,69 +26,57 @@ module Google class Binding include Google::Apis::Core::Hashable - # Represents a textual expression in the Common Expression Language (CEL) - # syntax. CEL is a C-like expression language. The syntax and semantics of CEL - # are documented at https://github.com/google/cel-spec. - # Example (Comparison): - # title: "Summary size limit" - # description: "Determines if a summary is less than 100 chars" - # expression: "document.summary.size() < 100" - # Example (Equality): - # title: "Requestor is owner" - # description: "Determines if requestor is the document owner" - # expression: "document.owner == request.auth.claims.email" - # Example (Logic): - # title: "Public documents" - # description: "Determine whether the document should be publicly visible" - # expression: "document.type != 'private' && document.type != 'internal'" - # Example (Data Manipulation): - # title: "Notification string" - # description: "Create a notification string with a timestamp." - # expression: "'New message received at ' + string(document.create_time)" - # The exact variables and functions that may be referenced within an expression - # are determined by the service that evaluates it. See the service - # documentation for additional information. + # Represents a textual expression in the Common Expression Language (CEL) syntax. + # CEL is a C-like expression language. The syntax and semantics of CEL are + # documented at https://github.com/google/cel-spec. Example (Comparison): title: + # "Summary size limit" description: "Determines if a summary is less than 100 + # chars" expression: "document.summary.size() < 100" Example (Equality): title: " + # Requestor is owner" description: "Determines if requestor is the document + # owner" expression: "document.owner == request.auth.claims.email" Example ( + # Logic): title: "Public documents" description: "Determine whether the document + # should be publicly visible" expression: "document.type != 'private' && + # document.type != 'internal'" Example (Data Manipulation): title: "Notification + # string" description: "Create a notification string with a timestamp." + # expression: "'New message received at ' + string(document.create_time)" The + # exact variables and functions that may be referenced within an expression are + # determined by the service that evaluates it. See the service documentation for + # additional information. # Corresponds to the JSON property `condition` # @return [Google::Apis::DatacatalogV1beta1::Expr] attr_accessor :condition - # Specifies the identities requesting access for a Cloud Platform resource. - # `members` can have the following values: - # * `allUsers`: A special identifier that represents anyone who is - # on the internet; with or without a Google account. - # * `allAuthenticatedUsers`: A special identifier that represents anyone - # who is authenticated with a Google account or a service account. - # * `user:`emailid``: An email address that represents a specific Google - # account. For example, `alice@example.com` . - # * `serviceAccount:`emailid``: An email address that represents a service - # account. For example, `my-other-app@appspot.gserviceaccount.com`. - # * `group:`emailid``: An email address that represents a Google group. - # For example, `admins@example.com`. - # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique - # identifier) representing a user that has been recently deleted. For - # example, `alice@example.com?uid=123456789012345678901`. If the user is - # recovered, this value reverts to `user:`emailid`` and the recovered user - # retains the role in the binding. - # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus - # unique identifier) representing a service account that has been recently - # deleted. For example, - # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. - # If the service account is undeleted, this value reverts to - # `serviceAccount:`emailid`` and the undeleted service account retains the - # role in the binding. - # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique - # identifier) representing a Google group that has been recently - # deleted. For example, `admins@example.com?uid=123456789012345678901`. If - # the group is recovered, this value reverts to `group:`emailid`` and the - # recovered group retains the role in the binding. - # * `domain:`domain``: The G Suite domain (primary) that represents all the - # users of that domain. For example, `google.com` or `example.com`. + # Specifies the identities requesting access for a Cloud Platform resource. ` + # members` can have the following values: * `allUsers`: A special identifier + # that represents anyone who is on the internet; with or without a Google + # account. * `allAuthenticatedUsers`: A special identifier that represents + # anyone who is authenticated with a Google account or a service account. * ` + # user:`emailid``: An email address that represents a specific Google account. + # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email + # address that represents a service account. For example, `my-other-app@appspot. + # gserviceaccount.com`. * `group:`emailid``: An email address that represents a + # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid= + # `uniqueid``: An email address (plus unique identifier) representing a user + # that has been recently deleted. For example, `alice@example.com?uid= + # 123456789012345678901`. If the user is recovered, this value reverts to `user:` + # emailid`` and the recovered user retains the role in the binding. * `deleted: + # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique + # identifier) representing a service account that has been recently deleted. For + # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. + # If the service account is undeleted, this value reverts to `serviceAccount:` + # emailid`` and the undeleted service account retains the role in the binding. * + # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique + # identifier) representing a Google group that has been recently deleted. For + # example, `admins@example.com?uid=123456789012345678901`. If the group is + # recovered, this value reverts to `group:`emailid`` and the recovered group + # retains the role in the binding. * `domain:`domain``: The G Suite domain ( + # primary) that represents all the users of that domain. For example, `google. + # com` or `example.com`. # Corresponds to the JSON property `members` # @return [Array] attr_accessor :members - # Role that is assigned to `members`. - # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor` + # , or `roles/owner`. # Corresponds to the JSON property `role` # @return [String] attr_accessor :role @@ -105,13 +93,11 @@ module Google end end - # A generic empty message that you can re-use to avoid defining duplicated - # empty messages in your APIs. A typical example is to use it as the request - # or the response type of an API method. For instance: - # service Foo ` - # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - # ` - # The JSON representation for `Empty` is empty JSON object ````. + # A generic empty message that you can re-use to avoid defining duplicated empty + # messages in your APIs. A typical example is to use it as the request or the + # response type of an API method. For instance: service Foo ` rpc Bar(google. + # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for + # `Empty` is empty JSON object ````. class Empty include Google::Apis::Core::Hashable @@ -124,52 +110,43 @@ module Google end end - # Represents a textual expression in the Common Expression Language (CEL) - # syntax. CEL is a C-like expression language. The syntax and semantics of CEL - # are documented at https://github.com/google/cel-spec. - # Example (Comparison): - # title: "Summary size limit" - # description: "Determines if a summary is less than 100 chars" - # expression: "document.summary.size() < 100" - # Example (Equality): - # title: "Requestor is owner" - # description: "Determines if requestor is the document owner" - # expression: "document.owner == request.auth.claims.email" - # Example (Logic): - # title: "Public documents" - # description: "Determine whether the document should be publicly visible" - # expression: "document.type != 'private' && document.type != 'internal'" - # Example (Data Manipulation): - # title: "Notification string" - # description: "Create a notification string with a timestamp." - # expression: "'New message received at ' + string(document.create_time)" - # The exact variables and functions that may be referenced within an expression - # are determined by the service that evaluates it. See the service - # documentation for additional information. + # Represents a textual expression in the Common Expression Language (CEL) syntax. + # CEL is a C-like expression language. The syntax and semantics of CEL are + # documented at https://github.com/google/cel-spec. Example (Comparison): title: + # "Summary size limit" description: "Determines if a summary is less than 100 + # chars" expression: "document.summary.size() < 100" Example (Equality): title: " + # Requestor is owner" description: "Determines if requestor is the document + # owner" expression: "document.owner == request.auth.claims.email" Example ( + # Logic): title: "Public documents" description: "Determine whether the document + # should be publicly visible" expression: "document.type != 'private' && + # document.type != 'internal'" Example (Data Manipulation): title: "Notification + # string" description: "Create a notification string with a timestamp." + # expression: "'New message received at ' + string(document.create_time)" The + # exact variables and functions that may be referenced within an expression are + # determined by the service that evaluates it. See the service documentation for + # additional information. class Expr include Google::Apis::Core::Hashable - # Optional. Description of the expression. This is a longer text which - # describes the expression, e.g. when hovered over it in a UI. + # Optional. Description of the expression. This is a longer text which describes + # the expression, e.g. when hovered over it in a UI. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Textual representation of an expression in Common Expression Language - # syntax. + # Textual representation of an expression in Common Expression Language syntax. # Corresponds to the JSON property `expression` # @return [String] attr_accessor :expression - # Optional. String indicating the location of the expression for error - # reporting, e.g. a file name and a position in the file. + # Optional. String indicating the location of the expression for error reporting, + # e.g. a file name and a position in the file. # Corresponds to the JSON property `location` # @return [String] attr_accessor :location - # Optional. Title for the expression, i.e. a short string describing - # its purpose. This can be used e.g. in UIs which allow to enter the - # expression. + # Optional. Title for the expression, i.e. a short string describing its purpose. + # This can be used e.g. in UIs which allow to enter the expression. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title @@ -210,15 +187,13 @@ module Google class GetPolicyOptions include Google::Apis::Core::Hashable - # Optional. The policy format version to be returned. - # Valid values are 0, 1, and 3. Requests specifying an invalid value will be - # rejected. - # Requests for policies with any conditional bindings must specify version 3. - # Policies without any conditional bindings may specify any valid value or - # leave the field unset. - # To learn which resources support conditions in their IAM policies, see the - # [IAM - # documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + # Optional. The policy format version to be returned. Valid values are 0, 1, and + # 3. Requests specifying an invalid value will be rejected. Requests for + # policies with any conditional bindings must specify version 3. Policies + # without any conditional bindings may specify any valid value or leave the + # field unset. To learn which resources support conditions in their IAM policies, + # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/ + # resource-policies). # Corresponds to the JSON property `requestedPolicyVersion` # @return [Fixnum] attr_accessor :requested_policy_version @@ -234,17 +209,14 @@ module Google end # Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`. - # Context: - # https://cloud.google.com/bigquery/docs/partitioned-tables# + # Context: https://cloud.google.com/bigquery/docs/partitioned-tables# # partitioning_versus_sharding class GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec include Google::Apis::Core::Hashable # Output only. The Data Catalog resource name of the dataset entry the current - # table - # belongs to, for example, - # `projects/`project_id`/locations/`location`/entrygroups/`entry_group_id`/ - # entries/`entry_id``. + # table belongs to, for example, `projects/`project_id`/locations/`location`/ + # entrygroups/`entry_group_id`/entries/`entry_id``. # Corresponds to the JSON property `dataset` # @return [String] attr_accessor :dataset @@ -255,9 +227,8 @@ module Google attr_accessor :shard_count # Output only. The table name prefix of the shards. The name of any given shard - # is - # `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the - # `table_prefix` is `MyTable`. + # is `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the ` + # table_prefix` is `MyTable`. # Corresponds to the JSON property `tablePrefix` # @return [String] attr_accessor :table_prefix @@ -321,9 +292,8 @@ module Google attr_accessor :description # Optional. A column's mode indicates whether the values in this column are - # required, - # nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported. - # Default mode is `NULLABLE`. + # required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are + # supported. Default mode is `NULLABLE`. # Corresponds to the JSON property `mode` # @return [String] attr_accessor :mode @@ -352,21 +322,17 @@ module Google end end - # Entry Metadata. - # A Data Catalog Entry resource represents another resource in Google - # Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic), or + # Entry Metadata. A Data Catalog Entry resource represents another resource in + # Google Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic), or # outside of Google Cloud Platform. Clients can use the `linked_resource` field # in the Entry resource to refer to the original resource ID of the source - # system. - # An Entry resource contains resource details, such as its schema. An Entry can - # also be used to attach flexible metadata, such as a - # Tag. + # system. An Entry resource contains resource details, such as its schema. An + # Entry can also be used to attach flexible metadata, such as a Tag. class GoogleCloudDatacatalogV1beta1Entry include Google::Apis::Core::Hashable # Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`. - # Context: - # https://cloud.google.com/bigquery/docs/partitioned-tables# + # Context: https://cloud.google.com/bigquery/docs/partitioned-tables# # partitioning_versus_sharding # Corresponds to the JSON property `bigqueryDateShardedSpec` # @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec] @@ -377,15 +343,15 @@ module Google # @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1BigQueryTableSpec] attr_accessor :bigquery_table_spec - # Entry description, which can consist of several sentences or paragraphs - # that describe entry contents. Default value is an empty string. + # Entry description, which can consist of several sentences or paragraphs that + # describe entry contents. Default value is an empty string. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description # Display information such as title and description. A short name to identify - # the entry, for example, "Analytics Data - Jan 2011". Default value is an - # empty string. + # the entry, for example, "Analytics Data - Jan 2011". Default value is an empty + # string. # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name @@ -401,26 +367,21 @@ module Google # @return [String] attr_accessor :integrated_system - # The resource this metadata entry refers to. - # For Google Cloud Platform resources, `linked_resource` is the [full name of - # the - # resource](https://cloud.google.com/apis/design/resource_names# - # full_resource_name). - # For example, the `linked_resource` for a table resource from BigQuery is: - # * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/ - # tableId - # Output only when Entry is of type in the EntryType enum. For entries with - # user_specified_type, this field is optional and defaults to an empty - # string. + # The resource this metadata entry refers to. For Google Cloud Platform + # resources, `linked_resource` is the [full name of the resource](https://cloud. + # google.com/apis/design/resource_names#full_resource_name). For example, the ` + # linked_resource` for a table resource from BigQuery is: * //bigquery. + # googleapis.com/projects/projectId/datasets/datasetId/tables/tableId Output + # only when Entry is of type in the EntryType enum. For entries with + # user_specified_type, this field is optional and defaults to an empty string. # Corresponds to the JSON property `linkedResource` # @return [String] attr_accessor :linked_resource - # The Data Catalog resource name of the entry in URL format. Example: - # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/ - # entries/`entry_id` - # Note that this Entry and its child resources may not actually be stored in - # the location in this name. + # The Data Catalog resource name of the entry in URL format. Example: * projects/ + # `project_id`/locations/`location`/entryGroups/`entry_group_id`/entries/` + # entry_id` Note that this Entry and its child resources may not actually be + # stored in the location in this name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -435,30 +396,27 @@ module Google # @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps] attr_accessor :source_system_timestamps - # The type of the entry. - # Only used for Entries with types in the EntryType enum. + # The type of the entry. Only used for Entries with types in the EntryType enum. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type # This field indicates the entry's source system that Data Catalog does not - # integrate with. `user_specified_system` strings must begin with a letter - # or underscore and can only contain letters, numbers, and underscores; are - # case insensitive; must be at least 1 character and at most 64 characters - # long. + # integrate with. `user_specified_system` strings must begin with a letter or + # underscore and can only contain letters, numbers, and underscores; are case + # insensitive; must be at least 1 character and at most 64 characters long. # Corresponds to the JSON property `userSpecifiedSystem` # @return [String] attr_accessor :user_specified_system - # Entry type if it does not fit any of the input-allowed values listed in - # `EntryType` enum above. When creating an entry, users should check the - # enum values first, if nothing matches the entry to be created, then - # provide a custom value, for example "my_special_type". - # `user_specified_type` strings must begin with a letter or underscore and - # can only contain letters, numbers, and underscores; are case insensitive; - # must be at least 1 character and at most 64 characters long. - # Currently, only FILESET enum value is allowed. All other entries created - # through Data Catalog must use `user_specified_type`. + # Entry type if it does not fit any of the input-allowed values listed in ` + # EntryType` enum above. When creating an entry, users should check the enum + # values first, if nothing matches the entry to be created, then provide a + # custom value, for example "my_special_type". `user_specified_type` strings + # must begin with a letter or underscore and can only contain letters, numbers, + # and underscores; are case insensitive; must be at least 1 character and at + # most 64 characters long. Currently, only FILESET enum value is allowed. All + # other entries created through Data Catalog must use `user_specified_type`. # Corresponds to the JSON property `userSpecifiedType` # @return [String] attr_accessor :user_specified_type @@ -485,9 +443,8 @@ module Google end end - # EntryGroup Metadata. - # An EntryGroup resource represents a logical grouping of zero or more - # Data Catalog Entry resources. + # EntryGroup Metadata. An EntryGroup resource represents a logical grouping of + # zero or more Data Catalog Entry resources. class GoogleCloudDatacatalogV1beta1EntryGroup include Google::Apis::Core::Hashable @@ -496,23 +453,22 @@ module Google # @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps] attr_accessor :data_catalog_timestamps - # Entry group description, which can consist of several sentences or - # paragraphs that describe entry group contents. Default value is an empty - # string. + # Entry group description, which can consist of several sentences or paragraphs + # that describe entry group contents. Default value is an empty string. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # A short name to identify the entry group, for example, - # "analytics data - jan 2011". Default value is an empty string. + # A short name to identify the entry group, for example, "analytics data - jan + # 2011". Default value is an empty string. # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name - # The resource name of the entry group in URL format. Example: - # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id` - # Note that this EntryGroup and its child resources may not actually be - # stored in the location in this name. + # The resource name of the entry group in URL format. Example: * projects/` + # project_id`/locations/`location`/entryGroups/`entry_group_id` Note that this + # EntryGroup and its child resources may not actually be stored in the location + # in this name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -530,8 +486,7 @@ module Google end end - # Response message for - # ExportTaxonomies. + # Response message for ExportTaxonomies. class GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse include Google::Apis::Core::Hashable @@ -581,11 +536,14 @@ module Google # The set of allowed values for this enum. This set must not be empty, the # display names of the values in this set must not be empty and the display - # names of the values must be case-insensitively unique within this set. - # The order of items in this list is preserved. This field can be used to - # create, remove and reorder enum values. To rename enum values, use the - # RenameTagTemplateFieldEnumValue method. This list can include up to 500 - # allowed values. + # names of the values must be case-insensitively unique within this set. The + # order of items in this list is preserved. This field can be used to Required + # on create; optional on update. The set of allowed values for this enum. This + # set must not be empty, the display names of the values in this set must not be + # empty and the display names of the values must be case-insensitively unique + # within this set. Currently, enum values can only be added to the list of + # allowed values. Deletion and renaming of enum values are not supported. Can + # have up to 500 allowed values. # Corresponds to the JSON property `allowedValues` # @return [Array] attr_accessor :allowed_values @@ -654,38 +612,28 @@ module Google class GoogleCloudDatacatalogV1beta1GcsFilesetSpec include Google::Apis::Core::Hashable - # Required. Patterns to identify a set of files in Google Cloud Storage. - # See [Cloud Storage - # documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/ - # WildcardNames) - # for more information. Note that bucket wildcards are currently not - # supported. - # Examples of valid file_patterns: - # * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir` - # directory. - # * `gs://bucket_name/dir/**`: matches all files in `bucket_name/dir` - # spanning all subdirectories. - # * `gs://bucket_name/file*`: matches files prefixed by `file` in - # `bucket_name` - # * `gs://bucket_name/??.txt`: matches files with two characters followed by - # `.txt` in `bucket_name` - # * `gs://bucket_name/[aeiou].txt`: matches files that contain a single - # vowel character followed by `.txt` in - # `bucket_name` - # * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... - # or `m` followed by `.txt` in `bucket_name` - # * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match - # `a/*/b` pattern, such as `a/c/b`, `a/d/b` - # * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` - # You can combine wildcards to provide more powerful matches, for example: - # * `gs://bucket_name/[a-m]??.j*g` + # Required. Patterns to identify a set of files in Google Cloud Storage. See [ + # Cloud Storage documentation](https://cloud.google.com/storage/docs/gsutil/ + # addlhelp/WildcardNames) for more information. Note that bucket wildcards are + # currently not supported. Examples of valid file_patterns: * `gs://bucket_name/ + # dir/*`: matches all files within `bucket_name/dir` directory. * `gs:// + # bucket_name/dir/**`: matches all files in `bucket_name/dir` spanning all + # subdirectories. * `gs://bucket_name/file*`: matches files prefixed by `file` + # in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two + # characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt` + # : matches files that contain a single vowel character followed by `.txt` in ` + # bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, ` + # b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/*/b`: + # matches all files in `bucket_name` that match `a/*/b` pattern, such as `a/c/b`, + # `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` + # You can combine wildcards to provide more powerful matches, for example: * `gs: + # //bucket_name/[a-m]??.j*g` # Corresponds to the JSON property `filePatterns` # @return [Array] attr_accessor :file_patterns # Output only. Sample files contained in this fileset, not all files contained - # in this - # fileset are represented here. + # in this fileset are represented here. # Corresponds to the JSON property `sampleGcsFileSpecs` # @return [Array] attr_accessor :sample_gcs_file_specs @@ -701,8 +649,7 @@ module Google end end - # Request message for - # ImportTaxonomies. + # Request message for ImportTaxonomies. class GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest include Google::Apis::Core::Hashable @@ -721,8 +668,7 @@ module Google end end - # Response message for - # ImportTaxonomies. + # Response message for ImportTaxonomies. class GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse include Google::Apis::Core::Hashable @@ -760,8 +706,7 @@ module Google end end - # Response message for - # ListEntries. + # Response message for ListEntries. class GoogleCloudDatacatalogV1beta1ListEntriesResponse include Google::Apis::Core::Hashable @@ -787,8 +732,7 @@ module Google end end - # Response message for - # ListEntryGroups. + # Response message for ListEntryGroups. class GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse include Google::Apis::Core::Hashable @@ -814,13 +758,12 @@ module Google end end - # Response message for - # ListPolicyTags. + # Response message for ListPolicyTags. class GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse include Google::Apis::Core::Hashable - # Token used to retrieve the next page of results, or empty if there are no - # more results in the list. + # Token used to retrieve the next page of results, or empty if there are no more + # results in the list. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -841,8 +784,7 @@ module Google end end - # Response message for - # ListTags. + # Response message for ListTags. class GoogleCloudDatacatalogV1beta1ListTagsResponse include Google::Apis::Core::Hashable @@ -868,13 +810,12 @@ module Google end end - # Response message for - # ListTaxonomies. + # Response message for ListTaxonomies. class GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse include Google::Apis::Core::Hashable - # Token used to retrieve the next page of results, or empty if there are no - # more results in the list. + # Token used to retrieve the next page of results, or empty if there are no more + # results in the list. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -895,10 +836,10 @@ module Google end end - # Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined - # in a hierarchy. For example, consider the following hierarchy: - # Geolocation -> (LatLong, City, ZipCode). PolicyTag "Geolocation" - # contains three child policy tags: "LatLong", "City", and "ZipCode". + # Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined in + # a hierarchy. For example, consider the following hierarchy: Geolocation -> ( + # LatLong, City, ZipCode). PolicyTag "Geolocation" contains three child policy + # tags: "LatLong", "City", and "ZipCode". class GoogleCloudDatacatalogV1beta1PolicyTag include Google::Apis::Core::Hashable @@ -907,36 +848,34 @@ module Google # @return [Array] attr_accessor :child_policy_tags - # Description of this policy tag. It must: contain only unicode characters, - # tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes - # long when encoded in UTF-8. If not set, defaults to an empty description. - # If not set, defaults to an empty description. + # Description of this policy tag. It must: contain only unicode characters, tabs, + # newlines, carriage returns and page breaks; and be at most 2000 bytes long + # when encoded in UTF-8. If not set, defaults to an empty description. If not + # set, defaults to an empty description. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description # Required. User defined name of this policy tag. It must: be unique within the - # parent - # taxonomy; contain only unicode letters, numbers, underscores, dashes and - # spaces; not start or end with spaces; and be at most 200 bytes long when + # parent taxonomy; contain only unicode letters, numbers, underscores, dashes + # and spaces; not start or end with spaces; and be at most 200 bytes long when # encoded in UTF-8. # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name - # Output only. Resource name of this policy tag, whose format is: - # "projects/`project_number`/locations/`location_id`/taxonomies/`taxonomy_id`/ - # policyTags/`id`". + # Output only. Resource name of this policy tag, whose format is: "projects/` + # project_number`/locations/`location_id`/taxonomies/`taxonomy_id`/policyTags/` + # id`". # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Resource name of this policy tag's parent policy tag (e.g. for the - # "LatLong" policy tag in the example above, this field contains the - # resource name of the "Geolocation" policy tag). If empty, it means this - # policy tag is a top level policy tag (e.g. this field is empty for the - # "Geolocation" policy tag in the example above). If not set, defaults to an - # empty string. + # Resource name of this policy tag's parent policy tag (e.g. for the "LatLong" + # policy tag in the example above, this field contains the resource name of the " + # Geolocation" policy tag). If empty, it means this policy tag is a top level + # policy tag (e.g. this field is empty for the "Geolocation" policy tag in the + # example above). If not set, defaults to an empty string. # Corresponds to the JSON property `parentPolicyTag` # @return [String] attr_accessor :parent_policy_tag @@ -955,8 +894,7 @@ module Google end end - # Request message for - # RenameTagTemplateFieldEnumValue. + # Request message for RenameTagTemplateFieldEnumValue. class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest include Google::Apis::Core::Hashable @@ -976,8 +914,7 @@ module Google end end - # Request message for - # RenameTagTemplateField. + # Request message for RenameTagTemplateField. class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest include Google::Apis::Core::Hashable @@ -1001,8 +938,7 @@ module Google include Google::Apis::Core::Hashable # Required. Schema of columns. A maximum of 10,000 columns and sub-columns can - # be - # specified. + # be specified. # Corresponds to the JSON property `columns` # @return [Array] attr_accessor :columns @@ -1017,17 +953,14 @@ module Google end end - # Request message for - # SearchCatalog. + # Request message for SearchCatalog. class GoogleCloudDatacatalogV1beta1SearchCatalogRequest include Google::Apis::Core::Hashable - # Specifies the ordering of results, currently supported case-sensitive - # choices are: - # * `relevance`, only supports descending - # * `last_modified_timestamp [asc|desc]`, defaults to descending if not - # specified - # If not specified, defaults to `relevance` descending. + # Specifies the ordering of results, currently supported case-sensitive choices + # are: * `relevance`, only supports descending * `last_modified_timestamp [asc| + # desc]`, defaults to descending if not specified If not specified, defaults to ` + # relevance` descending. # Corresponds to the JSON property `orderBy` # @return [String] attr_accessor :order_by @@ -1038,25 +971,20 @@ module Google # @return [Fixnum] attr_accessor :page_size - # Optional. Pagination token returned in an earlier - # SearchCatalogResponse.next_page_token, which - # indicates that this is a continuation of a prior - # SearchCatalogRequest - # call, and that the system should return the next page of data. If empty, - # the first page is returned. + # Optional. Pagination token returned in an earlier SearchCatalogResponse. + # next_page_token, which indicates that this is a continuation of a prior + # SearchCatalogRequest call, and that the system should return the next page of + # data. If empty, the first page is returned. # Corresponds to the JSON property `pageToken` # @return [String] attr_accessor :page_token # Required. The query string in search query syntax. The query must be non-empty. - # Query strings can be simple as "x" or more qualified as: - # * name:x - # * column:x - # * description:y - # Note: Query tokens need to have a minimum of 3 characters for substring - # matching to work correctly. See [Data Catalog Search - # Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference) - # for more information. + # Query strings can be simple as "x" or more qualified as: * name:x * column:x * + # description:y Note: Query tokens need to have a minimum of 3 characters for + # substring matching to work correctly. See [Data Catalog Search Syntax](https:// + # cloud.google.com/data-catalog/docs/how-to/search-reference) for more + # information. # Corresponds to the JSON property `query` # @return [String] attr_accessor :query @@ -1084,63 +1012,40 @@ module Google class GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope include Google::Apis::Core::Hashable - # If `true`, include Google Cloud Platform (GCP) public datasets in the - # search results. Info on GCP public datasets is available at - # https://cloud.google.com/public-datasets/. By default, GCP public - # datasets are excluded. + # If `true`, include Google Cloud Platform (GCP) public datasets in the search + # results. Info on GCP public datasets is available at https://cloud.google.com/ + # public-datasets/. By default, GCP public datasets are excluded. # Corresponds to the JSON property `includeGcpPublicDatasets` # @return [Boolean] attr_accessor :include_gcp_public_datasets alias_method :include_gcp_public_datasets?, :include_gcp_public_datasets - # The list of organization IDs to search within. To find your organization - # ID, follow instructions in - # https://cloud.google.com/resource-manager/docs/creating-managing-organization. + # The list of organization IDs to search within. To find your organization ID, + # follow instructions in https://cloud.google.com/resource-manager/docs/creating- + # managing-organization. # Corresponds to the JSON property `includeOrgIds` # @return [Array] attr_accessor :include_org_ids - # The list of project IDs to search within. To learn more about the - # distinction between project names/IDs/numbers, go to - # https://cloud.google.com/docs/overview/#projects. + # The list of project IDs to search within. To learn more about the distinction + # between project names/IDs/numbers, go to https://cloud.google.com/docs/ + # overview/#projects. # Corresponds to the JSON property `includeProjectIds` # @return [Array] attr_accessor :include_project_ids - # Optional. The list of locations to search within. - # 1. If empty, search will be performed in all locations; - # 2. If any of the locations are NOT in the valid locations list, error - # will be returned; - # 3. Otherwise, search only the given locations for matching results. - # Typical usage is to leave this field empty. When a location is - # unreachable as returned in the `SearchCatalogResponse.unreachable` field, - # users can repeat the search request with this parameter set to get - # additional information on the error. - # Valid locations: - # * asia-east1 - # * asia-east2 - # * asia-northeast1 - # * asia-northeast2 - # * asia-northeast3 - # * asia-south1 - # * asia-southeast1 - # * australia-southeast1 - # * eu - # * europe-north1 - # * europe-west1 - # * europe-west2 - # * europe-west3 - # * europe-west4 - # * europe-west6 - # * global - # * northamerica-northeast1 - # * southamerica-east1 - # * us - # * us-central1 - # * us-east1 - # * us-east4 - # * us-west1 - # * us-west2 + # Optional. The list of locations to search within. 1. If empty, search will be + # performed in all locations; 2. If any of the locations are NOT in the valid + # locations list, error will be returned; 3. Otherwise, search only the given + # locations for matching results. Typical usage is to leave this field empty. + # When a location is unreachable as returned in the `SearchCatalogResponse. + # unreachable` field, users can repeat the search request with this parameter + # set to get additional information on the error. Valid locations: * asia-east1 * + # asia-east2 * asia-northeast1 * asia-northeast2 * asia-northeast3 * asia- + # south1 * asia-southeast1 * australia-southeast1 * eu * europe-north1 * europe- + # west1 * europe-west2 * europe-west3 * europe-west4 * europe-west6 * global * + # northamerica-northeast1 * southamerica-east1 * us * us-central1 * us-east1 * + # us-east4 * us-west1 * us-west2 # Corresponds to the JSON property `restrictedLocations` # @return [Array] attr_accessor :restricted_locations @@ -1158,8 +1063,7 @@ module Google end end - # Response message for - # SearchCatalog. + # Response message for SearchCatalog. class GoogleCloudDatacatalogV1beta1SearchCatalogResponse include Google::Apis::Core::Hashable @@ -1174,9 +1078,9 @@ module Google attr_accessor :results # Unreachable locations. Search result does not include data from those - # locations. Users can get additional information on the error by repeating - # the search request with a more restrictive parameter -- setting the value - # for `SearchDataCatalogRequest.scope.include_locations`. + # locations. Users can get additional information on the error by repeating the + # search request with a more restrictive parameter -- setting the value for ` + # SearchDataCatalogRequest.scope.include_locations`. # Corresponds to the JSON property `unreachable` # @return [Array] attr_accessor :unreachable @@ -1198,28 +1102,24 @@ module Google class GoogleCloudDatacatalogV1beta1SearchCatalogResult include Google::Apis::Core::Hashable - # The full name of the cloud resource the entry belongs to. See: - # https://cloud.google.com/apis/design/resource_names#full_resource_name. - # Example: - # * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/ - # tableId` + # The full name of the cloud resource the entry belongs to. See: https://cloud. + # google.com/apis/design/resource_names#full_resource_name. Example: * `// + # bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId` # Corresponds to the JSON property `linkedResource` # @return [String] attr_accessor :linked_resource - # The relative resource name of the resource in URL format. - # Examples: - # * `projects/`project_id`/locations/`location_id`/entryGroups/`entry_group_id`/ - # entries/`entry_id`` - # * `projects/`project_id`/tagTemplates/`tag_template_id`` + # The relative resource name of the resource in URL format. Examples: * ` + # projects/`project_id`/locations/`location_id`/entryGroups/`entry_group_id`/ + # entries/`entry_id`` * `projects/`project_id`/tagTemplates/`tag_template_id`` # Corresponds to the JSON property `relativeResourceName` # @return [String] attr_accessor :relative_resource_name # Sub-type of the search result. This is a dot-delimited description of the # resource's full type, and is the same as the value callers would provide in - # the "type" search facet. Examples: `entry.table`, `entry.dataStream`, - # `tagTemplate`. + # the "type" search facet. Examples: `entry.table`, `entry.dataStream`, ` + # tagTemplate`. # Corresponds to the JSON property `searchResultSubtype` # @return [String] attr_accessor :search_result_subtype @@ -1252,9 +1152,9 @@ module Google # @return [Array] attr_accessor :child_policy_tags - # Description of the serialized policy tag. The length of the - # description is limited to 2000 bytes when encoded in UTF-8. If not set, - # defaults to an empty description. + # Description of the serialized policy tag. The length of the description is + # limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an empty + # description. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description @@ -1264,8 +1164,8 @@ module Google # @return [String] attr_accessor :display_name - # Resource name of the policy tag. - # This field will be ignored when calling ImportTaxonomies. + # Resource name of the policy tag. This field will be ignored when calling + # ImportTaxonomies. # Corresponds to the JSON property `policyTag` # @return [String] attr_accessor :policy_tag @@ -1288,9 +1188,9 @@ module Google class GoogleCloudDatacatalogV1beta1SerializedTaxonomy include Google::Apis::Core::Hashable - # Description of the serialized taxonomy. The length of the - # description is limited to 2000 bytes when encoded in UTF-8. If not set, - # defaults to an empty description. + # Description of the serialized taxonomy. The length of the description is + # limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an empty + # description. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description @@ -1354,12 +1254,10 @@ module Google include Google::Apis::Core::Hashable # Output only. If the table is a dated shard, i.e., with name pattern `[prefix] - # YYYYMMDD`, - # `grouped_entry` is the Data Catalog resource name of the date sharded - # grouped entry, for example, - # `projects/`project_id`/locations/`location`/entrygroups/`entry_group_id`/ - # entries/`entry_id``. - # Otherwise, `grouped_entry` is empty. + # YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of the date + # sharded grouped entry, for example, `projects/`project_id`/locations/`location` + # /entrygroups/`entry_group_id`/entries/`entry_id``. Otherwise, `grouped_entry` + # is empty. # Corresponds to the JSON property `groupedEntry` # @return [String] attr_accessor :grouped_entry @@ -1375,42 +1273,38 @@ module Google end # Tags are used to attach custom metadata to Data Catalog resources. Tags - # conform to the specifications within their tag template. - # See [Data Catalog - # IAM](https://cloud.google.com/data-catalog/docs/concepts/iam) for information - # on the permissions needed to create or view tags. + # conform to the specifications within their tag template. See [Data Catalog IAM] + # (https://cloud.google.com/data-catalog/docs/concepts/iam) for information on + # the permissions needed to create or view tags. class GoogleCloudDatacatalogV1beta1Tag include Google::Apis::Core::Hashable - # Resources like Entry can have schemas associated with them. This scope - # allows users to attach tags to an individual column based on that schema. - # For attaching a tag to a nested column, use `.` to separate the column - # names. Example: - # * `outer_column.inner_column` + # Resources like Entry can have schemas associated with them. This scope allows + # users to attach tags to an individual column based on that schema. For + # attaching a tag to a nested column, use `.` to separate the column names. + # Example: * `outer_column.inner_column` # Corresponds to the JSON property `column` # @return [String] attr_accessor :column # Required. This maps the ID of a tag field to the value of and additional - # information - # about that field. Valid field IDs are defined by the tag's template. A tag - # must have at least 1 field and at most 500 fields. + # information about that field. Valid field IDs are defined by the tag's + # template. A tag must have at least 1 field and at most 500 fields. # Corresponds to the JSON property `fields` # @return [Hash] attr_accessor :fields - # The resource name of the tag in URL format. Example: - # * projects/`project_id`/locations/`location`/entrygroups/`entry_group_id`/ - # entries/`entry_id`/tags/`tag_id` - # where `tag_id` is a system-generated identifier. - # Note that this Tag may not actually be stored in the location in this name. + # The resource name of the tag in URL format. Example: * projects/`project_id`/ + # locations/`location`/entrygroups/`entry_group_id`/entries/`entry_id`/tags/` + # tag_id` where `tag_id` is a system-generated identifier. Note that this Tag + # may not actually be stored in the location in this name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Required. The resource name of the tag template that this tag uses. Example: - # * projects/`project_id`/locations/`location`/tagTemplates/`tag_template_id` - # This field cannot be modified after creation. + # Required. The resource name of the tag template that this tag uses. Example: * + # projects/`project_id`/locations/`location`/tagTemplates/`tag_template_id` This + # field cannot be modified after creation. # Corresponds to the JSON property `template` # @return [String] attr_accessor :template @@ -1434,8 +1328,7 @@ module Google end end - # Contains the value and supporting information for a field within - # a Tag. + # Contains the value and supporting information for a field within a Tag. class GoogleCloudDatacatalogV1beta1TagField include Google::Apis::Core::Hashable @@ -1461,11 +1354,9 @@ module Google attr_accessor :enum_value # Output only. The order of this field with respect to other fields in this tag. - # It can be - # set in Tag. For - # example, a higher value can indicate a more important field. The value can - # be negative. Multiple fields can have the same order, and field orders - # within a tag do not have to be sequential. + # It can be set in Tag. For example, a higher value can indicate a more + # important field. The value can be negative. Multiple fields can have the same + # order, and field orders within a tag do not have to be sequential. # Corresponds to the JSON property `order` # @return [Fixnum] attr_accessor :order @@ -1515,15 +1406,13 @@ module Google end end - # A tag template defines a tag, which can have one or more typed fields. - # The template is used to create and attach the tag to GCP resources. - # [Tag template + # A tag template defines a tag, which can have one or more typed fields. The + # template is used to create and attach the tag to GCP resources. [Tag template # roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog- - # roles) - # provide permissions to create, edit, and use the template. See, for example, - # the [TagTemplate - # User](https://cloud.google.com/data-catalog/docs/how-to/template-user) role, - # which includes permission to use the tag template to tag resources. + # roles) provide permissions to create, edit, and use the template. See, for + # example, the [TagTemplate User](https://cloud.google.com/data-catalog/docs/how- + # to/template-user) role, which includes permission to use the tag template to + # tag resources. class GoogleCloudDatacatalogV1beta1TagTemplate include Google::Apis::Core::Hashable @@ -1532,21 +1421,21 @@ module Google # @return [String] attr_accessor :display_name - # Required. Map of tag template field IDs to the settings for the field. - # This map is an exhaustive list of the allowed fields. This map must contain - # at least one field and at most 500 fields. - # The keys to this map are tag template field IDs. Field IDs can contain - # letters (both uppercase and lowercase), numbers (0-9) and underscores (_). - # Field IDs must be at least 1 character long and at most - # 64 characters long. Field IDs must start with a letter or underscore. + # Required. Map of tag template field IDs to the settings for the field. This + # map is an exhaustive list of the allowed fields. This map must contain at + # least one field and at most 500 fields. The keys to this map are tag template + # field IDs. Field IDs can contain letters (both uppercase and lowercase), + # numbers (0-9) and underscores (_). Field IDs must be at least 1 character long + # and at most 64 characters long. Field IDs must start with a letter or + # underscore. # Corresponds to the JSON property `fields` # @return [Hash] attr_accessor :fields - # The resource name of the tag template in URL format. Example: - # * projects/`project_id`/locations/`location`/tagTemplates/`tag_template_id` - # Note that this TagTemplate and its child resources may not actually be - # stored in the location in this name. + # The resource name of the tag template in URL format. Example: * projects/` + # project_id`/locations/`location`/tagTemplates/`tag_template_id` Note that this + # TagTemplate and its child resources may not actually be stored in the location + # in this name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -1579,19 +1468,17 @@ module Google alias_method :is_required?, :is_required # Output only. The resource name of the tag template field in URL format. - # Example: - # * projects/`project_id`/locations/`location`/tagTemplates/`tag_template`/ - # fields/`field` - # Note that this TagTemplateField may not actually be stored in the location - # in this name. + # Example: * projects/`project_id`/locations/`location`/tagTemplates/` + # tag_template`/fields/`field` Note that this TagTemplateField may not actually + # be stored in the location in this name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # The order of this field with respect to other fields in this tag - # template. A higher value indicates a more important field. The value can - # be negative. Multiple fields can have the same order, and field orders - # within a tag do not have to be sequential. + # The order of this field with respect to other fields in this tag template. A + # higher value indicates a more important field. The value can be negative. + # Multiple fields can have the same order, and field orders within a tag do not + # have to be sequential. # Corresponds to the JSON property `order` # @return [Fixnum] attr_accessor :order @@ -1624,30 +1511,28 @@ module Google include Google::Apis::Core::Hashable # Optional. A list of policy types that are activated for this taxonomy. If not - # set, - # defaults to an empty list. + # set, defaults to an empty list. # Corresponds to the JSON property `activatedPolicyTypes` # @return [Array] attr_accessor :activated_policy_types # Optional. Description of this taxonomy. It must: contain only unicode - # characters, - # tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes - # long when encoded in UTF-8. If not set, defaults to an empty description. + # characters, tabs, newlines, carriage returns and page breaks; and be at most + # 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty + # description. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description # Required. User defined name of this taxonomy. It must: contain only unicode - # letters, - # numbers, underscores, dashes and spaces; not start or end with spaces; and - # be at most 200 bytes long when encoded in UTF-8. + # letters, numbers, underscores, dashes and spaces; not start or end with spaces; + # and be at most 200 bytes long when encoded in UTF-8. # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name - # Output only. Resource name of this taxonomy, whose format is: - # "projects/`project_number`/locations/`location_id`/taxonomies/`id`". + # Output only. Resource name of this taxonomy, whose format is: "projects/` + # project_number`/locations/`location_id`/taxonomies/`id`". # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -1685,111 +1570,73 @@ module Google end # An Identity and Access Management (IAM) policy, which specifies access - # controls for Google Cloud resources. - # A `Policy` is a collection of `bindings`. A `binding` binds one or more - # `members` to a single `role`. Members can be user accounts, service accounts, - # Google groups, and domains (such as G Suite). A `role` is a named list of - # permissions; each `role` can be an IAM predefined role or a user-created - # custom role. - # For some types of Google Cloud resources, a `binding` can also specify a - # `condition`, which is a logical expression that allows access to a resource - # only if the expression evaluates to `true`. A condition can add constraints - # based on attributes of the request, the resource, or both. To learn which - # resources support conditions in their IAM policies, see the - # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- - # policies). - # **JSON example:** - # ` - # "bindings": [ - # ` - # "role": "roles/resourcemanager.organizationAdmin", - # "members": [ - # "user:mike@example.com", - # "group:admins@example.com", - # "domain:google.com", - # "serviceAccount:my-project-id@appspot.gserviceaccount.com" - # ] - # `, - # ` - # "role": "roles/resourcemanager.organizationViewer", - # "members": [ - # "user:eve@example.com" - # ], - # "condition": ` - # "title": "expirable access", - # "description": "Does not grant access after Sep 2020", - # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z') - # ", - # ` - # ` - # ], - # "etag": "BwWWja0YfJA=", - # "version": 3 - # ` - # **YAML example:** - # bindings: - # - members: - # - user:mike@example.com - # - group:admins@example.com - # - domain:google.com - # - serviceAccount:my-project-id@appspot.gserviceaccount.com - # role: roles/resourcemanager.organizationAdmin - # - members: - # - user:eve@example.com - # role: roles/resourcemanager.organizationViewer - # condition: - # title: expirable access - # description: Does not grant access after Sep 2020 - # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - # - etag: BwWWja0YfJA= - # - version: 3 - # For a description of IAM and its features, see the - # [IAM documentation](https://cloud.google.com/iam/docs/). + # controls for Google Cloud resources. A `Policy` is a collection of `bindings`. + # A `binding` binds one or more `members` to a single `role`. Members can be + # user accounts, service accounts, Google groups, and domains (such as G Suite). + # A `role` is a named list of permissions; each `role` can be an IAM predefined + # role or a user-created custom role. For some types of Google Cloud resources, + # a `binding` can also specify a `condition`, which is a logical expression that + # allows access to a resource only if the expression evaluates to `true`. A + # condition can add constraints based on attributes of the request, the resource, + # or both. To learn which resources support conditions in their IAM policies, + # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/ + # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/ + # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", " + # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@ + # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager. + # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` " + # title": "expirable access", "description": "Does not grant access after Sep + # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", ` + # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: - + # members: - user:mike@example.com - group:admins@example.com - domain:google. + # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/ + # resourcemanager.organizationAdmin - members: - user:eve@example.com role: + # roles/resourcemanager.organizationViewer condition: title: expirable access + # description: Does not grant access after Sep 2020 expression: request.time < + # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a + # description of IAM and its features, see the [IAM documentation](https://cloud. + # google.com/iam/docs/). class Policy include Google::Apis::Core::Hashable - # Associates a list of `members` to a `role`. Optionally, may specify a - # `condition` that determines how and when the `bindings` are applied. Each - # of the `bindings` must contain at least one member. + # Associates a list of `members` to a `role`. Optionally, may specify a ` + # condition` that determines how and when the `bindings` are applied. Each of + # the `bindings` must contain at least one member. # Corresponds to the JSON property `bindings` # @return [Array] attr_accessor :bindings - # `etag` is used for optimistic concurrency control as a way to help - # prevent simultaneous updates of a policy from overwriting each other. - # It is strongly suggested that systems make use of the `etag` in the - # read-modify-write cycle to perform policy updates in order to avoid race - # conditions: An `etag` is returned in the response to `getIamPolicy`, and - # systems are expected to put that etag in the request to `setIamPolicy` to - # ensure that their change will be applied to the same version of the policy. - # **Important:** If you use IAM Conditions, you must include the `etag` field - # whenever you call `setIamPolicy`. If you omit this field, then IAM allows - # you to overwrite a version `3` policy with a version `1` policy, and all of - # the conditions in the version `3` policy are lost. + # `etag` is used for optimistic concurrency control as a way to help prevent + # simultaneous updates of a policy from overwriting each other. It is strongly + # suggested that systems make use of the `etag` in the read-modify-write cycle + # to perform policy updates in order to avoid race conditions: An `etag` is + # returned in the response to `getIamPolicy`, and systems are expected to put + # that etag in the request to `setIamPolicy` to ensure that their change will be + # applied to the same version of the policy. **Important:** If you use IAM + # Conditions, you must include the `etag` field whenever you call `setIamPolicy`. + # If you omit this field, then IAM allows you to overwrite a version `3` policy + # with a version `1` policy, and all of the conditions in the version `3` policy + # are lost. # Corresponds to the JSON property `etag` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] attr_accessor :etag - # Specifies the format of the policy. - # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value - # are rejected. - # Any operation that affects conditional role bindings must specify version - # `3`. This requirement applies to the following operations: - # * Getting a policy that includes a conditional role binding - # * Adding a conditional role binding to a policy - # * Changing a conditional role binding in a policy - # * Removing any role binding, with or without a condition, from a policy - # that includes conditions - # **Important:** If you use IAM Conditions, you must include the `etag` field - # whenever you call `setIamPolicy`. If you omit this field, then IAM allows - # you to overwrite a version `3` policy with a version `1` policy, and all of - # the conditions in the version `3` policy are lost. - # If a policy does not include any conditions, operations on that policy may - # specify any valid version or leave the field unset. - # To learn which resources support conditions in their IAM policies, see the - # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- - # policies). + # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. + # Requests that specify an invalid value are rejected. Any operation that + # affects conditional role bindings must specify version `3`. This requirement + # applies to the following operations: * Getting a policy that includes a + # conditional role binding * Adding a conditional role binding to a policy * + # Changing a conditional role binding in a policy * Removing any role binding, + # with or without a condition, from a policy that includes conditions ** + # Important:** If you use IAM Conditions, you must include the `etag` field + # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you + # to overwrite a version `3` policy with a version `1` policy, and all of the + # conditions in the version `3` policy are lost. If a policy does not include + # any conditions, operations on that policy may specify any valid version or + # leave the field unset. To learn which resources support conditions in their + # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/ + # conditions/resource-policies). # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -1811,66 +1658,32 @@ module Google include Google::Apis::Core::Hashable # An Identity and Access Management (IAM) policy, which specifies access - # controls for Google Cloud resources. - # A `Policy` is a collection of `bindings`. A `binding` binds one or more - # `members` to a single `role`. Members can be user accounts, service accounts, - # Google groups, and domains (such as G Suite). A `role` is a named list of - # permissions; each `role` can be an IAM predefined role or a user-created - # custom role. - # For some types of Google Cloud resources, a `binding` can also specify a - # `condition`, which is a logical expression that allows access to a resource - # only if the expression evaluates to `true`. A condition can add constraints - # based on attributes of the request, the resource, or both. To learn which - # resources support conditions in their IAM policies, see the - # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- - # policies). - # **JSON example:** - # ` - # "bindings": [ - # ` - # "role": "roles/resourcemanager.organizationAdmin", - # "members": [ - # "user:mike@example.com", - # "group:admins@example.com", - # "domain:google.com", - # "serviceAccount:my-project-id@appspot.gserviceaccount.com" - # ] - # `, - # ` - # "role": "roles/resourcemanager.organizationViewer", - # "members": [ - # "user:eve@example.com" - # ], - # "condition": ` - # "title": "expirable access", - # "description": "Does not grant access after Sep 2020", - # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z') - # ", - # ` - # ` - # ], - # "etag": "BwWWja0YfJA=", - # "version": 3 - # ` - # **YAML example:** - # bindings: - # - members: - # - user:mike@example.com - # - group:admins@example.com - # - domain:google.com - # - serviceAccount:my-project-id@appspot.gserviceaccount.com - # role: roles/resourcemanager.organizationAdmin - # - members: - # - user:eve@example.com - # role: roles/resourcemanager.organizationViewer - # condition: - # title: expirable access - # description: Does not grant access after Sep 2020 - # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - # - etag: BwWWja0YfJA= - # - version: 3 - # For a description of IAM and its features, see the - # [IAM documentation](https://cloud.google.com/iam/docs/). + # controls for Google Cloud resources. A `Policy` is a collection of `bindings`. + # A `binding` binds one or more `members` to a single `role`. Members can be + # user accounts, service accounts, Google groups, and domains (such as G Suite). + # A `role` is a named list of permissions; each `role` can be an IAM predefined + # role or a user-created custom role. For some types of Google Cloud resources, + # a `binding` can also specify a `condition`, which is a logical expression that + # allows access to a resource only if the expression evaluates to `true`. A + # condition can add constraints based on attributes of the request, the resource, + # or both. To learn which resources support conditions in their IAM policies, + # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/ + # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/ + # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", " + # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@ + # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager. + # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` " + # title": "expirable access", "description": "Does not grant access after Sep + # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", ` + # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: - + # members: - user:mike@example.com - group:admins@example.com - domain:google. + # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/ + # resourcemanager.organizationAdmin - members: - user:eve@example.com role: + # roles/resourcemanager.organizationViewer condition: title: expirable access + # description: Does not grant access after Sep 2020 expression: request.time < + # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a + # description of IAM and its features, see the [IAM documentation](https://cloud. + # google.com/iam/docs/). # Corresponds to the JSON property `policy` # @return [Google::Apis::DatacatalogV1beta1::Policy] attr_accessor :policy @@ -1889,10 +1702,9 @@ module Google class TestIamPermissionsRequest include Google::Apis::Core::Hashable - # The set of permissions to check for the `resource`. Permissions with - # wildcards (such as '*' or 'storage.*') are not allowed. For more - # information see - # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # The set of permissions to check for the `resource`. Permissions with wildcards + # (such as '*' or 'storage.*') are not allowed. For more information see [IAM + # Overview](https://cloud.google.com/iam/docs/overview#permissions). # Corresponds to the JSON property `permissions` # @return [Array] attr_accessor :permissions @@ -1911,8 +1723,7 @@ module Google class TestIamPermissionsResponse include Google::Apis::Core::Hashable - # A subset of `TestPermissionsRequest.permissions` that the caller is - # allowed. + # A subset of `TestPermissionsRequest.permissions` that the caller is allowed. # Corresponds to the JSON property `permissions` # @return [Array] attr_accessor :permissions diff --git a/generated/google/apis/datacatalog_v1beta1/service.rb b/generated/google/apis/datacatalog_v1beta1/service.rb index c9060ab55..864cdce9a 100644 --- a/generated/google/apis/datacatalog_v1beta1/service.rb +++ b/generated/google/apis/datacatalog_v1beta1/service.rb @@ -48,19 +48,15 @@ module Google @batch_path = 'batch' end - # Searches Data Catalog for multiple resources like entries, tags that - # match a query. - # This is a custom method - # (https://cloud.google.com/apis/design/custom_methods) and does not return - # the complete resource, only the resource identifier and high level - # fields. Clients can subsequentally call `Get` methods. - # Note that Data Catalog search queries do not guarantee full recall. Query - # results that match your query may not be returned, even in subsequent + # Searches Data Catalog for multiple resources like entries, tags that match a + # query. This is a custom method (https://cloud.google.com/apis/design/ + # custom_methods) and does not return the complete resource, only the resource + # identifier and high level fields. Clients can subsequentally call `Get` + # methods. Note that Data Catalog search queries do not guarantee full recall. + # Query results that match your query may not be returned, even in subsequent # result pages. Also note that results returned (and not returned) can vary - # across repeated search queries. - # See [Data Catalog Search - # Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference) - # for more information. + # across repeated search queries. See [Data Catalog Search Syntax](https://cloud. + # google.com/data-catalog/docs/how-to/search-reference) for more information. # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SearchCatalogRequest] google_cloud_datacatalog_v1beta1_search_catalog_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -90,28 +86,22 @@ module Google execute_or_queue_command(command, &block) end - # Get an entry by target resource name. This method allows clients to use - # the resource name from the source Google Cloud Platform service to get the - # Data Catalog Entry. + # Get an entry by target resource name. This method allows clients to use the + # resource name from the source Google Cloud Platform service to get the Data + # Catalog Entry. # @param [String] linked_resource - # The full name of the Google Cloud Platform resource the Data Catalog - # entry represents. See: - # https://cloud.google.com/apis/design/resource_names#full_resource_name. - # Full names are case-sensitive. - # Examples: - # * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/ - # tableId - # * //pubsub.googleapis.com/projects/projectId/topics/topicId + # The full name of the Google Cloud Platform resource the Data Catalog entry + # represents. See: https://cloud.google.com/apis/design/resource_names# + # full_resource_name. Full names are case-sensitive. Examples: * //bigquery. + # googleapis.com/projects/projectId/datasets/datasetId/tables/tableId * //pubsub. + # googleapis.com/projects/projectId/topics/topicId # @param [String] sql_resource - # The SQL name of the entry. SQL names are case-sensitive. - # Examples: - # * `pubsub.project_id.topic_id` - # * ``pubsub.project_id.`topic.id.with.dots` `` - # * `bigquery.table.project_id.dataset_id.table_id` - # * `bigquery.dataset.project_id.dataset_id` - # * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` - # `*_id`s shoud satisfy the standard SQL rules for identifiers. - # https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. + # The SQL name of the entry. SQL names are case-sensitive. Examples: * `pubsub. + # project_id.topic_id` * ``pubsub.project_id.`topic.id.with.dots` `` * `bigquery. + # table.project_id.dataset_id.table_id` * `bigquery.dataset.project_id. + # dataset_id` * `datacatalog.entry.project_id.location_id.entry_group_id. + # entry_id` `*_id`s shoud satisfy the standard SQL rules for identifiers. https:/ + # /cloud.google.com/bigquery/docs/reference/standard-sql/lexical. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -141,21 +131,18 @@ module Google end # A maximum of 10,000 entry groups may be created per organization across all - # locations. - # Users should enable the Data Catalog API in the project identified by - # the `parent` parameter (see [Data Catalog Resource Project] - # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for - # more information). + # locations. Users should enable the Data Catalog API in the project identified + # by the `parent` parameter (see [Data Catalog Resource Project] (https://cloud. + # google.com/data-catalog/docs/concepts/resource-project) for more information). # @param [String] parent - # Required. The name of the project this entry group is in. Example: - # * projects/`project_id`/locations/`location` - # Note that this EntryGroup and its child resources may not actually be - # stored in the location in this name. + # Required. The name of the project this entry group is in. Example: * projects/` + # project_id`/locations/`location` Note that this EntryGroup and its child + # resources may not actually be stored in the location in this name. # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup] google_cloud_datacatalog_v1beta1_entry_group_object # @param [String] entry_group_id - # Required. The id of the entry group to create. - # The id must begin with a letter or underscore, contain only English - # letters, numbers and underscores, and be at most 64 characters. + # Required. The id of the entry group to create. The id must begin with a letter + # or underscore, contain only English letters, numbers and underscores, and be + # at most 64 characters. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -187,13 +174,12 @@ module Google end # Deletes an EntryGroup. Only entry groups that do not contain entries can be - # deleted. Users should enable the Data Catalog API in the project - # identified by the `name` parameter (see [Data Catalog Resource Project] - # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for - # more information). + # deleted. Users should enable the Data Catalog API in the project identified by + # the `name` parameter (see [Data Catalog Resource Project] (https://cloud. + # google.com/data-catalog/docs/concepts/resource-project) for more information). # @param [String] name - # Required. The name of the entry group. For example, - # `projects/`project_id`/locations/`location`/entryGroups/`entry_group_id``. + # Required. The name of the entry group. For example, `projects/`project_id`/ + # locations/`location`/entryGroups/`entry_group_id``. # @param [Boolean] force # Optional. If true, deletes all entries in the entry group. # @param [String] fields @@ -226,8 +212,8 @@ module Google # Gets an EntryGroup. # @param [String] name - # Required. The name of the entry group. For example, - # `projects/`project_id`/locations/`location`/entryGroups/`entry_group_id``. + # Required. The name of the entry group. For example, `projects/`project_id`/ + # locations/`location`/entryGroups/`entry_group_id``. # @param [String] read_mask # The fields to return. If not set or empty, all fields are returned. # @param [String] fields @@ -258,23 +244,18 @@ module Google execute_or_queue_command(command, &block) end - # Gets the access control policy for a resource. A `NOT_FOUND` error - # is returned if the resource does not exist. An empty policy is returned - # if the resource exists but does not have a policy set on it. - # Supported resources are: - # - Tag templates. - # - Entries. - # - Entry groups. - # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub - # and any external Google Cloud Platform resources synced to Data Catalog. - # Callers must have following Google IAM permission - # - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag - # templates. - # - `datacatalog.entries.getIamPolicy` to get policies on entries. - # - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. + # Gets the access control policy for a resource. A `NOT_FOUND` error is returned + # if the resource does not exist. An empty policy is returned if the resource + # exists but does not have a policy set on it. Supported resources are: - Tag + # templates. - Entries. - Entry groups. Note, this method cannot be used to + # manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform + # resources synced to Data Catalog. Callers must have following Google IAM + # permission - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag + # templates. - `datacatalog.entries.getIamPolicy` to get policies on entries. - ` + # datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::DatacatalogV1beta1::GetIamPolicyRequest] get_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -308,17 +289,14 @@ module Google # Lists entry groups. # @param [String] parent # Required. The name of the location that contains the entry groups, which can - # be - # provided in URL format. Example: - # * projects/`project_id`/locations/`location` + # be provided in URL format. Example: * projects/`project_id`/locations/` + # location` # @param [Fixnum] page_size # Optional. The maximum number of items to return. Default is 10. Max limit is - # 1000. - # Throws an invalid argument for `page_size > 1000`. + # 1000. Throws an invalid argument for `page_size > 1000`. # @param [String] page_token # Optional. Token that specifies which page is requested. If empty, the first - # page is - # returned. + # page is returned. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -350,14 +328,13 @@ module Google # Updates an EntryGroup. The user should enable the Data Catalog API in the # project identified by the `entry_group.name` parameter (see [Data Catalog - # Resource Project] - # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for - # more information). + # Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/ + # resource-project) for more information). # @param [String] name - # The resource name of the entry group in URL format. Example: - # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id` - # Note that this EntryGroup and its child resources may not actually be - # stored in the location in this name. + # The resource name of the entry group in URL format. Example: * projects/` + # project_id`/locations/`location`/entryGroups/`entry_group_id` Note that this + # EntryGroup and its child resources may not actually be stored in the location + # in this name. # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup] google_cloud_datacatalog_v1beta1_entry_group_object # @param [String] update_mask # The fields to update on the entry group. If absent or empty, all modifiable @@ -392,22 +369,17 @@ module Google execute_or_queue_command(command, &block) end - # Sets the access control policy for a resource. Replaces any existing - # policy. - # Supported resources are: - # - Tag templates. - # - Entries. - # - Entry groups. - # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub - # and any external Google Cloud Platform resources synced to Data Catalog. - # Callers must have following Google IAM permission - # - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag - # templates. - # - `datacatalog.entries.setIamPolicy` to set policies on entries. - # - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. + # Sets the access control policy for a resource. Replaces any existing policy. + # Supported resources are: - Tag templates. - Entries. - Entry groups. Note, + # this method cannot be used to manage policies for BigQuery, Pub/Sub and any + # external Google Cloud Platform resources synced to Data Catalog. Callers must + # have following Google IAM permission - `datacatalog.tagTemplates.setIamPolicy` + # to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set + # policies on entries. - `datacatalog.entryGroups.setIamPolicy` to set policies + # on entry groups. # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being specified. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::DatacatalogV1beta1::SetIamPolicyRequest] set_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -438,20 +410,15 @@ module Google execute_or_queue_command(command, &block) end - # Returns the caller's permissions on a resource. - # If the resource does not exist, an empty set of permissions is returned - # (We don't return a `NOT_FOUND` error). - # Supported resources are: - # - Tag templates. - # - Entries. - # - Entry groups. - # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub - # and any external Google Cloud Platform resources synced to Data Catalog. - # A caller is not required to have Google IAM permission to make this - # request. + # Returns the caller's permissions on a resource. If the resource does not exist, + # an empty set of permissions is returned (We don't return a `NOT_FOUND` error). + # Supported resources are: - Tag templates. - Entries. - Entry groups. Note, + # this method cannot be used to manage policies for BigQuery, Pub/Sub and any + # external Google Cloud Platform resources synced to Data Catalog. A caller is + # not required to have Google IAM permission to make this request. # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy detail is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::DatacatalogV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -482,18 +449,16 @@ module Google execute_or_queue_command(command, &block) end - # Creates an entry. Only entries of 'FILESET' type or user-specified type can - # be created. - # Users should enable the Data Catalog API in the project identified by - # the `parent` parameter (see [Data Catalog Resource Project] - # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for - # more information). + # Creates an entry. Only entries of 'FILESET' type or user-specified type can be + # created. Users should enable the Data Catalog API in the project identified by + # the `parent` parameter (see [Data Catalog Resource Project] (https://cloud. + # google.com/data-catalog/docs/concepts/resource-project) for more information). # A maximum of 100,000 entries may be created per entry group. # @param [String] parent - # Required. The name of the entry group this entry is in. Example: - # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id` - # Note that this Entry and its child resources may not actually be stored in - # the location in this name. + # Required. The name of the entry group this entry is in. Example: * projects/` + # project_id`/locations/`location`/entryGroups/`entry_group_id` Note that this + # Entry and its child resources may not actually be stored in the location in + # this name. # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry] google_cloud_datacatalog_v1beta1_entry_object # @param [String] entry_id # Required. The id of the entry to create. @@ -527,17 +492,13 @@ module Google execute_or_queue_command(command, &block) end - # Deletes an existing entry. Only entries created through - # CreateEntry - # method can be deleted. - # Users should enable the Data Catalog API in the project identified by - # the `name` parameter (see [Data Catalog Resource Project] - # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for - # more information). + # Deletes an existing entry. Only entries created through CreateEntry method can + # be deleted. Users should enable the Data Catalog API in the project identified + # by the `name` parameter (see [Data Catalog Resource Project] (https://cloud. + # google.com/data-catalog/docs/concepts/resource-project) for more information). # @param [String] name - # Required. The name of the entry. Example: - # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/ - # entries/`entry_id` + # Required. The name of the entry. Example: * projects/`project_id`/locations/` + # location`/entryGroups/`entry_group_id`/entries/`entry_id` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -567,9 +528,8 @@ module Google # Gets an entry. # @param [String] name - # Required. The name of the entry. Example: - # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/ - # entries/`entry_id` + # Required. The name of the entry. Example: * projects/`project_id`/locations/` + # location`/entryGroups/`entry_group_id`/entries/`entry_id` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -597,23 +557,18 @@ module Google execute_or_queue_command(command, &block) end - # Gets the access control policy for a resource. A `NOT_FOUND` error - # is returned if the resource does not exist. An empty policy is returned - # if the resource exists but does not have a policy set on it. - # Supported resources are: - # - Tag templates. - # - Entries. - # - Entry groups. - # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub - # and any external Google Cloud Platform resources synced to Data Catalog. - # Callers must have following Google IAM permission - # - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag - # templates. - # - `datacatalog.entries.getIamPolicy` to get policies on entries. - # - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. + # Gets the access control policy for a resource. A `NOT_FOUND` error is returned + # if the resource does not exist. An empty policy is returned if the resource + # exists but does not have a policy set on it. Supported resources are: - Tag + # templates. - Entries. - Entry groups. Note, this method cannot be used to + # manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform + # resources synced to Data Catalog. Callers must have following Google IAM + # permission - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag + # templates. - `datacatalog.entries.getIamPolicy` to get policies on entries. - ` + # datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::DatacatalogV1beta1::GetIamPolicyRequest] get_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -646,9 +601,9 @@ module Google # Lists entries. # @param [String] parent - # Required. The name of the entry group that contains the entries, which can - # be provided in URL format. Example: - # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id` + # Required. The name of the entry group that contains the entries, which can be + # provided in URL format. Example: * projects/`project_id`/locations/`location`/ + # entryGroups/`entry_group_id` # @param [Fixnum] page_size # The maximum number of items to return. Default is 10. Max limit is 1000. # Throws an invalid argument for `page_size > 1000`. @@ -656,10 +611,9 @@ module Google # Token that specifies which page is requested. If empty, the first page is # returned. # @param [String] read_mask - # The fields to return for each Entry. If not set or empty, all - # fields are returned. - # For example, setting read_mask to contain only one path "name" will cause - # ListEntries to return a list of Entries with only "name" field. + # The fields to return for each Entry. If not set or empty, all fields are + # returned. For example, setting read_mask to contain only one path "name" will + # cause ListEntries to return a list of Entries with only "name" field. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -690,38 +644,24 @@ module Google execute_or_queue_command(command, &block) end - # Updates an existing entry. - # Users should enable the Data Catalog API in the project identified by - # the `entry.name` parameter (see [Data Catalog Resource Project] - # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for - # more information). + # Updates an existing entry. Users should enable the Data Catalog API in the + # project identified by the `entry.name` parameter (see [Data Catalog Resource + # Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) + # for more information). # @param [String] name - # The Data Catalog resource name of the entry in URL format. Example: - # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/ - # entries/`entry_id` - # Note that this Entry and its child resources may not actually be stored in - # the location in this name. + # The Data Catalog resource name of the entry in URL format. Example: * projects/ + # `project_id`/locations/`location`/entryGroups/`entry_group_id`/entries/` + # entry_id` Note that this Entry and its child resources may not actually be + # stored in the location in this name. # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry] google_cloud_datacatalog_v1beta1_entry_object # @param [String] update_mask - # The fields to update on the entry. If absent or empty, all modifiable - # fields are updated. - # The following fields are modifiable: - # * For entries with type `DATA_STREAM`: - # * `schema` - # * For entries with type `FILESET` - # * `schema` - # * `display_name` - # * `description` - # * `gcs_fileset_spec` - # * `gcs_fileset_spec.file_patterns` - # * For entries with `user_specified_type` - # * `schema` - # * `display_name` - # * `description` - # * user_specified_type - # * user_specified_system - # * linked_resource - # * source_system_timestamps + # The fields to update on the entry. If absent or empty, all modifiable fields + # are updated. The following fields are modifiable: * For entries with type ` + # DATA_STREAM`: * `schema` * For entries with type `FILESET` * `schema` * ` + # display_name` * `description` * `gcs_fileset_spec` * `gcs_fileset_spec. + # file_patterns` * For entries with `user_specified_type` * `schema` * ` + # display_name` * `description` * user_specified_type * user_specified_system * + # linked_resource * source_system_timestamps # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -752,20 +692,15 @@ module Google execute_or_queue_command(command, &block) end - # Returns the caller's permissions on a resource. - # If the resource does not exist, an empty set of permissions is returned - # (We don't return a `NOT_FOUND` error). - # Supported resources are: - # - Tag templates. - # - Entries. - # - Entry groups. - # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub - # and any external Google Cloud Platform resources synced to Data Catalog. - # A caller is not required to have Google IAM permission to make this - # request. + # Returns the caller's permissions on a resource. If the resource does not exist, + # an empty set of permissions is returned (We don't return a `NOT_FOUND` error). + # Supported resources are: - Tag templates. - Entries. - Entry groups. Note, + # this method cannot be used to manage policies for BigQuery, Pub/Sub and any + # external Google Cloud Platform resources synced to Data Catalog. A caller is + # not required to have Google IAM permission to make this request. # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy detail is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::DatacatalogV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -796,23 +731,17 @@ module Google execute_or_queue_command(command, &block) end - # Creates a tag on an Entry. - # Note: The project identified by the `parent` parameter for the - # [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/ - # projects.locations.entryGroups.entries.tags/create#path-parameters) - # and the - # [tag - # template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/ - # projects.locations.tagTemplates/create#path-parameters) + # Creates a tag on an Entry. Note: The project identified by the `parent` + # parameter for the [tag](https://cloud.google.com/data-catalog/docs/reference/ + # rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path- + # parameters) and the [tag template](https://cloud.google.com/data-catalog/docs/ + # reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters) # used to create the tag must be from the same organization. # @param [String] parent # Required. The name of the resource to attach this tag to. Tags can be attached - # to - # Entries. Example: - # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/ - # entries/`entry_id` - # Note that this Tag and its child resources may not actually be stored in - # the location in this name. + # to Entries. Example: * projects/`project_id`/locations/`location`/entryGroups/` + # entry_group_id`/entries/`entry_id` Note that this Tag and its child resources + # may not actually be stored in the location in this name. # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag] google_cloud_datacatalog_v1beta1_tag_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -845,9 +774,9 @@ module Google # Deletes a tag. # @param [String] name - # Required. The name of the tag to delete. Example: - # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/ - # entries/`entry_id`/tags/`tag_id` + # Required. The name of the tag to delete. Example: * projects/`project_id`/ + # locations/`location`/entryGroups/`entry_group_id`/entries/`entry_id`/tags/` + # tag_id` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -878,13 +807,9 @@ module Google # Lists the tags on an Entry. # @param [String] parent # Required. The name of the Data Catalog resource to list the tags of. The - # resource - # could be an Entry or an - # EntryGroup. - # Examples: - # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id` - # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/ - # entries/`entry_id` + # resource could be an Entry or an EntryGroup. Examples: * projects/`project_id`/ + # locations/`location`/entryGroups/`entry_group_id` * projects/`project_id`/ + # locations/`location`/entryGroups/`entry_group_id`/entries/`entry_id` # @param [Fixnum] page_size # The maximum number of tags to return. Default is 10. Max limit is 1000. # @param [String] page_token @@ -921,15 +846,14 @@ module Google # Updates an existing tag. # @param [String] name - # The resource name of the tag in URL format. Example: - # * projects/`project_id`/locations/`location`/entrygroups/`entry_group_id`/ - # entries/`entry_id`/tags/`tag_id` - # where `tag_id` is a system-generated identifier. - # Note that this Tag may not actually be stored in the location in this name. + # The resource name of the tag in URL format. Example: * projects/`project_id`/ + # locations/`location`/entrygroups/`entry_group_id`/entries/`entry_id`/tags/` + # tag_id` where `tag_id` is a system-generated identifier. Note that this Tag + # may not actually be stored in the location in this name. # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag] google_cloud_datacatalog_v1beta1_tag_object # @param [String] update_mask - # The fields to update on the Tag. If absent or empty, all modifiable fields - # are updated. Currently the only modifiable field is the field `fields`. + # The fields to update on the Tag. If absent or empty, all modifiable fields are + # updated. Currently the only modifiable field is the field `fields`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -960,23 +884,17 @@ module Google execute_or_queue_command(command, &block) end - # Creates a tag on an Entry. - # Note: The project identified by the `parent` parameter for the - # [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/ - # projects.locations.entryGroups.entries.tags/create#path-parameters) - # and the - # [tag - # template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/ - # projects.locations.tagTemplates/create#path-parameters) + # Creates a tag on an Entry. Note: The project identified by the `parent` + # parameter for the [tag](https://cloud.google.com/data-catalog/docs/reference/ + # rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path- + # parameters) and the [tag template](https://cloud.google.com/data-catalog/docs/ + # reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters) # used to create the tag must be from the same organization. # @param [String] parent # Required. The name of the resource to attach this tag to. Tags can be attached - # to - # Entries. Example: - # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/ - # entries/`entry_id` - # Note that this Tag and its child resources may not actually be stored in - # the location in this name. + # to Entries. Example: * projects/`project_id`/locations/`location`/entryGroups/` + # entry_group_id`/entries/`entry_id` Note that this Tag and its child resources + # may not actually be stored in the location in this name. # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag] google_cloud_datacatalog_v1beta1_tag_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1009,9 +927,9 @@ module Google # Deletes a tag. # @param [String] name - # Required. The name of the tag to delete. Example: - # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/ - # entries/`entry_id`/tags/`tag_id` + # Required. The name of the tag to delete. Example: * projects/`project_id`/ + # locations/`location`/entryGroups/`entry_group_id`/entries/`entry_id`/tags/` + # tag_id` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1042,13 +960,9 @@ module Google # Lists the tags on an Entry. # @param [String] parent # Required. The name of the Data Catalog resource to list the tags of. The - # resource - # could be an Entry or an - # EntryGroup. - # Examples: - # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id` - # * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/ - # entries/`entry_id` + # resource could be an Entry or an EntryGroup. Examples: * projects/`project_id`/ + # locations/`location`/entryGroups/`entry_group_id` * projects/`project_id`/ + # locations/`location`/entryGroups/`entry_group_id`/entries/`entry_id` # @param [Fixnum] page_size # The maximum number of tags to return. Default is 10. Max limit is 1000. # @param [String] page_token @@ -1085,15 +999,14 @@ module Google # Updates an existing tag. # @param [String] name - # The resource name of the tag in URL format. Example: - # * projects/`project_id`/locations/`location`/entrygroups/`entry_group_id`/ - # entries/`entry_id`/tags/`tag_id` - # where `tag_id` is a system-generated identifier. - # Note that this Tag may not actually be stored in the location in this name. + # The resource name of the tag in URL format. Example: * projects/`project_id`/ + # locations/`location`/entrygroups/`entry_group_id`/entries/`entry_id`/tags/` + # tag_id` where `tag_id` is a system-generated identifier. Note that this Tag + # may not actually be stored in the location in this name. # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag] google_cloud_datacatalog_v1beta1_tag_object # @param [String] update_mask - # The fields to update on the Tag. If absent or empty, all modifiable fields - # are updated. Currently the only modifiable field is the field `fields`. + # The fields to update on the Tag. If absent or empty, all modifiable fields are + # updated. Currently the only modifiable field is the field `fields`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1124,16 +1037,14 @@ module Google execute_or_queue_command(command, &block) end - # Creates a tag template. The user should enable the Data Catalog API in - # the project identified by the `parent` parameter (see [Data Catalog - # Resource + # Creates a tag template. The user should enable the Data Catalog API in the + # project identified by the `parent` parameter (see [Data Catalog Resource # Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) # for more information). # @param [String] parent - # Required. The name of the project and the template location - # [region](https://cloud.google.com/data-catalog/docs/concepts/regions. - # Example: - # * projects/`project_id`/locations/us-central1 + # Required. The name of the project and the template location [region](https:// + # cloud.google.com/data-catalog/docs/concepts/regions. Example: * projects/` + # project_id`/locations/us-central1 # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate] google_cloud_datacatalog_v1beta1_tag_template_object # @param [String] tag_template_id # Required. The id of the tag template to create. @@ -1167,18 +1078,17 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a tag template and all tags using the template. - # Users should enable the Data Catalog API in the project identified by - # the `name` parameter (see [Data Catalog Resource Project] - # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for - # more information). + # Deletes a tag template and all tags using the template. Users should enable + # the Data Catalog API in the project identified by the `name` parameter (see [ + # Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/ + # concepts/resource-project) for more information). # @param [String] name - # Required. The name of the tag template to delete. Example: - # * projects/`project_id`/locations/`location`/tagTemplates/`tag_template_id` + # Required. The name of the tag template to delete. Example: * projects/` + # project_id`/locations/`location`/tagTemplates/`tag_template_id` # @param [Boolean] force - # Required. Currently, this field must always be set to `true`. - # This confirms the deletion of any possible tags using this template. - # `force = false` will be supported in the future. + # Required. Currently, this field must always be set to `true`. This confirms + # the deletion of any possible tags using this template. `force = false` will be + # supported in the future. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1209,8 +1119,8 @@ module Google # Gets a tag template. # @param [String] name - # Required. The name of the tag template. Example: - # * projects/`project_id`/locations/`location`/tagTemplates/`tag_template_id` + # Required. The name of the tag template. Example: * projects/`project_id`/ + # locations/`location`/tagTemplates/`tag_template_id` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1238,23 +1148,18 @@ module Google execute_or_queue_command(command, &block) end - # Gets the access control policy for a resource. A `NOT_FOUND` error - # is returned if the resource does not exist. An empty policy is returned - # if the resource exists but does not have a policy set on it. - # Supported resources are: - # - Tag templates. - # - Entries. - # - Entry groups. - # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub - # and any external Google Cloud Platform resources synced to Data Catalog. - # Callers must have following Google IAM permission - # - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag - # templates. - # - `datacatalog.entries.getIamPolicy` to get policies on entries. - # - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. + # Gets the access control policy for a resource. A `NOT_FOUND` error is returned + # if the resource does not exist. An empty policy is returned if the resource + # exists but does not have a policy set on it. Supported resources are: - Tag + # templates. - Entries. - Entry groups. Note, this method cannot be used to + # manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform + # resources synced to Data Catalog. Callers must have following Google IAM + # permission - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag + # templates. - `datacatalog.entries.getIamPolicy` to get policies on entries. - ` + # datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::DatacatalogV1beta1::GetIamPolicyRequest] get_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1285,24 +1190,22 @@ module Google execute_or_queue_command(command, &block) end - # Updates a tag template. This method cannot be used to update the fields of - # a template. The tag template fields are represented as separate resources - # and should be updated using their own create/update/delete methods. - # Users should enable the Data Catalog API in the project identified by - # the `tag_template.name` parameter (see [Data Catalog Resource Project] - # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for - # more information). + # Updates a tag template. This method cannot be used to update the fields of a + # template. The tag template fields are represented as separate resources and + # should be updated using their own create/update/delete methods. Users should + # enable the Data Catalog API in the project identified by the `tag_template. + # name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/ + # data-catalog/docs/concepts/resource-project) for more information). # @param [String] name - # The resource name of the tag template in URL format. Example: - # * projects/`project_id`/locations/`location`/tagTemplates/`tag_template_id` - # Note that this TagTemplate and its child resources may not actually be - # stored in the location in this name. + # The resource name of the tag template in URL format. Example: * projects/` + # project_id`/locations/`location`/tagTemplates/`tag_template_id` Note that this + # TagTemplate and its child resources may not actually be stored in the location + # in this name. # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate] google_cloud_datacatalog_v1beta1_tag_template_object # @param [String] update_mask - # The field mask specifies the parts of the template to overwrite. - # Allowed fields: - # * `display_name` - # If absent or empty, all of the allowed fields above will be updated. + # The field mask specifies the parts of the template to overwrite. Allowed + # fields: * `display_name` If absent or empty, all of the allowed fields above + # will be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1333,22 +1236,17 @@ module Google execute_or_queue_command(command, &block) end - # Sets the access control policy for a resource. Replaces any existing - # policy. - # Supported resources are: - # - Tag templates. - # - Entries. - # - Entry groups. - # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub - # and any external Google Cloud Platform resources synced to Data Catalog. - # Callers must have following Google IAM permission - # - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag - # templates. - # - `datacatalog.entries.setIamPolicy` to set policies on entries. - # - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. + # Sets the access control policy for a resource. Replaces any existing policy. + # Supported resources are: - Tag templates. - Entries. - Entry groups. Note, + # this method cannot be used to manage policies for BigQuery, Pub/Sub and any + # external Google Cloud Platform resources synced to Data Catalog. Callers must + # have following Google IAM permission - `datacatalog.tagTemplates.setIamPolicy` + # to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set + # policies on entries. - `datacatalog.entryGroups.setIamPolicy` to set policies + # on entry groups. # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being specified. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::DatacatalogV1beta1::SetIamPolicyRequest] set_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1379,20 +1277,15 @@ module Google execute_or_queue_command(command, &block) end - # Returns the caller's permissions on a resource. - # If the resource does not exist, an empty set of permissions is returned - # (We don't return a `NOT_FOUND` error). - # Supported resources are: - # - Tag templates. - # - Entries. - # - Entry groups. - # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub - # and any external Google Cloud Platform resources synced to Data Catalog. - # A caller is not required to have Google IAM permission to make this - # request. + # Returns the caller's permissions on a resource. If the resource does not exist, + # an empty set of permissions is returned (We don't return a `NOT_FOUND` error). + # Supported resources are: - Tag templates. - Entries. - Entry groups. Note, + # this method cannot be used to manage policies for BigQuery, Pub/Sub and any + # external Google Cloud Platform resources synced to Data Catalog. A caller is + # not required to have Google IAM permission to make this request. # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy detail is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::DatacatalogV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1423,23 +1316,20 @@ module Google execute_or_queue_command(command, &block) end - # Creates a field in a tag template. The user should enable the Data Catalog - # API in the project identified by the `parent` parameter (see - # [Data Catalog Resource - # Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) - # for more information). + # Creates a field in a tag template. The user should enable the Data Catalog API + # in the project identified by the `parent` parameter (see [Data Catalog + # Resource Project](https://cloud.google.com/data-catalog/docs/concepts/resource- + # project) for more information). # @param [String] parent - # Required. The name of the project and the template location - # [region](https://cloud.google.com/data-catalog/docs/concepts/regions). - # Example: - # * projects/`project_id`/locations/us-central1/tagTemplates/`tag_template_id` + # Required. The name of the project and the template location [region](https:// + # cloud.google.com/data-catalog/docs/concepts/regions). Example: * projects/` + # project_id`/locations/us-central1/tagTemplates/`tag_template_id` # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField] google_cloud_datacatalog_v1beta1_tag_template_field_object # @param [String] tag_template_field_id - # Required. The ID of the tag template field to create. - # Field ids can contain letters (both uppercase and lowercase), numbers - # (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 - # character long and at most 128 characters long. Field IDs must also be - # unique within their template. + # Required. The ID of the tag template field to create. Field ids can contain + # letters (both uppercase and lowercase), numbers (0-9), underscores (_) and + # dashes (-). Field IDs must be at least 1 character long and at most 128 + # characters long. Field IDs must also be unique within their template. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1470,19 +1360,18 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a field in a tag template and all uses of that field. - # Users should enable the Data Catalog API in the project identified by - # the `name` parameter (see [Data Catalog Resource Project] - # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for - # more information). + # Deletes a field in a tag template and all uses of that field. Users should + # enable the Data Catalog API in the project identified by the `name` parameter ( + # see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/ + # docs/concepts/resource-project) for more information). # @param [String] name - # Required. The name of the tag template field to delete. Example: - # * projects/`project_id`/locations/`location`/tagTemplates/`tag_template_id`/ - # fields/`tag_template_field_id` + # Required. The name of the tag template field to delete. Example: * projects/` + # project_id`/locations/`location`/tagTemplates/`tag_template_id`/fields/` + # tag_template_field_id` # @param [Boolean] force - # Required. Currently, this field must always be set to `true`. - # This confirms the deletion of this field from any tags using this field. - # `force = false` will be supported in the future. + # Required. Currently, this field must always be set to `true`. This confirms + # the deletion of this field from any tags using this field. `force = false` + # will be supported in the future. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1512,27 +1401,22 @@ module Google end # Updates a field in a tag template. This method cannot be used to update the - # field type. Users should enable the Data Catalog API in the project - # identified by the `name` parameter (see [Data Catalog Resource Project] - # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for - # more information). + # field type. Users should enable the Data Catalog API in the project identified + # by the `name` parameter (see [Data Catalog Resource Project] (https://cloud. + # google.com/data-catalog/docs/concepts/resource-project) for more information). # @param [String] name - # Required. The name of the tag template field. Example: - # * projects/`project_id`/locations/`location`/tagTemplates/`tag_template_id`/ - # fields/`tag_template_field_id` + # Required. The name of the tag template field. Example: * projects/`project_id`/ + # locations/`location`/tagTemplates/`tag_template_id`/fields/` + # tag_template_field_id` # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField] google_cloud_datacatalog_v1beta1_tag_template_field_object # @param [String] update_mask # Optional. The field mask specifies the parts of the template to be updated. - # Allowed fields: - # * `display_name` - # * `type.enum_type` - # * `is_required` - # If `update_mask` is not set or empty, all of the allowed fields above will - # be updated. - # When updating an enum type, the provided values will be merged with the - # existing values. Therefore, enum values can only be added, existing enum - # values cannot be deleted nor renamed. Updating a template field from - # optional to required is NOT allowed. + # Allowed fields: * `display_name` * `type.enum_type` * `is_required` If ` + # update_mask` is not set or empty, all of the allowed fields above will be + # updated. When updating an enum type, the provided values will be merged with + # the existing values. Therefore, enum values can only be added, existing enum + # values cannot be deleted nor renamed. Updating a template field from optional + # to required is NOT allowed. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1563,15 +1447,14 @@ module Google execute_or_queue_command(command, &block) end - # Renames a field in a tag template. The user should enable the Data Catalog - # API in the project identified by the `name` parameter (see [Data Catalog - # Resource + # Renames a field in a tag template. The user should enable the Data Catalog API + # in the project identified by the `name` parameter (see [Data Catalog Resource # Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) # for more information). # @param [String] name - # Required. The name of the tag template. Example: - # * projects/`project_id`/locations/`location`/tagTemplates/`tag_template_id`/ - # fields/`tag_template_field_id` + # Required. The name of the tag template. Example: * projects/`project_id`/ + # locations/`location`/tagTemplates/`tag_template_id`/fields/` + # tag_template_field_id` # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest] google_cloud_datacatalog_v1beta1_rename_tag_template_field_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1603,12 +1486,12 @@ module Google end # Renames an enum value in a tag template. The enum values have to be unique - # within one enum field. Thus, an enum value cannot be renamed with a name - # used in any other enum value within the same enum field. + # within one enum field. Thus, an enum value cannot be renamed with a name used + # in any other enum value within the same enum field. # @param [String] name - # Required. The name of the enum field value. Example: - # * projects/`project_id`/locations/`location`/tagTemplates/`tag_template_id`/ - # fields/`tag_template_field_id`/enumValues/`enum_value_display_name` + # Required. The name of the enum field value. Example: * projects/`project_id`/ + # locations/`location`/tagTemplates/`tag_template_id`/fields/` + # tag_template_field_id`/enumValues/`enum_value_display_name` # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest] google_cloud_datacatalog_v1beta1_rename_tag_template_field_enum_value_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1672,11 +1555,11 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a taxonomy. This operation will also delete all - # policy tags in this taxonomy along with their associated policies. + # Deletes a taxonomy. This operation will also delete all policy tags in this + # taxonomy along with their associated policies. # @param [String] name - # Required. Resource name of the taxonomy to be deleted. All policy tags in - # this taxonomy will also be deleted. + # Required. Resource name of the taxonomy to be deleted. All policy tags in this + # taxonomy will also be deleted. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1704,12 +1587,12 @@ module Google execute_or_queue_command(command, &block) end - # Exports all taxonomies and their policy tags in a project. - # This method generates SerializedTaxonomy protos with nested policy tags - # that can be used as an input for future ImportTaxonomies calls. + # Exports all taxonomies and their policy tags in a project. This method + # generates SerializedTaxonomy protos with nested policy tags that can be used + # as an input for future ImportTaxonomies calls. # @param [String] parent - # Required. Resource name of the project that taxonomies to be exported - # will share. + # Required. Resource name of the project that taxonomies to be exported will + # share. # @param [Boolean] serialized_taxonomies # Export taxonomies as serialized taxonomies. # @param [Array, String] taxonomies @@ -1775,8 +1658,8 @@ module Google # Gets the IAM policy for a taxonomy or a policy tag. # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::DatacatalogV1beta1::GetIamPolicyRequest] get_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1807,10 +1690,9 @@ module Google execute_or_queue_command(command, &block) end - # Imports all taxonomies and their policy tags to a project as new - # taxonomies. - # This method provides a bulk taxonomy / policy tag creation using nested - # proto structure. + # Imports all taxonomies and their policy tags to a project as new taxonomies. + # This method provides a bulk taxonomy / policy tag creation using nested proto + # structure. # @param [String] parent # Required. Resource name of project that the imported taxonomies will belong to. # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest] google_cloud_datacatalog_v1beta1_import_taxonomies_request_object @@ -1843,13 +1725,13 @@ module Google execute_or_queue_command(command, &block) end - # Lists all taxonomies in a project in a particular location that the caller - # has permission to view. + # Lists all taxonomies in a project in a particular location that the caller has + # permission to view. # @param [String] parent # Required. Resource name of the project to list the taxonomies of. # @param [Fixnum] page_size - # The maximum number of items to return. Must be a value between 1 and 1000. - # If not set, defaults to 50. + # The maximum number of items to return. Must be a value between 1 and 1000. If + # not set, defaults to 50. # @param [String] page_token # The next_page_token value returned from a previous list request, if any. If # not set, defaults to an empty string. @@ -1884,15 +1766,13 @@ module Google # Updates a taxonomy. # @param [String] name - # Output only. Resource name of this taxonomy, whose format is: - # "projects/`project_number`/locations/`location_id`/taxonomies/`id`". + # Output only. Resource name of this taxonomy, whose format is: "projects/` + # project_number`/locations/`location_id`/taxonomies/`id`". # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy] google_cloud_datacatalog_v1beta1_taxonomy_object # @param [String] update_mask - # The update mask applies to the resource. For the `FieldMask` definition, - # see + # The update mask applies to the resource. For the `FieldMask` definition, see # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf# - # fieldmask - # If not set, defaults to all of the fields that are allowed to update. + # fieldmask If not set, defaults to all of the fields that are allowed to update. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1925,8 +1805,8 @@ module Google # Sets the IAM policy for a taxonomy or a policy tag. # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being specified. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::DatacatalogV1beta1::SetIamPolicyRequest] set_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1957,11 +1837,11 @@ module Google execute_or_queue_command(command, &block) end - # Returns the permissions that a caller has on the specified taxonomy or - # policy tag. + # Returns the permissions that a caller has on the specified taxonomy or policy + # tag. # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy detail is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::DatacatalogV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2088,8 +1968,8 @@ module Google # Gets the IAM policy for a taxonomy or a policy tag. # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::DatacatalogV1beta1::GetIamPolicyRequest] get_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2124,8 +2004,8 @@ module Google # @param [String] parent # Required. Resource name of the taxonomy to list the policy tags of. # @param [Fixnum] page_size - # The maximum number of items to return. Must be a value between 1 and 1000. - # If not set, defaults to 50. + # The maximum number of items to return. Must be a value between 1 and 1000. If + # not set, defaults to 50. # @param [String] page_token # The next_page_token value returned from a previous List request, if any. If # not set, defaults to an empty string. @@ -2160,19 +2040,18 @@ module Google # Updates a policy tag. # @param [String] name - # Output only. Resource name of this policy tag, whose format is: - # "projects/`project_number`/locations/`location_id`/taxonomies/`taxonomy_id`/ - # policyTags/`id`". + # Output only. Resource name of this policy tag, whose format is: "projects/` + # project_number`/locations/`location_id`/taxonomies/`taxonomy_id`/policyTags/` + # id`". # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1PolicyTag] google_cloud_datacatalog_v1beta1_policy_tag_object # @param [String] update_mask # The update mask applies to the resource. Only display_name, description and # parent_policy_tag can be updated and thus can be listed in the mask. If # update_mask is not provided, all allowed fields (i.e. display_name, - # description and parent) will be updated. For more information including the - # `FieldMask` definition, see - # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf# - # fieldmask - # If not set, defaults to all of the fields that are allowed to update. + # description and parent) will be updated. For more information including the ` + # FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/ + # reference/google.protobuf#fieldmask If not set, defaults to all of the fields + # that are allowed to update. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2205,8 +2084,8 @@ module Google # Sets the IAM policy for a taxonomy or a policy tag. # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being specified. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::DatacatalogV1beta1::SetIamPolicyRequest] set_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2237,11 +2116,11 @@ module Google execute_or_queue_command(command, &block) end - # Returns the permissions that a caller has on the specified taxonomy or - # policy tag. + # Returns the permissions that a caller has on the specified taxonomy or policy + # tag. # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy detail is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::DatacatalogV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/displayvideo_v1.rb b/generated/google/apis/displayvideo_v1.rb index 9bccfaf04..ff82ce9e3 100644 --- a/generated/google/apis/displayvideo_v1.rb +++ b/generated/google/apis/displayvideo_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/display-video/ module DisplayvideoV1 VERSION = 'V1' - REVISION = '20200720' + REVISION = '20200723' # Create, see, edit, and permanently delete your Display & Video 360 entities and reports AUTH_DISPLAY_VIDEO = 'https://www.googleapis.com/auth/display-video' diff --git a/generated/google/apis/doubleclicksearch_v2.rb b/generated/google/apis/doubleclicksearch_v2.rb index 22e8986fe..fdb6213a2 100644 --- a/generated/google/apis/doubleclicksearch_v2.rb +++ b/generated/google/apis/doubleclicksearch_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/search-ads module DoubleclicksearchV2 VERSION = 'V2' - REVISION = '20200623' + REVISION = '20200723' # View and manage your advertising data in DoubleClick Search AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch' diff --git a/generated/google/apis/doubleclicksearch_v2/classes.rb b/generated/google/apis/doubleclicksearch_v2/classes.rb index 26e47563d..1d0d9c892 100644 --- a/generated/google/apis/doubleclicksearch_v2/classes.rb +++ b/generated/google/apis/doubleclicksearch_v2/classes.rb @@ -53,8 +53,8 @@ module Google # @return [String] attr_accessor :segmentation_name - # The segmentation type that this availability is for (its default value is - # `FLOODLIGHT`). + # The segmentation type that this availability is for (its default value is ` + # FLOODLIGHT`). # Corresponds to the JSON property `segmentationType` # @return [String] attr_accessor :segmentation_type @@ -109,9 +109,8 @@ module Google # @return [Fixnum] attr_accessor :campaign_id - # Sales channel for the product. Acceptable values are:
    - #
  • "`local`": a physical store
  • "`online`": - # an online store
+ # Sales channel for the product. Acceptable values are: - "`local`": a physical + # store - "`online`": an online store # Corresponds to the JSON property `channel` # @return [String] attr_accessor :channel @@ -121,12 +120,11 @@ module Google # @return [String] attr_accessor :click_id - # For offline conversions, advertisers provide this ID. Advertisers can - # specify any ID that is meaningful to them. Each conversion in a request - # must specify a unique ID, and the combination of ID and timestamp must be - # unique amongst all conversions within the advertiser.
For online - # conversions, DS copies the `dsConversionId` or - # `floodlightOrderId` into this property depending on the + # For offline conversions, advertisers provide this ID. Advertisers can specify + # any ID that is meaningful to them. Each conversion in a request must specify a + # unique ID, and the combination of ID and timestamp must be unique amongst all + # conversions within the advertiser. For online conversions, DS copies the ` + # dsConversionId` or `floodlightOrderId` into this property depending on the # advertiser's Floodlight instructions. # Corresponds to the JSON property `conversionId` # @return [String] @@ -190,14 +188,14 @@ module Google # @return [String] attr_accessor :floodlight_order_id - # ID that DS generates and uses to uniquely identify the inventory account - # that contains the product. + # ID that DS generates and uses to uniquely identify the inventory account that + # contains the product. # Corresponds to the JSON property `inventoryAccountId` # @return [Fixnum] attr_accessor :inventory_account_id - # The country registered for the Merchant Center feed that contains the - # product. Use an ISO 3166 code to specify a country. + # The country registered for the Merchant Center feed that contains the product. + # Use an ISO 3166 code to specify a country. # Corresponds to the JSON property `productCountry` # @return [String] attr_accessor :product_country @@ -212,8 +210,8 @@ module Google # @return [String] attr_accessor :product_id - # The language registered for the Merchant Center feed that contains the - # product. Use an ISO 639 code to specify a language. + # The language registered for the Merchant Center feed that contains the product. + # Use an ISO 639 code to specify a language. # Corresponds to the JSON property `productLanguage` # @return [String] attr_accessor :product_language @@ -223,9 +221,9 @@ module Google # @return [Fixnum] attr_accessor :quantity_millis - # The revenue amount of this `TRANSACTION` conversion, in micros - # (value multiplied by 1000000, no decimal). For example, to specify a - # revenue value of "10" enter "10000000" (10 million) in your request. + # The revenue amount of this `TRANSACTION` conversion, in micros (value + # multiplied by 1000000, no decimal). For example, to specify a revenue value of + # "10" enter "10000000" (10 million) in your request. # Corresponds to the JSON property `revenueMicros` # @return [String] attr_accessor :revenue_micros @@ -242,14 +240,13 @@ module Google # @return [String] attr_accessor :segmentation_name - # The segmentation type of this conversion (for example, - # `FLOODLIGHT`). + # The segmentation type of this conversion (for example, `FLOODLIGHT`). # Corresponds to the JSON property `segmentationType` # @return [String] attr_accessor :segmentation_type - # The state of the conversion, that is, either `ACTIVE` or - # `REMOVED`. Note: state DELETED is deprecated. + # The state of the conversion, that is, either `ACTIVE` or `REMOVED`. Note: + # state DELETED is deprecated. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state @@ -260,13 +257,11 @@ module Google # @return [String] attr_accessor :store_id - # The type of the conversion, that is, either `ACTION` or - # `TRANSACTION`. An `ACTION` conversion is an action by - # the user that has no monetarily quantifiable value, while a - # `TRANSACTION` conversion is an action that does have a - # monetarily quantifiable value. Examples are email list signups - # (`ACTION`) versus ecommerce purchases - # (`TRANSACTION`). + # The type of the conversion, that is, either `ACTION` or `TRANSACTION`. An ` + # ACTION` conversion is an action by the user that has no monetarily + # quantifiable value, while a `TRANSACTION` conversion is an action that does + # have a monetarily quantifiable value. Examples are email list signups (`ACTION` + # ) versus ecommerce purchases (`TRANSACTION`). # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -323,7 +318,7 @@ module Google attr_accessor :conversion # Identifies this as a ConversionList resource. Value: the fixed string - # doubleclicksearch#conversionList. + # doubleclicksearch#conversionList. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -390,13 +385,13 @@ module Google end # A DoubleClick Search report. This object contains the report request, some - # report metadata such as currency code, and the generated report rows or - # report files. + # report metadata such as currency code, and the generated report rows or report + # files. class Report include Google::Apis::Core::Hashable - # Asynchronous report only. Contains a list of generated report files once - # the report has successfully completed. + # Asynchronous report only. Contains a list of generated report files once the + # report has successfully completed. # Corresponds to the JSON property `files` # @return [Array] attr_accessor :files @@ -413,8 +408,8 @@ module Google attr_accessor :is_report_ready alias_method :is_report_ready?, :is_report_ready - # Identifies this as a Report resource. Value: the fixed string - # `doubleclicksearch#report`. + # Identifies this as a Report resource. Value: the fixed string ` + # doubleclicksearch#report`. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -435,9 +430,9 @@ module Google attr_accessor :rows # The currency code of all monetary values produced in the report, including - # values that are set by users (e.g., keyword bid settings) and metrics - # (e.g., cost and revenue). The currency code of a report is determined by - # the `statisticsCurrency` field of the report request. + # values that are set by users (e.g., keyword bid settings) and metrics (e.g., + # cost and revenue). The currency code of a report is determined by the ` + # statisticsCurrency` field of the report request. # Corresponds to the JSON property `statisticsCurrencyCode` # @return [String] attr_accessor :statistics_currency_code @@ -503,69 +498,67 @@ module Google # Segments a report by a custom dimension. The report must be scoped to an # advertiser or lower, and the custom dimension must already be set up in # DoubleClick Search. The custom dimension name, which appears in DoubleClick - # Search, is case sensitive.\ - # If used in a conversion report, returns the - # value of the specified custom dimension for the given conversion, if set. - # This column does not segment the conversion report. + # Search, is case sensitive.\ If used in a conversion report, returns the value + # of the specified custom dimension for the given conversion, if set. This + # column does not segment the conversion report. # Corresponds to the JSON property `customDimensionName` # @return [String] attr_accessor :custom_dimension_name - # Name of a custom metric to include in the report. The report must be scoped - # to an advertiser or lower, and the custom metric must already be set up in + # Name of a custom metric to include in the report. The report must be scoped to + # an advertiser or lower, and the custom metric must already be set up in # DoubleClick Search. The custom metric name, which appears in DoubleClick # Search, is case sensitive. # Corresponds to the JSON property `customMetricName` # @return [String] attr_accessor :custom_metric_name - # Inclusive day in YYYY-MM-DD format. When provided, this overrides the - # overall time range of the report for this column only. Must be provided - # together with `startDate`. + # Inclusive day in YYYY-MM-DD format. When provided, this overrides the overall + # time range of the report for this column only. Must be provided together with ` + # startDate`. # Corresponds to the JSON property `endDate` # @return [String] attr_accessor :end_date - # Synchronous report only. Set to `true` to group by this column. - # Defaults to `false`. + # Synchronous report only. Set to `true` to group by this column. Defaults to ` + # false`. # Corresponds to the JSON property `groupByColumn` # @return [Boolean] attr_accessor :group_by_column alias_method :group_by_column?, :group_by_column - # Text used to identify this column in the report output; defaults to - # `columnName` or `savedColumnName` when not specified. - # This can be used to prevent collisions between DoubleClick Search columns - # and saved columns with the same name. + # Text used to identify this column in the report output; defaults to ` + # columnName` or `savedColumnName` when not specified. This can be used to + # prevent collisions between DoubleClick Search columns and saved columns with + # the same name. # Corresponds to the JSON property `headerText` # @return [String] attr_accessor :header_text - # The platform that is used to provide data for the custom dimension. - # Acceptable values are "floodlight". + # The platform that is used to provide data for the custom dimension. Acceptable + # values are "floodlight". # Corresponds to the JSON property `platformSource` # @return [String] attr_accessor :platform_source - # Returns metrics only for a specific type of product activity. Accepted - # values are:
  • "`sold`": returns metrics only for products - # that were sold
  • "`advertised`": returns metrics only for - # products that were advertised in a Shopping campaign, and that might or - # might not have been sold
+ # Returns metrics only for a specific type of product activity. Accepted values + # are: - "`sold`": returns metrics only for products that were sold - "` + # advertised`": returns metrics only for products that were advertised in a + # Shopping campaign, and that might or might not have been sold # Corresponds to the JSON property `productReportPerspective` # @return [String] attr_accessor :product_report_perspective - # Name of a saved column to include in the report. The report must be scoped - # at advertiser or lower, and this saved column must already be created in - # the DoubleClick Search UI. + # Name of a saved column to include in the report. The report must be scoped at + # advertiser or lower, and this saved column must already be created in the + # DoubleClick Search UI. # Corresponds to the JSON property `savedColumnName` # @return [String] attr_accessor :saved_column_name - # Inclusive date in YYYY-MM-DD format. When provided, this overrides the - # overall time range of the report for this column only. Must be provided - # together with `endDate`. + # Inclusive date in YYYY-MM-DD format. When provided, this overrides the overall + # time range of the report for this column only. Must be provided together with ` + # endDate`. # Corresponds to the JSON property `startDate` # @return [String] attr_accessor :start_date @@ -594,53 +587,50 @@ module Google include Google::Apis::Core::Hashable # The columns to include in the report. This includes both DoubleClick Search - # columns and saved columns. For DoubleClick Search columns, only the - # `columnName` parameter is required. For saved columns only the - # `savedColumnName` parameter is required. Both - # `columnName` and `savedColumnName` cannot be set in - # the same stanza.\ - # The maximum number of columns per request is 300. + # columns and saved columns. For DoubleClick Search columns, only the ` + # columnName` parameter is required. For saved columns only the `savedColumnName` + # parameter is required. Both `columnName` and `savedColumnName` cannot be set + # in the same stanza.\ The maximum number of columns per request is 300. # Corresponds to the JSON property `columns` # @return [Array] attr_accessor :columns - # Format that the report should be returned in. Currently `csv` or - # `tsv` is supported. + # Format that the report should be returned in. Currently `csv` or `tsv` is + # supported. # Corresponds to the JSON property `downloadFormat` # @return [String] attr_accessor :download_format - # A list of filters to be applied to the report.\ - # The maximum number of filters per request is 300. + # A list of filters to be applied to the report.\ The maximum number of filters + # per request is 300. # Corresponds to the JSON property `filters` # @return [Array] attr_accessor :filters - # Determines if removed entities should be included in the report. Defaults - # to `false`. Deprecated, please use - # `includeRemovedEntities` instead. + # Determines if removed entities should be included in the report. Defaults to ` + # false`. Deprecated, please use `includeRemovedEntities` instead. # Corresponds to the JSON property `includeDeletedEntities` # @return [Boolean] attr_accessor :include_deleted_entities alias_method :include_deleted_entities?, :include_deleted_entities - # Determines if removed entities should be included in the report. Defaults - # to `false`. + # Determines if removed entities should be included in the report. Defaults to ` + # false`. # Corresponds to the JSON property `includeRemovedEntities` # @return [Boolean] attr_accessor :include_removed_entities alias_method :include_removed_entities?, :include_removed_entities - # Asynchronous report only. The maximum number of rows per report file. A - # large report is split into many files based on this field. Acceptable - # values are `1000000` to `100000000`, inclusive. + # Asynchronous report only. The maximum number of rows per report file. A large + # report is split into many files based on this field. Acceptable values are ` + # 1000000` to `100000000`, inclusive. # Corresponds to the JSON property `maxRowsPerFile` # @return [Fixnum] attr_accessor :max_rows_per_file - # Synchronous report only. A list of columns and directions defining sorting - # to be performed on the report rows.\ - # The maximum number of orderings per request is 300. + # Synchronous report only. A list of columns and directions defining sorting to + # be performed on the report rows.\ The maximum number of orderings per request + # is 300. # Corresponds to the JSON property `orderBy` # @return [Array] attr_accessor :order_by @@ -652,47 +642,43 @@ module Google # @return [Google::Apis::DoubleclicksearchV2::ReportRequest::ReportScope] attr_accessor :report_scope - # Determines the type of rows that are returned in the report. For example, - # if you specify `reportType: keyword`, each row in the report - # will contain data about a keyword. See the [Types of - # Reports](/search-ads/v2/report-types/) reference for the columns that are - # available for each type. + # Determines the type of rows that are returned in the report. For example, if + # you specify `reportType: keyword`, each row in the report will contain data + # about a keyword. See the [Types of Reports](/search-ads/v2/report-types/) + # reference for the columns that are available for each type. # Corresponds to the JSON property `reportType` # @return [String] attr_accessor :report_type - # Synchronous report only. The maximum number of rows to return; additional - # rows are dropped. Acceptable values are `0` to - # `10000`, inclusive. Defaults to `10000`. + # Synchronous report only. The maximum number of rows to return; additional rows + # are dropped. Acceptable values are `0` to `10000`, inclusive. Defaults to ` + # 10000`. # Corresponds to the JSON property `rowCount` # @return [Fixnum] attr_accessor :row_count # Synchronous report only. Zero-based index of the first row to return. - # Acceptable values are `0` to `50000`, inclusive. - # Defaults to `0`. + # Acceptable values are `0` to `50000`, inclusive. Defaults to `0`. # Corresponds to the JSON property `startRow` # @return [Fixnum] attr_accessor :start_row - # Specifies the currency in which monetary will be returned. Possible values - # are: `usd`, `agency` (valid if the report is scoped - # to agency or lower), `advertiser` (valid if the report is scoped - # to * advertiser or lower), or `account` (valid if the report is - # scoped to engine account or lower). + # Specifies the currency in which monetary will be returned. Possible values are: + # `usd`, `agency` (valid if the report is scoped to agency or lower), ` + # advertiser` (valid if the report is scoped to * advertiser or lower), or ` + # account` (valid if the report is scoped to engine account or lower). # Corresponds to the JSON property `statisticsCurrency` # @return [String] attr_accessor :statistics_currency - # If metrics are requested in a report, this argument will be used to - # restrict the metrics to a specific time range. + # If metrics are requested in a report, this argument will be used to restrict + # the metrics to a specific time range. # Corresponds to the JSON property `timeRange` # @return [Google::Apis::DoubleclicksearchV2::ReportRequest::TimeRange] attr_accessor :time_range - # If `true`, the report would only be created if all the requested - # stat data are sourced from a single timezone. Defaults to - # `false`. + # If `true`, the report would only be created if all the requested stat data are + # sourced from a single timezone. Defaults to `false`. # Corresponds to the JSON property `verifySingleTimeZone` # @return [Boolean] attr_accessor :verify_single_time_zone @@ -735,8 +721,8 @@ module Google # @return [String] attr_accessor :operator - # A list of values to filter the column value against.\ - # The maximum number of filter values per request is 300. + # A list of values to filter the column value against.\ The maximum number of + # filter values per request is 300. # Corresponds to the JSON property `values` # @return [Array] attr_accessor :values @@ -762,8 +748,7 @@ module Google # @return [Google::Apis::DoubleclicksearchV2::ReportApiColumnSpec] attr_accessor :column - # The sort direction, which is either `ascending` or - # `descending`. + # The sort direction, which is either `ascending` or `descending`. # Corresponds to the JSON property `sortOrder` # @return [String] attr_accessor :sort_order @@ -836,21 +821,19 @@ module Google end end - # If metrics are requested in a report, this argument will be used to - # restrict the metrics to a specific time range. + # If metrics are requested in a report, this argument will be used to restrict + # the metrics to a specific time range. class TimeRange include Google::Apis::Core::Hashable - # Inclusive UTC timestamp in RFC format, e.g., - # `2013-07-16T10:16:23.555Z`. See additional references on how - # changed attribute reports work. + # Inclusive UTC timestamp in RFC format, e.g., `2013-07-16T10:16:23.555Z`. See + # additional references on how changed attribute reports work. # Corresponds to the JSON property `changedAttributesSinceTimestamp` # @return [String] attr_accessor :changed_attributes_since_timestamp - # Inclusive UTC timestamp in RFC format, e.g., - # `2013-07-16T10:16:23.555Z`. See additional references on how - # changed metrics reports work. + # Inclusive UTC timestamp in RFC format, e.g., `2013-07-16T10:16:23.555Z`. See + # additional references on how changed metrics reports work. # Corresponds to the JSON property `changedMetricsSinceTimestamp` # @return [String] attr_accessor :changed_metrics_since_timestamp @@ -884,7 +867,7 @@ module Google include Google::Apis::Core::Hashable # Identifies this as a SavedColumn resource. Value: the fixed string - # doubleclicksearch#savedColumn. + # doubleclicksearch#savedColumn. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -913,8 +896,8 @@ module Google # A list of saved columns. Advertisers create saved columns to report on # Floodlight activities, Google Analytics goals, or custom KPIs. To request - # reports with saved columns, - # you'll need the saved column names that are available from this list. + # reports with saved columns, you'll need the saved column names that are + # available from this list. class SavedColumnList include Google::Apis::Core::Hashable @@ -924,7 +907,7 @@ module Google attr_accessor :items # Identifies this as a SavedColumnList resource. Value: the fixed string - # doubleclicksearch#savedColumnList. + # doubleclicksearch#savedColumnList. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind diff --git a/generated/google/apis/doubleclicksearch_v2/service.rb b/generated/google/apis/doubleclicksearch_v2/service.rb index 5292d2fab..9a6a1125f 100644 --- a/generated/google/apis/doubleclicksearch_v2/service.rb +++ b/generated/google/apis/doubleclicksearch_v2/service.rb @@ -60,8 +60,7 @@ module Google # @param [Fixnum] row_count # The number of conversions to return per call. # @param [Fixnum] start_date - # First date (inclusive) on which to retrieve conversions. Format is - # yyyymmdd. + # First date (inclusive) on which to retrieve conversions. Format is yyyymmdd. # @param [Fixnum] start_row # The 0-based starting index for retrieving conversions results. # @param [Fixnum] ad_group_id @@ -169,8 +168,8 @@ module Google execute_or_queue_command(command, &block) end - # Updates the availabilities of a batch of floodlight activities in - # DoubleClick Search. + # Updates the availabilities of a batch of floodlight activities in DoubleClick + # Search. # @param [Google::Apis::DoubleclicksearchV2::UpdateAvailabilityRequest] update_availability_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/firebaseml_v1beta2.rb b/generated/google/apis/firebaseml_v1beta2.rb index 8147ac40c..7ff12f028 100644 --- a/generated/google/apis/firebaseml_v1beta2.rb +++ b/generated/google/apis/firebaseml_v1beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://firebase.google.com module FirebasemlV1beta2 VERSION = 'V1beta2' - REVISION = '20200415' + REVISION = '20200722' # 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/firebaseml_v1beta2/classes.rb b/generated/google/apis/firebaseml_v1beta2/classes.rb index 5e9f79b2c..2072671d6 100644 --- a/generated/google/apis/firebaseml_v1beta2/classes.rb +++ b/generated/google/apis/firebaseml_v1beta2/classes.rb @@ -324,6 +324,14 @@ module Google # @return [String] attr_accessor :gcs_tflite_uri + # Output only. A boolean indicating that this model was uploaded from the + # console. + # Read only + # Corresponds to the JSON property `managedUpload` + # @return [Boolean] + attr_accessor :managed_upload + alias_method :managed_upload?, :managed_upload + # Output only. The size of the TFLite model # Corresponds to the JSON property `sizeBytes` # @return [String] @@ -336,6 +344,7 @@ module Google # Update properties of this object def update!(**args) @gcs_tflite_uri = args[:gcs_tflite_uri] if args.key?(:gcs_tflite_uri) + @managed_upload = args[:managed_upload] if args.key?(:managed_upload) @size_bytes = args[:size_bytes] if args.key?(:size_bytes) end end diff --git a/generated/google/apis/firebaseml_v1beta2/representations.rb b/generated/google/apis/firebaseml_v1beta2/representations.rb index 12450f4dd..c75b77dfb 100644 --- a/generated/google/apis/firebaseml_v1beta2/representations.rb +++ b/generated/google/apis/firebaseml_v1beta2/representations.rb @@ -146,6 +146,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :gcs_tflite_uri, as: 'gcsTfliteUri' + property :managed_upload, as: 'managedUpload' property :size_bytes, as: 'sizeBytes' end end diff --git a/generated/google/apis/games_configuration_v1configuration.rb b/generated/google/apis/games_configuration_v1configuration.rb index d6c730822..8879cbd31 100644 --- a/generated/google/apis/games_configuration_v1configuration.rb +++ b/generated/google/apis/games_configuration_v1configuration.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/games/ module GamesConfigurationV1configuration VERSION = 'V1configuration' - REVISION = '20200514' + REVISION = '20200720' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/games_configuration_v1configuration/service.rb b/generated/google/apis/games_configuration_v1configuration/service.rb index 17d584299..5caa77dba 100644 --- a/generated/google/apis/games_configuration_v1configuration/service.rb +++ b/generated/google/apis/games_configuration_v1configuration/service.rb @@ -44,8 +44,8 @@ module Google attr_accessor :quota_user def initialize - super('https://www.googleapis.com/', '') - @batch_path = 'batch/games/v1configuration' + super('https://gamesconfiguration.googleapis.com/', '') + @batch_path = 'batch' end # Delete the achievement configuration with the given ID. diff --git a/generated/google/apis/games_management_v1management.rb b/generated/google/apis/games_management_v1management.rb index 6758069a6..76b2f9007 100644 --- a/generated/google/apis/games_management_v1management.rb +++ b/generated/google/apis/games_management_v1management.rb @@ -27,7 +27,7 @@ module Google # @see https://developers.google.com/games/ module GamesManagementV1management VERSION = 'V1management' - REVISION = '20200514' + REVISION = '20200720' # Create, edit, and delete your Google Play Games activity AUTH_GAMES = 'https://www.googleapis.com/auth/games' diff --git a/generated/google/apis/games_management_v1management/service.rb b/generated/google/apis/games_management_v1management/service.rb index 5a41b176d..5851ce5d4 100644 --- a/generated/google/apis/games_management_v1management/service.rb +++ b/generated/google/apis/games_management_v1management/service.rb @@ -45,8 +45,8 @@ module Google attr_accessor :quota_user def initialize - super('https://www.googleapis.com/', '') - @batch_path = 'batch/games/v1management' + super('https://gamesmanagement.googleapis.com/', '') + @batch_path = 'batch' end # Resets the achievement with the given ID for the currently authenticated diff --git a/generated/google/apis/games_v1.rb b/generated/google/apis/games_v1.rb index 90373aac9..b5140363c 100644 --- a/generated/google/apis/games_v1.rb +++ b/generated/google/apis/games_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://developers.google.com/games/ module GamesV1 VERSION = 'V1' - REVISION = '20200625' + REVISION = '20200720' # View and manage its own configuration data in your Google Drive AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata' diff --git a/generated/google/apis/games_v1/classes.rb b/generated/google/apis/games_v1/classes.rb index 1603fa066..973459f89 100644 --- a/generated/google/apis/games_v1/classes.rb +++ b/generated/google/apis/games_v1/classes.rb @@ -299,7 +299,7 @@ module Google end end - # + # Response message for UpdateMultipleAchievements rpc. class AchievementUpdateMultipleResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/games_v1/service.rb b/generated/google/apis/games_v1/service.rb index d61c75cd1..21c678076 100644 --- a/generated/google/apis/games_v1/service.rb +++ b/generated/google/apis/games_v1/service.rb @@ -45,8 +45,8 @@ module Google attr_accessor :quota_user def initialize - super('https://www.googleapis.com/', '') - @batch_path = 'batch/games/v1' + super('https://games.googleapis.com/', '') + @batch_path = 'batch' end # Lists all the achievement definitions for your application. diff --git a/generated/google/apis/monitoring_v1.rb b/generated/google/apis/monitoring_v1.rb index fbd903095..87626e31d 100644 --- a/generated/google/apis/monitoring_v1.rb +++ b/generated/google/apis/monitoring_v1.rb @@ -29,7 +29,7 @@ module Google # @see https://cloud.google.com/monitoring/api/ module MonitoringV1 VERSION = 'V1' - REVISION = '20200608' + REVISION = '20200720' # 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/monitoring_v1/classes.rb b/generated/google/apis/monitoring_v1/classes.rb index c4eb92338..f7a7c4277 100644 --- a/generated/google/apis/monitoring_v1/classes.rb +++ b/generated/google/apis/monitoring_v1/classes.rb @@ -52,7 +52,8 @@ module Google # value must be at least 60 seconds. If a per-series aligner other than # ALIGN_NONE is specified, this field is required or an error is returned. If no # per-series aligner is specified, or the aligner ALIGN_NONE is specified, then - # this field is ignored. + # this field is ignored.The maximum value of the alignment_period is 2 years, or + # 104 weeks. # Corresponds to the JSON property `alignmentPeriod` # @return [String] attr_accessor :alignment_period diff --git a/generated/google/apis/monitoring_v3.rb b/generated/google/apis/monitoring_v3.rb index 7db1e1052..8c049a8d4 100644 --- a/generated/google/apis/monitoring_v3.rb +++ b/generated/google/apis/monitoring_v3.rb @@ -29,7 +29,7 @@ module Google # @see https://cloud.google.com/monitoring/api/ module MonitoringV3 VERSION = 'V3' - REVISION = '20200715' + REVISION = '20200720' # 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/monitoring_v3/classes.rb b/generated/google/apis/monitoring_v3/classes.rb index da55eaa72..98437eff8 100644 --- a/generated/google/apis/monitoring_v3/classes.rb +++ b/generated/google/apis/monitoring_v3/classes.rb @@ -49,10 +49,11 @@ module Google # The alignment_period specifies a time interval, in seconds, that is used to # divide the data in all the time series into consistent blocks of time. This # will be done before the per-series aligner can be applied to the data.The - # value must be at least 60 seconds. If a per-series aligner other than - # ALIGN_NONE is specified, this field is required or an error is returned. If no - # per-series aligner is specified, or the aligner ALIGN_NONE is specified, then - # this field is ignored. + # value must be at least 60 seconds, at most 104 weeks. If a per-series aligner + # other than ALIGN_NONE is specified, this field is required or an error is + # returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is + # specified, then this field is ignored.The maximum value of the + # alignment_period is 2 years, or 104 weeks. # Corresponds to the JSON property `alignmentPeriod` # @return [String] attr_accessor :alignment_period diff --git a/generated/google/apis/monitoring_v3/service.rb b/generated/google/apis/monitoring_v3/service.rb index 332530a6f..e38dc101f 100644 --- a/generated/google/apis/monitoring_v3/service.rb +++ b/generated/google/apis/monitoring_v3/service.rb @@ -1236,10 +1236,11 @@ module Google # The alignment_period specifies a time interval, in seconds, that is used to # divide the data in all the time series into consistent blocks of time. This # will be done before the per-series aligner can be applied to the data.The - # value must be at least 60 seconds. If a per-series aligner other than - # ALIGN_NONE is specified, this field is required or an error is returned. If no - # per-series aligner is specified, or the aligner ALIGN_NONE is specified, then - # this field is ignored. + # value must be at least 60 seconds, at most 104 weeks. If a per-series aligner + # other than ALIGN_NONE is specified, this field is required or an error is + # returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is + # specified, then this field is ignored.The maximum value of the + # alignment_period is 2 years, or 104 weeks. # @param [String] aggregation_cross_series_reducer # The reduction operation to be used to combine time series into a single time # series, where the value of each data point in the resulting series is a diff --git a/generated/google/apis/prod_tt_sasportal_v1alpha1.rb b/generated/google/apis/prod_tt_sasportal_v1alpha1.rb index c3248cbf2..01ed22dc8 100644 --- a/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +++ b/generated/google/apis/prod_tt_sasportal_v1alpha1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/spectrum-access-system/ module ProdTtSasportalV1alpha1 VERSION = 'V1alpha1' - REVISION = '20200626' + REVISION = '20200722' # View your email address AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' diff --git a/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb b/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb index 7b4777e6c..7d059dfb4 100644 --- a/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +++ b/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb @@ -150,50 +150,6 @@ module Google end end - # The Deployment. - class SasPortalDeployment - include Google::Apis::Core::Hashable - - # The allowed billing modes under this deployment. - # Corresponds to the JSON property `allowedBillingModes` - # @return [Array] - attr_accessor :allowed_billing_modes - - # Default billing mode for the deployment and devices under it. - # Corresponds to the JSON property `defaultBillingMode` - # @return [String] - attr_accessor :default_billing_mode - - # The deployment's display name. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Output only. Resource name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # User id used by the devices belonging to this deployment. Each deployment - # should be associated with one unique user_id. - # Corresponds to the JSON property `sasUserIds` - # @return [Array] - attr_accessor :sas_user_ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @allowed_billing_modes = args[:allowed_billing_modes] if args.key?(:allowed_billing_modes) - @default_billing_mode = args[:default_billing_mode] if args.key?(:default_billing_mode) - @display_name = args[:display_name] if args.key?(:display_name) - @name = args[:name] if args.key?(:name) - @sas_user_ids = args[:sas_user_ids] if args.key?(:sas_user_ids) - end - end - # class SasPortalDevice include Google::Apis::Core::Hashable @@ -765,35 +721,6 @@ module Google end end - # Response for ListDeployments method. - class SasPortalListDeploymentsResponse - include Google::Apis::Core::Hashable - - # The deployments that match the - # request. - # Corresponds to the JSON property `deployments` - # @return [Array] - attr_accessor :deployments - - # A pagination token returned from a previous call to - # ListDeployments method that indicates - # from where listing should continue. If the field is missing or empty, it - # means there is no more deployments. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @deployments = args[:deployments] if args.key?(:deployments) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - # Response for ListDevices method. class SasPortalListDevicesResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb b/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb index b3973c94f..f8fce0fc6 100644 --- a/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +++ b/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb @@ -52,12 +52,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SasPortalDeployment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class SasPortalDevice class Representation < Google::Apis::Core::JsonRepresentation; end @@ -142,12 +136,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SasPortalListDeploymentsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class SasPortalListDevicesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -278,17 +266,6 @@ module Google end end - class SasPortalDeployment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :allowed_billing_modes, as: 'allowedBillingModes' - property :default_billing_mode, as: 'defaultBillingMode' - property :display_name, as: 'displayName' - property :name, as: 'name' - collection :sas_user_ids, as: 'sasUserIds' - end - end - class SasPortalDevice # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -439,15 +416,6 @@ module Google end end - class SasPortalListDeploymentsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :deployments, as: 'deployments', class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment, decorator: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - class SasPortalListDevicesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb b/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb index 095cdfc1c..7e4912296 100644 --- a/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +++ b/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb @@ -149,174 +149,6 @@ module Google execute_or_queue_command(command, &block) end - # Creates a new deployment. - # @param [String] parent - # Required. The parent resource name where the deployment is to be created. - # @param [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_customer_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', options) - command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation - command.request_object = sas_portal_deployment_object - command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation - command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment - command.params['parent'] = parent unless parent.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a deployment. - # @param [String] name - # Required. The name of the deployment. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_customer_deployment(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1alpha1/{+name}', options) - command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty::Representation - command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns a requested deployment. - # @param [String] name - # Required. The name of the deployment. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_customer_deployment(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1alpha1/{+name}', options) - command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation - command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists deployments. - # @param [String] parent - # Required. The parent resource name, for example, "nodes/1", - # customer/1/nodes/2. - # @param [Fixnum] page_size - # The maximum number of deployments to return in the response. - # @param [String] page_token - # A pagination token returned from a previous call to ListDeployments - # method that - # indicates where this listing should continue from. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_customer_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options) - command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse::Representation - command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Updates an existing deployment. - # @param [String] name - # Output only. Resource name. - # @param [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object - # @param [String] update_mask - # Fields to be updated. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_customer_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1alpha1/{+name}', options) - command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation - command.request_object = sas_portal_deployment_object - command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation - command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment - command.params['name'] = name unless name.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Creates a device under a node or customer. Returned devices are unordered. # @param [String] parent # Required. The name of the parent resource. @@ -856,78 +688,6 @@ module Google execute_or_queue_command(command, &block) end - # Creates a new deployment. - # @param [String] parent - # Required. The parent resource name where the deployment is to be created. - # @param [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_customer_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', options) - command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation - command.request_object = sas_portal_deployment_object - command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation - command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment - command.params['parent'] = parent unless parent.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists deployments. - # @param [String] parent - # Required. The parent resource name, for example, "nodes/1", - # customer/1/nodes/2. - # @param [Fixnum] page_size - # The maximum number of deployments to return in the response. - # @param [String] page_token - # A pagination token returned from a previous call to ListDeployments - # method that - # indicates where this listing should continue from. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_customer_node_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options) - command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse::Representation - command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Creates a new node. # @param [String] parent # Required. The parent resource name where the node is to be created. @@ -998,36 +758,6 @@ module Google execute_or_queue_command(command, &block) end - # Returns a requested deployment. - # @param [String] name - # Required. The name of the deployment. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_deployment(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1alpha1/{+name}', options) - command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation - command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Generates a secret to be used with the ValidateInstaller method # @param [Google::Apis::ProdTtSasportalV1alpha1::SasPortalGenerateSecretRequest] sas_portal_generate_secret_request_object # @param [String] fields @@ -1118,141 +848,6 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a deployment. - # @param [String] name - # Required. The name of the deployment. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_node_deployment(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1alpha1/{+name}', options) - command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty::Representation - command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalEmpty - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns a requested deployment. - # @param [String] name - # Required. The name of the deployment. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_node_deployment(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1alpha1/{+name}', options) - command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation - command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists deployments. - # @param [String] parent - # Required. The parent resource name, for example, "nodes/1", - # customer/1/nodes/2. - # @param [Fixnum] page_size - # The maximum number of deployments to return in the response. - # @param [String] page_token - # A pagination token returned from a previous call to ListDeployments - # method that - # indicates where this listing should continue from. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_node_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options) - command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse::Representation - command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Updates an existing deployment. - # @param [String] name - # Output only. Resource name. - # @param [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object - # @param [String] update_mask - # Fields to be updated. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_node_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1alpha1/{+name}', options) - command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation - command.request_object = sas_portal_deployment_object - command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation - command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment - command.params['name'] = name unless name.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Creates a device under a node or customer. Returned devices are unordered. # @param [String] parent # Required. The name of the parent resource. @@ -1792,78 +1387,6 @@ module Google execute_or_queue_command(command, &block) end - # Creates a new deployment. - # @param [String] parent - # Required. The parent resource name where the deployment is to be created. - # @param [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be 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_node_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', options) - command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation - command.request_object = sas_portal_deployment_object - command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment::Representation - command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment - command.params['parent'] = parent unless parent.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists deployments. - # @param [String] parent - # Required. The parent resource name, for example, "nodes/1", - # customer/1/nodes/2. - # @param [Fixnum] page_size - # The maximum number of deployments to return in the response. - # @param [String] page_token - # A pagination token returned from a previous call to ListDeployments - # method that - # indicates where this listing should continue from. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_node_node_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options) - command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse::Representation - command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDeploymentsResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Creates a device under a node or customer. Returned devices are unordered. # @param [String] parent # Required. The name of the parent resource. diff --git a/generated/google/apis/redis_v1.rb b/generated/google/apis/redis_v1.rb index 2a61d2676..2c590f67d 100644 --- a/generated/google/apis/redis_v1.rb +++ b/generated/google/apis/redis_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/memorystore/docs/redis/ module RedisV1 VERSION = 'V1' - REVISION = '20200706' + REVISION = '20200722' # 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/redis_v1/classes.rb b/generated/google/apis/redis_v1/classes.rb index dda9532b1..a7b268cae 100644 --- a/generated/google/apis/redis_v1/classes.rb +++ b/generated/google/apis/redis_v1/classes.rb @@ -214,6 +214,403 @@ module Google end end + # + class GoogleCloudSaasacceleratorManagementProvidersV1Instance + include Google::Apis::Core::Hashable + + # consumer_defined_name is the name that is set by the consumer. On the other + # hand Name field represents system-assigned id of an instance so consumers + # are not necessarily aware of it. + # consumer_defined_name is used for notification/UI purposes for consumer to + # recognize their instances. + # Corresponds to the JSON property `consumerDefinedName` + # @return [String] + attr_accessor :consumer_defined_name + + # Output only. Timestamp when the resource was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Optional. Resource labels to represent user provided metadata. Each label + # is a key-value pair, where both the key and the value are arbitrary strings + # provided by the user. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The MaintenancePolicies that have been attached to the instance. + # The key must be of the type name of the oneof policy name defined in + # MaintenancePolicy, and the referenced policy must define the same policy + # type. For complete details of MaintenancePolicy, please refer to + # go/cloud-saas-mw-ug. + # Corresponds to the JSON property `maintenancePolicyNames` + # @return [Hash] + attr_accessor :maintenance_policy_names + + # The MaintenanceSchedule contains the scheduling information of published + # maintenance schedule. + # Corresponds to the JSON property `maintenanceSchedules` + # @return [Hash] + attr_accessor :maintenance_schedules + + # Maintenance settings associated with instance. Allows service producers and + # end users to assign settings that controls maintenance on this instance. + # Corresponds to the JSON property `maintenanceSettings` + # @return [Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings] + attr_accessor :maintenance_settings + + # Unique name of the resource. It uses the form: + # `projects/`project_id`/locations/`location_id`/instances/`instance_id`` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. Custom string attributes used primarily to expose + # producer-specific information in monitoring dashboards. + # See go/get-instance-metadata. + # Corresponds to the JSON property `producerMetadata` + # @return [Hash] + attr_accessor :producer_metadata + + # Output only. The list of data plane resources provisioned for this + # instance, e.g. compute VMs. See go/get-instance-metadata. + # Corresponds to the JSON property `provisionedResources` + # @return [Array] + attr_accessor :provisioned_resources + + # Link to the SLM instance template. Only populated when updating SLM + # instances via SSA's Actuation service adaptor. + # Service producers with custom control plane (e.g. Cloud SQL) doesn't + # need to populate this field. Instead they should use software_versions. + # Corresponds to the JSON property `slmInstanceTemplate` + # @return [String] + attr_accessor :slm_instance_template + + # SloMetadata contains resources required for proper SLO classification of the + # instance. + # Corresponds to the JSON property `sloMetadata` + # @return [Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata] + attr_accessor :slo_metadata + + # Software versions that are used to deploy this instance. This can be + # mutated by rollout services. + # Corresponds to the JSON property `softwareVersions` + # @return [Hash] + attr_accessor :software_versions + + # Output only. Current lifecycle state of the resource (e.g. if it's being + # created or ready to use). + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Output only. ID of the associated GCP tenant project. + # See go/get-instance-metadata. + # Corresponds to the JSON property `tenantProjectId` + # @return [String] + attr_accessor :tenant_project_id + + # Output only. Timestamp when the resource was last modified. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name) + @create_time = args[:create_time] if args.key?(:create_time) + @labels = args[:labels] if args.key?(:labels) + @maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names) + @maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules) + @maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings) + @name = args[:name] if args.key?(:name) + @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata) + @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources) + @slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template) + @slo_metadata = args[:slo_metadata] if args.key?(:slo_metadata) + @software_versions = args[:software_versions] if args.key?(:software_versions) + @state = args[:state] if args.key?(:state) + @tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # Maintenance schedule which is exposed to customer and potentially end user, + # indicating published upcoming future maintenance schedule + class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule + include Google::Apis::Core::Hashable + + # Can this scheduled update be rescheduled? + # By default, it's true and API needs to do explicitly check whether it's + # set, if it's set as false explicitly, it's false + # Corresponds to the JSON property `canReschedule` + # @return [Boolean] + attr_accessor :can_reschedule + alias_method :can_reschedule?, :can_reschedule + + # The scheduled end time for the maintenance. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The rollout management policy this maintenance schedule is associated + # with. When doing reschedule update request, the reschedule should be + # against this given policy. + # Corresponds to the JSON property `rolloutManagementPolicy` + # @return [String] + attr_accessor :rollout_management_policy + + # The scheduled start time for the maintenance. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule) + @end_time = args[:end_time] if args.key?(:end_time) + @rollout_management_policy = args[:rollout_management_policy] if args.key?(:rollout_management_policy) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + + # Maintenance settings associated with instance. Allows service producers and + # end users to assign settings that controls maintenance on this instance. + class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings + include Google::Apis::Core::Hashable + + # Optional. Exclude instance from maintenance. When true, rollout service will + # not + # attempt maintenance on the instance. Rollout service will include the + # instance in reported rollout progress as not attempted. + # Corresponds to the JSON property `exclude` + # @return [Boolean] + attr_accessor :exclude + alias_method :exclude?, :exclude + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exclude = args[:exclude] if args.key?(:exclude) + end + end + + # Node information for custom per-node SLO implementations. + # SSA does not support per-node SLO, but producers can populate per-node + # information in SloMetadata for custom precomputations. + # SSA Eligibility Exporter will emit per-node metric based on this information. + class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata + include Google::Apis::Core::Hashable + + # By default node is eligible if instance is eligible. + # But individual node might be excluded from SLO by adding entry here. + # For semantic see SloMetadata.exclusions. + # If both instance and node level exclusions are present for time period, + # the node level's reason will be reported by Eligibility Exporter. + # Corresponds to the JSON property `exclusions` + # @return [Array] + attr_accessor :exclusions + + # The location of the node, if different from instance location. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # The id of the node. + # This should be equal to SaasInstanceNode.node_id. + # Corresponds to the JSON property `nodeId` + # @return [String] + attr_accessor :node_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exclusions = args[:exclusions] if args.key?(:exclusions) + @location = args[:location] if args.key?(:location) + @node_id = args[:node_id] if args.key?(:node_id) + end + end + + # Describes provisioned dataplane resources. + class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource + include Google::Apis::Core::Hashable + + # Type of the resource. This can be either a GCP resource or a custom one + # (e.g. another cloud provider's VM). For GCP compute resources use singular + # form of the names listed in GCP compute API documentation + # (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with + # 'compute-', for example: 'compute-instance', 'compute-disk', + # 'compute-autoscaler'. + # Corresponds to the JSON property `resourceType` + # @return [String] + attr_accessor :resource_type + + # URL identifying the resource, e.g. + # "https://www.googleapis.com/compute/v1/projects/...)". + # Corresponds to the JSON property `resourceUrl` + # @return [String] + attr_accessor :resource_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource_type = args[:resource_type] if args.key?(:resource_type) + @resource_url = args[:resource_url] if args.key?(:resource_url) + end + end + + # SloEligibility is a tuple containing eligibility value: true if an instance + # is eligible for SLO calculation or false if it should be excluded from all + # SLO-related calculations along with a user-defined reason. + class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility + include Google::Apis::Core::Hashable + + # Whether an instance is eligible or ineligible. + # Corresponds to the JSON property `eligible` + # @return [Boolean] + attr_accessor :eligible + alias_method :eligible?, :eligible + + # User-defined reason for the current value of instance eligibility. Usually, + # this can be directly mapped to the internal state. An empty reason is + # allowed. + # Corresponds to the JSON property `reason` + # @return [String] + attr_accessor :reason + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @eligible = args[:eligible] if args.key?(:eligible) + @reason = args[:reason] if args.key?(:reason) + end + end + + # SloExclusion represents an exclusion in SLI calculation applies to all SLOs. + class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion + include Google::Apis::Core::Hashable + + # Exclusion duration. No restrictions on the possible values. + # When an ongoing operation is taking longer than initially expected, + # an existing entry in the exclusion list can be updated by extending the + # duration. This is supported by the subsystem exporting eligibility data + # as long as such extension is committed at least 10 minutes before the + # original exclusion expiration - otherwise it is possible that there will + # be "gaps" in the exclusion application in the exported timeseries. + # Corresponds to the JSON property `duration` + # @return [String] + attr_accessor :duration + + # Human-readable reason for the exclusion. + # This should be a static string (e.g. "Disruptive update in progress") + # and should not contain dynamically generated data (e.g. instance name). + # Can be left empty. + # Corresponds to the JSON property `reason` + # @return [String] + attr_accessor :reason + + # Name of an SLI that this exclusion applies to. Can be left empty, + # signaling that the instance should be excluded from all SLIs defined + # in the service SLO configuration. + # Corresponds to the JSON property `sliName` + # @return [String] + attr_accessor :sli_name + + # Start time of the exclusion. No alignment (e.g. to a full minute) needed. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @duration = args[:duration] if args.key?(:duration) + @reason = args[:reason] if args.key?(:reason) + @sli_name = args[:sli_name] if args.key?(:sli_name) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + + # SloMetadata contains resources required for proper SLO classification of the + # instance. + class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata + include Google::Apis::Core::Hashable + + # SloEligibility is a tuple containing eligibility value: true if an instance + # is eligible for SLO calculation or false if it should be excluded from all + # SLO-related calculations along with a user-defined reason. + # Corresponds to the JSON property `eligibility` + # @return [Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility] + attr_accessor :eligibility + + # List of SLO exclusion windows. When multiple entries in the list match + # (matching the exclusion time-window against current time point) + # the exclusion reason used in the first matching entry will be published. + # It is not needed to include expired exclusion in this list, as only the + # currently applicable exclusions are taken into account by the eligibility + # exporting subsystem (the historical state of exclusions will be reflected + # in the historically produced timeseries regardless of the current state). + # This field can be used to mark the instance as temporary ineligible + # for the purpose of SLO calculation. For permanent instance SLO exclusion, + # use of custom instance eligibility is recommended. See 'eligibility' field + # below. + # Corresponds to the JSON property `exclusions` + # @return [Array] + attr_accessor :exclusions + + # Optional. List of nodes. + # Some producers need to use per-node metadata to calculate SLO. + # This field allows such producers to publish per-node SLO meta data, + # which will be consumed by SSA Eligibility Exporter and published in the + # form of per node metric to Monarch. + # Corresponds to the JSON property `nodes` + # @return [Array] + attr_accessor :nodes + + # Name of the SLO tier the Instance belongs to. This name will be expected to + # match the tiers specified in the service SLO configuration. + # Field is mandatory and must not be empty. + # Corresponds to the JSON property `tier` + # @return [String] + attr_accessor :tier + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @eligibility = args[:eligibility] if args.key?(:eligibility) + @exclusions = args[:exclusions] if args.key?(:exclusions) + @nodes = args[:nodes] if args.key?(:nodes) + @tier = args[:tier] if args.key?(:tier) + end + end + # Request for Import. class ImportInstanceRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/redis_v1/representations.rb b/generated/google/apis/redis_v1/representations.rb index 56d7108eb..a36cd86ce 100644 --- a/generated/google/apis/redis_v1/representations.rb +++ b/generated/google/apis/redis_v1/representations.rb @@ -70,6 +70,54 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSaasacceleratorManagementProvidersV1Instance + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ImportInstanceRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -198,6 +246,97 @@ module Google end end + class GoogleCloudSaasacceleratorManagementProvidersV1Instance + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :consumer_defined_name, as: 'consumerDefinedName' + property :create_time, as: 'createTime' + hash :labels, as: 'labels' + hash :maintenance_policy_names, as: 'maintenancePolicyNames' + hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation + + property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation + + property :name, as: 'name' + hash :producer_metadata, as: 'producerMetadata' + collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation + + property :slm_instance_template, as: 'slmInstanceTemplate' + property :slo_metadata, as: 'sloMetadata', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::Representation + + hash :software_versions, as: 'softwareVersions' + property :state, as: 'state' + property :tenant_project_id, as: 'tenantProjectId' + property :update_time, as: 'updateTime' + end + end + + class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :can_reschedule, as: 'canReschedule' + property :end_time, as: 'endTime' + property :rollout_management_policy, as: 'rolloutManagementPolicy' + property :start_time, as: 'startTime' + end + end + + class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :exclude, as: 'exclude' + end + end + + class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exclusions, as: 'exclusions', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation + + property :location, as: 'location' + property :node_id, as: 'nodeId' + end + end + + class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource_type, as: 'resourceType' + property :resource_url, as: 'resourceUrl' + end + end + + class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :eligible, as: 'eligible' + property :reason, as: 'reason' + end + end + + class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :duration, as: 'duration' + property :reason, as: 'reason' + property :sli_name, as: 'sliName' + property :start_time, as: 'startTime' + end + end + + class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :eligibility, as: 'eligibility', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation + + collection :exclusions, as: 'exclusions', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation + + collection :nodes, as: 'nodes', class: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation + + property :tier, as: 'tier' + end + end + class ImportInstanceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/serviceconsumermanagement_v1.rb b/generated/google/apis/serviceconsumermanagement_v1.rb index 7cd2c862f..fc989a29d 100644 --- a/generated/google/apis/serviceconsumermanagement_v1.rb +++ b/generated/google/apis/serviceconsumermanagement_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/service-consumer-management/docs/overview module ServiceconsumermanagementV1 VERSION = 'V1' - REVISION = '20200721' + REVISION = '20200722' # 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/serviceconsumermanagement_v1/service.rb b/generated/google/apis/serviceconsumermanagement_v1/service.rb index 96ce8a359..614058e69 100644 --- a/generated/google/apis/serviceconsumermanagement_v1/service.rb +++ b/generated/google/apis/serviceconsumermanagement_v1/service.rb @@ -396,7 +396,7 @@ module Google # Creates a tenancy unit with no tenant resources. # If tenancy unit already exists, it will be returned, # however, in this case, returned TenancyUnit does not have tenant_resources - # field set and ListTenancyUnit has to be used to get a complete + # field set and ListTenancyUnits has to be used to get a complete # TenancyUnit with all fields populated. # @param [String] parent # services/`service`/`collection id`/`resource id` diff --git a/generated/google/apis/sql_v1beta4.rb b/generated/google/apis/sql_v1beta4.rb index 7b65c5893..3d370561a 100644 --- a/generated/google/apis/sql_v1beta4.rb +++ b/generated/google/apis/sql_v1beta4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-sql/ module SqlV1beta4 VERSION = 'V1beta4' - REVISION = '20200518' + REVISION = '20200713' # 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/sql_v1beta4/classes.rb b/generated/google/apis/sql_v1beta4/classes.rb index 4898cf419..bbf1c358b 100644 --- a/generated/google/apis/sql_v1beta4/classes.rb +++ b/generated/google/apis/sql_v1beta4/classes.rb @@ -28,12 +28,12 @@ module Google # The time when this access control entry expires in RFC 3339 format, for example - # 2012-11-15T16:19:00.094Z. + # 2012-11-15T16:19:00.094Z. # Corresponds to the JSON property `expirationTime` # @return [String] attr_accessor :expiration_time - # This is always sql#aclEntry. + # This is always sql#aclEntry. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -103,7 +103,7 @@ module Google attr_accessor :enabled alias_method :enabled?, :enabled - # This is always sql#backupConfiguration. + # This is always sql#backupConfiguration. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -126,7 +126,7 @@ module Google alias_method :replication_log_archiving_enabled?, :replication_log_archiving_enabled # Start time for the daily backup configuration in UTC timezone in the 24 - # hour format - HH:MM. + # hour format - HH:MM. # Corresponds to the JSON property `startTime` # @return [String] attr_accessor :start_time @@ -151,6 +151,11 @@ module Google class BackupRun include Google::Apis::Core::Hashable + # Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. + # Corresponds to the JSON property `backupKind` + # @return [String] + attr_accessor :backup_kind + # The description of this run, only applicable to on-demand backups. # Corresponds to the JSON property `description` # @return [String] @@ -168,14 +173,14 @@ module Google # The time the backup operation completed in UTC timezone in RFC 3339 format, for example - # 2012-11-15T16:19:00.094Z. + # 2012-11-15T16:19:00.094Z. # Corresponds to the JSON property `endTime` # @return [String] attr_accessor :end_time # The time the run was enqueued in UTC timezone in RFC 3339 format, for example - # 2012-11-15T16:19:00.094Z. + # 2012-11-15T16:19:00.094Z. # Corresponds to the JSON property `enqueuedTime` # @return [String] attr_accessor :enqueued_time @@ -196,7 +201,7 @@ module Google # @return [String] attr_accessor :instance - # This is always sql#backupRun. + # This is always sql#backupRun. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -213,7 +218,7 @@ module Google # The time the backup operation actually started in UTC timezone in RFC 3339 format, for example - # 2012-11-15T16:19:00.094Z. + # 2012-11-15T16:19:00.094Z. # Corresponds to the JSON property `startTime` # @return [String] attr_accessor :start_time @@ -230,7 +235,7 @@ module Google # The start time of the backup window during which this the backup was # attempted in RFC 3339 - # format, for example 2012-11-15T16:19:00.094Z. + # format, for example 2012-11-15T16:19:00.094Z. # Corresponds to the JSON property `windowStartTime` # @return [String] attr_accessor :window_start_time @@ -241,6 +246,7 @@ module Google # Update properties of this object def update!(**args) + @backup_kind = args[:backup_kind] if args.key?(:backup_kind) @description = args[:description] if args.key?(:description) @disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration) @disk_encryption_status = args[:disk_encryption_status] if args.key?(:disk_encryption_status) @@ -268,7 +274,7 @@ module Google # @return [Array] attr_accessor :items - # This is always sql#backupRunsList. + # This is always sql#backupRunsList. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -305,7 +311,7 @@ module Google # @return [Fixnum] attr_accessor :bin_log_position - # This is always sql#binLogCoordinates. + # This is always sql#binLogCoordinates. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -336,7 +342,7 @@ module Google # @return [String] attr_accessor :destination_instance_name - # This is always sql#cloneContext. + # This is always sql#cloneContext. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -369,12 +375,12 @@ module Google class Database include Google::Apis::Core::Hashable - # The MySQL charset value. + # The Cloud SQL charset value. # Corresponds to the JSON property `charset` # @return [String] attr_accessor :charset - # The MySQL collation value. + # The Cloud SQL collation value. # Corresponds to the JSON property `collation` # @return [String] attr_accessor :collation @@ -390,7 +396,7 @@ module Google # @return [String] attr_accessor :instance - # This is always sql#database. + # This is always sql#database. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -448,8 +454,8 @@ module Google # @return [String] attr_accessor :name - # The value of the flag. Booleans should be set to on for true - # and off for false. This field must be omitted if the flag + # The value of the flag. Booleans should be set to on for true + # and off for false. This field must be omitted if the flag # doesn't take a value. # Corresponds to the JSON property `value` # @return [String] @@ -467,15 +473,15 @@ module Google end # A Cloud SQL instance resource. + # Next field: 34 class DatabaseInstance include Google::Apis::Core::Hashable - # FIRST_GEN: First Generation instance. MySQL only.
SECOND_GEN: Second Generation instance or PostgreSQL - # instance.
EXTERNAL: A database server that is not + #
SECOND_GEN: Cloud SQL database instance. + #
EXTERNAL: A database server that is not # managed by Google.
This property is read-only; use the - # tier property in the settings object to determine - # the database type and Second or First Generation. + # tier property in the settings object to determine + # the database type. # Corresponds to the JSON property `backendType` # @return [String] attr_accessor :backend_type @@ -496,12 +502,14 @@ module Google # @return [Fixnum] attr_accessor :current_disk_size - # The database engine type and version. The databaseVersion - # field can not be changed after instance creation. MySQL Second Generation - # instances: MYSQL_5_7 (default) or MYSQL_5_6. - # PostgreSQL instances: POSTGRES_9_6 (default) or - # POSTGRES_11 Beta MySQL First Generation - # instances: MYSQL_5_6 (default) or MYSQL_5_5 + # The database engine type and version. The databaseVersion + # field cannot be changed after instance creation. + #
MySQL instances: MYSQL_5_7 (default), or MYSQL_5_6. + #
PostgreSQL instances: POSTGRES_9_6 (default), or + # POSTGRES_10, or POSTGRES_11 Beta, or POSTGRES_12. + #
SQL Server instances: SQLSERVER_2017_STANDARD (default), + # SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, or + # SQLSERVER_2017_WEB. # Corresponds to the JSON property `databaseVersion` # @return [String] attr_accessor :database_version @@ -517,7 +525,7 @@ module Google attr_accessor :disk_encryption_status # This field is deprecated and will be removed from a future version of the - # API. Use the settings.settingsVersion field instead. + # API. Use the settings.settingsVersion field instead. # Corresponds to the JSON property `etag` # @return [String] attr_accessor :etag @@ -536,11 +544,10 @@ module Google attr_accessor :gce_zone # The instance type. This can be one of the following. - #
CLOUD_SQL_INSTANCE: A Cloud SQL instance that is not - # replicating from a master.
ON_PREMISES_INSTANCE: An - # instance running on the - # customer's premises.
READ_REPLICA_INSTANCE: A Cloud SQL - # instance configured as a read-replica. + #
CLOUD_SQL_INSTANCE: A Cloud SQL instance that is not replicating + # from a master.
ON_PREMISES_INSTANCE: An instance running on the + # customer's premises.
READ_REPLICA_INSTANCE: A Cloud SQL instance + # configured as a read-replica. # Corresponds to the JSON property `instanceType` # @return [String] attr_accessor :instance_type @@ -550,13 +557,14 @@ module Google # @return [Array] attr_accessor :ip_addresses - # The IPv6 address assigned to the instance. This property is applicable only + # The IPv6 address assigned to the instance. + # (Deprecated) This property was applicable only # to First Generation instances. # Corresponds to the JSON property `ipv6Address` # @return [String] attr_accessor :ipv6_address - # This is always sql#instance. + # This is always sql#instance. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -587,13 +595,13 @@ module Google # @return [String] attr_accessor :project - # The geographical region. Can be us-central - # (FIRST_GEN instances only), us-central1 - # (SECOND_GEN instances only), asia-east1 or - # europe-west1. Defaults to us-central or - # us-central1 depending on the instance type (First Generation - # or Second Generation). The region can not be changed after instance - # creation. + # The geographical region. Can be + #
us-central (FIRST_GEN instances only) + #
us-central1 (SECOND_GEN instances only) + #
asia-east1 or europe-west1. + #
Defaults to us-central or + # us-central1 depending on the instance type. + # The region cannot be changed after instance creation. # Corresponds to the JSON property `region` # @return [String] attr_accessor :region @@ -640,13 +648,13 @@ module Google attr_accessor :settings # The current serving state of the Cloud SQL instance. This can be one of the - # following.
RUNNABLE: The instance is running, or is ready - # to run when accessed.
SUSPENDED: The instance is not + # following.
RUNNABLE: The instance is running, or is ready + # to run when accessed.
SUSPENDED: The instance is not # available, for example due to problems with billing. - #
PENDING_CREATE: The instance is being created. - #
MAINTENANCE: The instance is down for maintenance. - #
FAILED: The instance creation failed. - #
UNKNOWN_STATE: The state of the instance is unknown. + #
PENDING_CREATE: The instance is being created. + #
MAINTENANCE: The instance is down for maintenance. + #
FAILED: The instance creation failed. + #
UNKNOWN_STATE: The state of the instance is unknown. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state @@ -735,7 +743,7 @@ module Google # @return [Array] attr_accessor :items - # This is always sql#databasesList. + # This is always sql#databasesList. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -755,7 +763,7 @@ module Google class DemoteMasterConfiguration include Google::Apis::Core::Hashable - # This is always sql#demoteMasterConfiguration. + # This is always sql#demoteMasterConfiguration. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -780,7 +788,7 @@ module Google class DemoteMasterContext include Google::Apis::Core::Hashable - # This is always sql#demoteMasterContext. + # This is always sql#demoteMasterContext. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -797,7 +805,7 @@ module Google attr_accessor :replica_configuration # Verify GTID consistency for demote operation. Default value: - # True. Second Generation instances only. Setting this flag to + # True. Second Generation instances only. Setting this flag to # false enables you to bypass GTID consistency check between on-premises # master and Cloud SQL instance during the demotion operation but also # exposes you to the risk of future replication failures. Change the value @@ -842,7 +850,7 @@ module Google # @return [String] attr_accessor :client_key - # This is always sql#demoteMasterMysqlReplicaConfiguration. + # This is always sql#demoteMasterMysqlReplicaConfiguration. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -876,7 +884,7 @@ module Google class DiskEncryptionConfiguration include Google::Apis::Core::Hashable - # This is always sql#diskEncryptionConfiguration. + # This is always sql#diskEncryptionConfiguration. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -901,7 +909,7 @@ module Google class DiskEncryptionStatus include Google::Apis::Core::Hashable - # This is always sql#diskEncryptionStatus. + # This is always sql#diskEncryptionStatus. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -932,46 +940,40 @@ module Google attr_accessor :csv_export_options # Databases to be exported.
MySQL instances: If - # fileType is SQL and no database is specified, all - # databases are exported, except for the mysql system database. - # If fileType is CSV, you can specify one database, + # fileType is SQL and no database is specified, all + # databases are exported, except for the mysql system database. + # If fileType is CSV, you can specify one database, # either by using this property or by using the - # csvExportOptions.selectQuery property, which takes precedence + # csvExportOptions.selectQuery property, which takes precedence # over this property.
PostgreSQL instances: You must specify - # one database to be exported. If fileType is CSV, + # one database to be exported. If fileType is CSV, # this database must match the one specified in the - # csvExportOptions.selectQuery property. + # csvExportOptions.selectQuery property. # Corresponds to the JSON property `databases` # @return [Array] attr_accessor :databases - # The file type for the specified uri.
SQL: The file - # contains SQL statements.
CSV: The file contains CSV data. + # The file type for the specified uri.
SQL: The file + # contains SQL statements.
CSV: The file contains CSV data. # Corresponds to the JSON property `fileType` # @return [String] attr_accessor :file_type - # This is always sql#exportContext. + # This is always sql#exportContext. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # Option for export offload. - # Corresponds to the JSON property `offload` - # @return [Boolean] - attr_accessor :offload - alias_method :offload?, :offload - # Options for exporting data as SQL statements. # Corresponds to the JSON property `sqlExportOptions` # @return [Google::Apis::SqlV1beta4::ExportContext::SqlExportOptions] attr_accessor :sql_export_options # The path to the file in Google Cloud Storage where the export will be - # stored. The URI is in the form gs: - # //bucketName/fileName. If the file already exists, the requests - # // succeeds, but the operation fails. If fileType is - # // SQL and the filename ends with .gz, the contents are + # stored. The URI is in the form gs: + # //bucketName/fileName. If the file already exists, the requests + # // succeeds, but the operation fails. If fileType is + # // SQL and the filename ends with .gz, the contents are # // compressed. # Corresponds to the JSON property `uri` # @return [String] @@ -987,7 +989,6 @@ module Google @databases = args[:databases] if args.key?(:databases) @file_type = args[:file_type] if args.key?(:file_type) @kind = args[:kind] if args.key?(:kind) - @offload = args[:offload] if args.key?(:offload) @sql_export_options = args[:sql_export_options] if args.key?(:sql_export_options) @uri = args[:uri] if args.key?(:uri) end @@ -1049,9 +1050,9 @@ module Google include Google::Apis::Core::Hashable # Option to include SQL statement required to set up replication. - # If set to 1, the dump file includes + #
If set to 1, the dump file includes # a CHANGE MASTER TO statement with the binary log coordinates. - # If set to 2, the CHANGE MASTER TO statement is written as + #
If set to 2, the CHANGE MASTER TO statement is written as # a SQL comment, and has no effect. # All other values are ignored. # Corresponds to the JSON property `masterData` @@ -1074,7 +1075,7 @@ module Google class FailoverContext include Google::Apis::Core::Hashable - # This is always sql#failoverContext. + # This is always sql#failoverContext. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -1106,14 +1107,14 @@ module Google # @return [Array] attr_accessor :allowed_int_values - # For STRING flags, a list of strings that the value can be set + # For STRING flags, a list of strings that the value can be set # to. # Corresponds to the JSON property `allowedStringValues` # @return [Array] attr_accessor :allowed_string_values - # The database version this flag applies to. Can be MYSQL_5_5, - # MYSQL_5_6, or MYSQL_5_7. MYSQL_5_7 + # The database version this flag applies to. Can be MYSQL_5_5, + # MYSQL_5_6, or MYSQL_5_7. MYSQL_5_7 # is applicable only to Second Generation instances. # Corresponds to the JSON property `appliesTo` # @return [Array] @@ -1125,23 +1126,23 @@ module Google attr_accessor :in_beta alias_method :in_beta?, :in_beta - # This is always sql#flag. + # This is always sql#flag. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # For INTEGER flags, the maximum allowed value. + # For INTEGER flags, the maximum allowed value. # Corresponds to the JSON property `maxValue` # @return [Fixnum] attr_accessor :max_value - # For INTEGER flags, the minimum allowed value. + # For INTEGER flags, the minimum allowed value. # Corresponds to the JSON property `minValue` # @return [Fixnum] attr_accessor :min_value # This is the name of the flag. Flag names always use underscores, not - # hyphens, e.g. max_allowed_packet + # hyphens, e.g. max_allowed_packet # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -1153,10 +1154,10 @@ module Google attr_accessor :requires_restart alias_method :requires_restart?, :requires_restart - # The type of the flag. Flags are typed to being BOOLEAN, - # STRING, INTEGER or NONE. - # NONE is used for flags which do not take a value, such as - # skip_grant_tables. + # The type of the flag. Flags are typed to being BOOLEAN, + # STRING, INTEGER or NONE. + # NONE is used for flags which do not take a value, such as + # skip_grant_tables. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -1189,7 +1190,7 @@ module Google # @return [Array] attr_accessor :items - # This is always sql#flagsList. + # This is always sql#flagsList. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -1219,17 +1220,17 @@ module Google # @return [Google::Apis::SqlV1beta4::ImportContext::CsvImportOptions] attr_accessor :csv_import_options - # The target database for the import. If fileType is - # SQL, this field is required only if the import file does not + # The target database for the import. If fileType is + # SQL, this field is required only if the import file does not # specify a database, and is overridden by any database specification in the - # import file. If fileType is CSV, one database + # import file. If fileType is CSV, one database # must be specified. # Corresponds to the JSON property `database` # @return [String] attr_accessor :database - # The file type for the specified uri.
SQL: The file - # contains SQL statements.
CSV: The file contains CSV data. + # The file type for the specified uri.
SQL: The file + # contains SQL statements.
CSV: The file contains CSV data. # Corresponds to the JSON property `fileType` # @return [String] attr_accessor :file_type @@ -1239,15 +1240,15 @@ module Google # @return [String] attr_accessor :import_user - # This is always sql#importContext. + # This is always sql#importContext. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # Path to the import file in Cloud Storage, in the form - # gs: - # //bucketName/fileName. Compressed gzip files (.gz) are supported - # // when fileType is SQL. The instance must have + # gs: + # //bucketName/fileName. Compressed gzip files (.gz) are supported + # // when fileType is SQL. The instance must have # // write permissions to the bucket and read access to the file. # Corresponds to the JSON property `uri` # @return [String] @@ -1291,7 +1292,7 @@ module Google include Google::Apis::Core::Hashable # Path to the Certificate (.cer) in Cloud Storage, in the form - # gs://bucketName/fileName. The instance must have + # gs://bucketName/fileName. The instance must have # write permissions to the bucket and read access to the file. # Corresponds to the JSON property `certPath` # @return [String] @@ -1303,7 +1304,7 @@ module Google attr_accessor :pvk_password # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the - # form gs://bucketName/fileName. The instance must have + # form gs://bucketName/fileName. The instance must have # write permissions to the bucket and read access to the file. # Corresponds to the JSON property `pvkPath` # @return [String] @@ -1453,7 +1454,7 @@ module Google # @return [Array] attr_accessor :items - # This is always sql#instancesList. + # This is always sql#instancesList. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -1496,7 +1497,7 @@ module Google # @return [Array] attr_accessor :certs - # This is always sql#instancesListServerCas. + # This is always sql#instancesListServerCas. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -1576,10 +1577,8 @@ module Google include Google::Apis::Core::Hashable # The list of external networks that are allowed to connect to the instance - # using the IP. In CIDR - # notation, also known as 'slash' notation (e.g. - # 192.168.100.0/24). + # using the IP. In 'CIDR' notation, also known as 'slash' notation (e.g. + # 192.168.100.0/24). # Corresponds to the JSON property `authorizedNetworks` # @return [Array] attr_accessor :authorized_networks @@ -1592,7 +1591,7 @@ module Google # The resource link for the VPC network from which the Cloud SQL instance is # accessible for private IP. For example, - # /projects/myProject/global/networks/default. This setting can + # /projects/myProject/global/networks/default. This setting can # be updated, but it cannot be removed after it is set. # Corresponds to the JSON property `privateNetwork` # @return [String] @@ -1628,16 +1627,16 @@ module Google # The due time for this IP to be retired in RFC 3339 format, for example - # 2012-11-15T16:19:00.094Z. This field is only available when + # 2012-11-15T16:19:00.094Z. This field is only available when # the IP is scheduled to be retired. # Corresponds to the JSON property `timeToRetire` # @return [String] attr_accessor :time_to_retire - # The type of this IP address. A PRIMARY address is a public - # address that can accept incoming connections. A PRIVATE + # The type of this IP address. A PRIMARY address is a public + # address that can accept incoming connections. A PRIVATE # address is a private address that can accept incoming connections. An - # OUTGOING address is the source address of connections + # OUTGOING address is the source address of connections # originating from the instance, if supported. # Corresponds to the JSON property `type` # @return [String] @@ -1663,13 +1662,13 @@ module Google class LocationPreference include Google::Apis::Core::Hashable - # The AppEngine application to follow, it must be in the same region as the + # The App Engine application to follow, it must be in the same region as the # Cloud SQL instance. # Corresponds to the JSON property `followGaeApplication` # @return [String] attr_accessor :follow_gae_application - # This is always sql#locationPreference. + # This is always sql#locationPreference. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -1707,13 +1706,13 @@ module Google # @return [Fixnum] attr_accessor :hour - # This is always sql#maintenanceWindow. + # This is always sql#maintenanceWindow. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # Maintenance timing setting: canary (Earlier) or - # stable (Later).
canary (Earlier) or + # stable (Later).
# Learn more. # Corresponds to the JSON property `updateTrack` @@ -1759,16 +1758,16 @@ module Google attr_accessor :connect_retry_interval # Path to a SQL dump file in Google Cloud Storage from which the slave - # instance is to be created. The URI is in the form gs: - # //bucketName/fileName. Compressed gzip files (.gz) are also supported. - # // Dumps should have the binlog co-ordinates from which replication should - # // begin. This can be accomplished by setting --master-data to 1 when using - # // mysqldump. + # instance is to be created. The URI is in the form gs://bucketName/fileName. + # Compressed gzip files (.gz) are also supported. + # Dumps should have the binlog co-ordinates from which replication should + # begin. This can be accomplished by setting --master-data to 1 when using + # mysqldump. # Corresponds to the JSON property `dumpFilePath` # @return [String] attr_accessor :dump_file_path - # This is always sql#mysqlReplicaConfiguration. + # This is always sql#mysqlReplicaConfiguration. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -1850,7 +1849,7 @@ module Google # @return [String] attr_accessor :host_port - # This is always sql#onPremisesConfiguration. + # This is always sql#onPremisesConfiguration. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -1890,7 +1889,7 @@ module Google # The time this operation finished in UTC timezone in RFC 3339 format, for example - # 2012-11-15T16:19:00.094Z. + # 2012-11-15T16:19:00.094Z. # Corresponds to the JSON property `endTime` # @return [String] attr_accessor :end_time @@ -1912,12 +1911,12 @@ module Google # The time this operation was enqueued in UTC timezone in RFC 3339 format, for example - # 2012-11-15T16:19:00.094Z. + # 2012-11-15T16:19:00.094Z. # Corresponds to the JSON property `insertTime` # @return [String] attr_accessor :insert_time - # This is always sql#operation. + # This is always sql#operation. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -1929,12 +1928,19 @@ module Google # @return [String] attr_accessor :name - # The type of the operation. Valid values are CREATE, - # DELETE, UPDATE, RESTART, - # IMPORT, EXPORT, BACKUP_VOLUME, - # RESTORE_VOLUME, CREATE_USER, - # DELETE_USER, CREATE_DATABASE, - # DELETE_DATABASE . + # The type of the operation. Valid values are: + #
CREATE + #
DELETE + #
UPDATE + #
RESTART + #
IMPORT + #
EXPORT + #
BACKUP_VOLUME + #
RESTORE_VOLUME + #
CREATE_USER + #
DELETE_USER + #
CREATE_DATABASE + #
DELETE_DATABASE # Corresponds to the JSON property `operationType` # @return [String] attr_accessor :operation_type @@ -1946,14 +1952,16 @@ module Google # The time this operation actually started in UTC timezone in RFC 3339 format, for example - # 2012-11-15T16:19:00.094Z. + # 2012-11-15T16:19:00.094Z. # Corresponds to the JSON property `startTime` # @return [String] attr_accessor :start_time - # The status of an operation. Valid values are PENDING, - # RUNNING, DONE, - # SQL_OPERATION_STATUS_UNSPECIFIED. + # The status of an operation. Valid values are: + #
PENDING + #
RUNNING + #
DONE + #
SQL_OPERATION_STATUS_UNSPECIFIED # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -2011,7 +2019,7 @@ module Google # @return [String] attr_accessor :code - # This is always sql#operationError. + # This is always sql#operationError. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2042,7 +2050,7 @@ module Google # @return [Array] attr_accessor :errors - # This is always sql#operationErrors. + # This is always sql#operationErrors. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2067,7 +2075,7 @@ module Google # @return [Array] attr_accessor :items - # This is always sql#operationsList. + # This is always sql#operationsList. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2095,7 +2103,7 @@ module Google include Google::Apis::Core::Hashable # Specifies if the replica is the failover target. If the field is set to - # true the replica will be designated as a failover replica. In + # true the replica will be designated as a failover replica. In # case the master instance fails, the replica instance will be promoted as # the new master instance.

Only one replica can be specified as failover # target, and the replica has to be in different zone with the master @@ -2105,7 +2113,7 @@ module Google attr_accessor :failover_target alias_method :failover_target?, :failover_target - # This is always sql#replicaConfiguration. + # This is always sql#replicaConfiguration. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2139,7 +2147,7 @@ module Google # Optional. Timestamp when the maintenance shall be rescheduled to if # reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for - # example 2012-11-15T16:19:00.094Z. + # example 2012-11-15T16:19:00.094Z. # Corresponds to the JSON property `scheduleTime` # @return [String] attr_accessor :schedule_time @@ -2170,7 +2178,7 @@ module Google # @return [String] attr_accessor :instance_id - # This is always sql#restoreBackupContext. + # This is always sql#restoreBackupContext. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2197,7 +2205,7 @@ module Google class RotateServerCaContext include Google::Apis::Core::Hashable - # This is always sql#rotateServerCaContext. + # This is always sql#rotateServerCaContext. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2224,32 +2232,29 @@ module Google include Google::Apis::Core::Hashable # The activation policy specifies when the instance is activated; it is - # applicable only when the instance state is RUNNABLE. Valid - # values:
ALWAYS: The instance is on, and remains so even in - # the absence of connection requests.
NEVER: The instance is - # off; it is not activated, even if a connection request arrives. - #
ON_DEMAND: First Generation instances only. The instance - # responds to incoming requests, and turns itself off when not in use. - # Instances with PER_USE pricing turn off after 15 minutes of - # inactivity. Instances with PER_PACKAGE pricing turn off after - # 12 hours of inactivity. + # applicable only when the instance state is RUNNABLE. Valid values: + #
ALWAYS: The instance is on, and remains so even in + # the absence of connection requests. + #
NEVER: The instance is off; it is not activated, even if a + # connection request arrives. # Corresponds to the JSON property `activationPolicy` # @return [String] attr_accessor :activation_policy - # The App Engine app IDs that can access this instance. First Generation - # instances only. + # The App Engine app IDs that can access this instance. + # (Deprecated) Applied to First Generation instances only. # Corresponds to the JSON property `authorizedGaeApplications` # @return [Array] attr_accessor :authorized_gae_applications - # Availability type (PostgreSQL and MySQL instances only). Potential values: - #
ZONAL: The instance serves data from only one zone. - # Outages in that zone affect data accessibility.
REGIONAL: - # The instance can serve data from more than one zone in a region (it is - # highly available).
For more information, see Overview - # of the High Availability Configuration. + # Availability type. Potential values: + #
ZONAL: The instance serves data from only one zone. + # Outages in that zone affect data accessibility. + #
REGIONAL: The instance can serve data from more than one zone + # in a region + # (it is highly available).
For more information, see + # + # Overview of the High Availability Configuration. # Corresponds to the JSON property `availabilityType` # @return [String] attr_accessor :availability_type @@ -2259,22 +2264,26 @@ module Google # @return [Google::Apis::SqlV1beta4::BackupConfiguration] attr_accessor :backup_configuration + # The name of server Instance collation. + # Corresponds to the JSON property `collation` + # @return [String] + attr_accessor :collation + # Configuration specific to read replica instances. Indicates whether - # database flags for crash-safe replication are enabled. This property is + # database flags for crash-safe replication are enabled. This property was # only applicable to First Generation instances. # Corresponds to the JSON property `crashSafeReplicationEnabled` # @return [Boolean] attr_accessor :crash_safe_replication_enabled alias_method :crash_safe_replication_enabled?, :crash_safe_replication_enabled - # The size of data disk, in GB. The data disk size minimum is 10GB. Not used - # for First Generation instances. + # The size of data disk, in GB. The data disk size minimum is 10GB. # Corresponds to the JSON property `dataDiskSizeGb` # @return [Fixnum] attr_accessor :data_disk_size_gb - # The type of data disk: PD_SSD (default) or - # PD_HDD. Not used for First Generation instances. + # The type of data disk: PD_SSD (default) or + # PD_HDD. Not used for First Generation instances. # Corresponds to the JSON property `dataDiskType` # @return [String] attr_accessor :data_disk_type @@ -2296,7 +2305,7 @@ module Google # @return [Google::Apis::SqlV1beta4::IpConfiguration] attr_accessor :ip_configuration - # This is always sql#settings. + # This is always sql#settings. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2316,16 +2325,17 @@ module Google # @return [Google::Apis::SqlV1beta4::MaintenanceWindow] attr_accessor :maintenance_window - # The pricing plan for this instance. This can be either PER_USE - # or PACKAGE. Only PER_USE is supported for Second + # The pricing plan for this instance. This can be either PER_USE + # or PACKAGE. Only PER_USE is supported for Second # Generation instances. # Corresponds to the JSON property `pricingPlan` # @return [String] attr_accessor :pricing_plan # The type of replication this instance uses. This can be either - # ASYNCHRONOUS or SYNCHRONOUS. This property is - # only applicable to First Generation instances. + # ASYNCHRONOUS or SYNCHRONOUS. + # (Deprecated_ This property was only applicable to + # First Generation instances. # Corresponds to the JSON property `replicationType` # @return [String] attr_accessor :replication_type @@ -2339,25 +2349,21 @@ module Google attr_accessor :settings_version # Configuration to increase storage size automatically. The default value is - # true. Not used for First Generation instances. + # true. # Corresponds to the JSON property `storageAutoResize` # @return [Boolean] attr_accessor :storage_auto_resize alias_method :storage_auto_resize?, :storage_auto_resize # The maximum size to which storage capacity can be automatically increased. - # The default value is 0, which specifies that there is no limit. Not used - # for First Generation instances. + # The default value is 0, which specifies that there is no limit. # Corresponds to the JSON property `storageAutoResizeLimit` # @return [Fixnum] attr_accessor :storage_auto_resize_limit # The tier (or machine type) for this instance, for example - # db-n1-standard-1 (MySQL instances) or - # db-custom-1-3840 (PostgreSQL instances). For MySQL instances, - # this property determines whether the instance is First or Second - # Generation. For more information, see Instance Settings. + # db-n1-standard-1 (MySQL instances) or + # db-custom-1-3840 (PostgreSQL instances). # Corresponds to the JSON property `tier` # @return [String] attr_accessor :tier @@ -2378,6 +2384,7 @@ module Google @authorized_gae_applications = args[:authorized_gae_applications] if args.key?(:authorized_gae_applications) @availability_type = args[:availability_type] if args.key?(:availability_type) @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration) + @collation = args[:collation] if args.key?(:collation) @crash_safe_replication_enabled = args[:crash_safe_replication_enabled] if args.key?(:crash_safe_replication_enabled) @data_disk_size_gb = args[:data_disk_size_gb] if args.key?(:data_disk_size_gb) @data_disk_type = args[:data_disk_type] if args.key?(:data_disk_type) @@ -2406,7 +2413,7 @@ module Google # @return [String] attr_accessor :detail - # This is always sql#migrationSettingError. + # This is always sql#migrationSettingError. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2456,7 +2463,7 @@ module Google # @return [Array] attr_accessor :errors - # This is always sql#migrationSettingErrorList. + # This is always sql#migrationSettingErrorList. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2577,14 +2584,14 @@ module Google # The time when the certificate was created in RFC 3339 format, for example - # 2012-11-15T16:19:00.094Z + # 2012-11-15T16:19:00.094Z # Corresponds to the JSON property `createTime` # @return [String] attr_accessor :create_time # The time when the certificate expires in RFC 3339 format, for example - # 2012-11-15T16:19:00.094Z. + # 2012-11-15T16:19:00.094Z. # Corresponds to the JSON property `expirationTime` # @return [String] attr_accessor :expiration_time @@ -2594,7 +2601,7 @@ module Google # @return [String] attr_accessor :instance - # This is always sql#sslCert. + # This is always sql#sslCert. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2701,7 +2708,7 @@ module Google # @return [Google::Apis::SqlV1beta4::SslCertDetail] attr_accessor :client_cert - # This is always sql#sslCertsInsert. + # This is always sql#sslCertsInsert. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2740,7 +2747,7 @@ module Google # @return [Array] attr_accessor :items - # This is always sql#sslCertsList. + # This is always sql#sslCertsList. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2770,7 +2777,7 @@ module Google # @return [Fixnum] attr_accessor :ram - # This is always sql#tier. + # This is always sql#tier. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2809,7 +2816,7 @@ module Google # @return [Array] attr_accessor :items - # This is always sql#tiersList. + # This is always sql#tiersList. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -2829,13 +2836,13 @@ module Google class TruncateLogContext include Google::Apis::Core::Hashable - # This is always sql#truncateLogContext. + # This is always sql#truncateLogContext. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # The type of log to truncate. Valid values are - # MYSQL_GENERAL_TABLE and MYSQL_SLOW_TABLE. + # MYSQL_GENERAL_TABLE and MYSQL_SLOW_TABLE. # Corresponds to the JSON property `logType` # @return [String] attr_accessor :log_type @@ -2861,8 +2868,8 @@ module Google # @return [String] attr_accessor :etag - # The host name from which the user can connect. For insert - # operations, host defaults to an empty string. For update + # The host name from which the user can connect. For insert + # operations, host defaults to an empty string. For update # operations, host is specified as part of the request URL. The host name # cannot be updated after insertion. # Corresponds to the JSON property `host` @@ -2870,19 +2877,19 @@ module Google attr_accessor :host # The name of the Cloud SQL instance. This does not include the project ID. - # Can be omitted for update since it is already specified on the + # Can be omitted for update since it is already specified on the # URL. # Corresponds to the JSON property `instance` # @return [String] attr_accessor :instance - # This is always sql#user. + # This is always sql#user. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # The name of the user in the Cloud SQL instance. Can be omitted for - # update since it is already specified in the URL. + # update since it is already specified in the URL. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -2894,7 +2901,7 @@ module Google # The project ID of the project containing the Cloud SQL database. The Google # apps domain is prefixed if applicable. Can be omitted for - # update since it is already specified on the URL. + # update since it is already specified on the URL. # Corresponds to the JSON property `project` # @return [String] attr_accessor :project @@ -2930,7 +2937,7 @@ module Google # @return [Array] attr_accessor :items - # This is always sql#usersList. + # This is always sql#usersList. # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind diff --git a/generated/google/apis/sql_v1beta4/representations.rb b/generated/google/apis/sql_v1beta4/representations.rb index 212b79882..7038754ed 100644 --- a/generated/google/apis/sql_v1beta4/representations.rb +++ b/generated/google/apis/sql_v1beta4/representations.rb @@ -476,6 +476,7 @@ module Google class BackupRun # @private class Representation < Google::Apis::Core::JsonRepresentation + property :backup_kind, as: 'backupKind' property :description, as: 'description' property :disk_encryption_configuration, as: 'diskEncryptionConfiguration', class: Google::Apis::SqlV1beta4::DiskEncryptionConfiguration, decorator: Google::Apis::SqlV1beta4::DiskEncryptionConfiguration::Representation @@ -669,7 +670,6 @@ module Google collection :databases, as: 'databases' property :file_type, as: 'fileType' property :kind, as: 'kind' - property :offload, as: 'offload' property :sql_export_options, as: 'sqlExportOptions', class: Google::Apis::SqlV1beta4::ExportContext::SqlExportOptions, decorator: Google::Apis::SqlV1beta4::ExportContext::SqlExportOptions::Representation property :uri, as: 'uri' @@ -1025,6 +1025,7 @@ module Google property :availability_type, as: 'availabilityType' property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqlV1beta4::BackupConfiguration, decorator: Google::Apis::SqlV1beta4::BackupConfiguration::Representation + property :collation, as: 'collation' property :crash_safe_replication_enabled, as: 'crashSafeReplicationEnabled' property :data_disk_size_gb, :numeric_string => true, as: 'dataDiskSizeGb' property :data_disk_type, as: 'dataDiskType' diff --git a/generated/google/apis/sql_v1beta4/service.rb b/generated/google/apis/sql_v1beta4/service.rb index 93d166ba3..c8f988646 100644 --- a/generated/google/apis/sql_v1beta4/service.rb +++ b/generated/google/apis/sql_v1beta4/service.rb @@ -43,8 +43,8 @@ module Google attr_accessor :quota_user def initialize - super('https://sqladmin.googleapis.com/', '') - @batch_path = 'batch' + super('https://www.googleapis.com/', '') + @batch_path = 'batch/sql' end # Deletes the backup taken by a backup run. diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index e2f919d6c..230635468 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://devsite.googleplex.com/youtube/partner/docs/v1/ module YoutubePartnerV1 VERSION = 'V1' - REVISION = '20200720' + REVISION = '20200723' # View and manage your assets and associated content on YouTube AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner' diff --git a/generated/google/apis/youtube_v3.rb b/generated/google/apis/youtube_v3.rb index bd6aef63b..ca1774b49 100644 --- a/generated/google/apis/youtube_v3.rb +++ b/generated/google/apis/youtube_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/youtube/ module YoutubeV3 VERSION = 'V3' - REVISION = '20200719' + REVISION = '20200722' # Manage your YouTube account AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' diff --git a/generated/google/apis/youtube_v3/classes.rb b/generated/google/apis/youtube_v3/classes.rb index 24329b858..1276ab79d 100644 --- a/generated/google/apis/youtube_v3/classes.rb +++ b/generated/google/apis/youtube_v3/classes.rb @@ -7628,6 +7628,11 @@ module Google class TestItem include Google::Apis::Core::Hashable + # + # Corresponds to the JSON property `gaia` + # @return [Fixnum] + attr_accessor :gaia + # # Corresponds to the JSON property `id` # @return [String] @@ -7644,6 +7649,7 @@ module Google # Update properties of this object def update!(**args) + @gaia = args[:gaia] if args.key?(:gaia) @id = args[:id] if args.key?(:id) @snippet = args[:snippet] if args.key?(:snippet) end diff --git a/generated/google/apis/youtube_v3/representations.rb b/generated/google/apis/youtube_v3/representations.rb index fe7f3e066..8d564eacd 100644 --- a/generated/google/apis/youtube_v3/representations.rb +++ b/generated/google/apis/youtube_v3/representations.rb @@ -3176,6 +3176,7 @@ module Google class TestItem # @private class Representation < Google::Apis::Core::JsonRepresentation + property :gaia, :numeric_string => true, as: 'gaia' property :id, as: 'id' property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::TestItemTestItemSnippet, decorator: Google::Apis::YoutubeV3::TestItemTestItemSnippet::Representation