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
This commit is contained in:
parent
284c4fefd8
commit
32749a8657
|
@ -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
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/hangouts/chat
|
||||
module ChatV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200708'
|
||||
REVISION = '20200722'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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/*".
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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<Fixnum>]
|
||||
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)
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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<Fixnum>]
|
||||
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)
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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: <ul>
|
||||
# <li>"`local`": a physical store</li> <li>"`online`":
|
||||
# an online store</li> </ul>
|
||||
# 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.<br> 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
|
||||
# <code>doubleclicksearch#conversionList</code>.
|
||||
# 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<Google::Apis::DoubleclicksearchV2::Report::File>]
|
||||
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: <ul> <li>"`sold`": returns metrics only for products
|
||||
# that were sold</li> <li>"`advertised`": returns metrics only for
|
||||
# products that were advertised in a Shopping campaign, and that might or
|
||||
# might not have been sold</li> </ul>
|
||||
# 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<Google::Apis::DoubleclicksearchV2::ReportApiColumnSpec>]
|
||||
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<Google::Apis::DoubleclicksearchV2::ReportRequest::Filter>]
|
||||
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<Google::Apis::DoubleclicksearchV2::ReportRequest::OrderBy>]
|
||||
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<Object>]
|
||||
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
|
||||
# <code>doubleclicksearch#savedColumn</code>.
|
||||
# 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
|
||||
# <code>doubleclicksearch#savedColumnList</code>.
|
||||
# doubleclicksearch#savedColumnList.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -299,7 +299,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
# Response message for UpdateMultipleAchievements rpc.
|
||||
class AchievementUpdateMultipleResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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<String>]
|
||||
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<String>]
|
||||
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<Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeployment>]
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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<String,String>]
|
||||
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<String,String>]
|
||||
attr_accessor :maintenance_policy_names
|
||||
|
||||
# The MaintenanceSchedule contains the scheduling information of published
|
||||
# maintenance schedule.
|
||||
# Corresponds to the JSON property `maintenanceSchedules`
|
||||
# @return [Hash<String,Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
|
||||
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<String,String>]
|
||||
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<Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>]
|
||||
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<String,String>]
|
||||
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<Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
||||
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<Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
||||
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<Google::Apis::RedisV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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`
|
||||
|
|
|
@ -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'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -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'
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue