Autogenerated update (2020-08-14)

Update:
- bigqueryreservation_v1
- bigqueryreservation_v1beta1
- cloudresourcemanager_v1
- cloudresourcemanager_v1beta1
- cloudresourcemanager_v2
- cloudresourcemanager_v2beta1
- datacatalog_v1beta1
- dataproc_v1
- dataproc_v1beta2
- doubleclickbidmanager_v1
- doubleclickbidmanager_v1_1
- iamcredentials_v1
- ml_v1
- pubsub_v1
- pubsub_v1beta1a
- pubsub_v1beta2
- spanner_v1
- sql_v1beta4
This commit is contained in:
Google APIs 2020-08-14 00:38:12 +00:00
parent f3858be52f
commit cb8c50c5f2
51 changed files with 5497 additions and 7237 deletions

View File

@ -14657,9 +14657,11 @@
"/bigqueryreservation:v1/Operation/response": response
"/bigqueryreservation:v1/Operation/response/response": response
"/bigqueryreservation:v1/Reservation": reservation
"/bigqueryreservation:v1/Reservation/creationTime": creation_time
"/bigqueryreservation:v1/Reservation/ignoreIdleSlots": ignore_idle_slots
"/bigqueryreservation:v1/Reservation/name": name
"/bigqueryreservation:v1/Reservation/slotCapacity": slot_capacity
"/bigqueryreservation:v1/Reservation/updateTime": update_time
"/bigqueryreservation:v1/SearchAllAssignmentsResponse": search_all_assignments_response
"/bigqueryreservation:v1/SearchAllAssignmentsResponse/assignments": assignments
"/bigqueryreservation:v1/SearchAllAssignmentsResponse/assignments/assignment": assignment
@ -14882,9 +14884,11 @@
"/bigqueryreservation:v1beta1/MoveAssignmentRequest": move_assignment_request
"/bigqueryreservation:v1beta1/MoveAssignmentRequest/destinationId": destination_id
"/bigqueryreservation:v1beta1/Reservation": reservation
"/bigqueryreservation:v1beta1/Reservation/creationTime": creation_time
"/bigqueryreservation:v1beta1/Reservation/ignoreIdleSlots": ignore_idle_slots
"/bigqueryreservation:v1beta1/Reservation/name": name
"/bigqueryreservation:v1beta1/Reservation/slotCapacity": slot_capacity
"/bigqueryreservation:v1beta1/Reservation/updateTime": update_time
"/bigqueryreservation:v1beta1/SearchAssignmentsResponse": search_assignments_response
"/bigqueryreservation:v1beta1/SearchAssignmentsResponse/assignments": assignments
"/bigqueryreservation:v1beta1/SearchAssignmentsResponse/assignments/assignment": assignment
@ -59652,12 +59656,17 @@
"/dataproc:v1/InstanceGroupConfig/imageUri": image_uri
"/dataproc:v1/InstanceGroupConfig/instanceNames": instance_names
"/dataproc:v1/InstanceGroupConfig/instanceNames/instance_name": instance_name
"/dataproc:v1/InstanceGroupConfig/instanceReferences": instance_references
"/dataproc:v1/InstanceGroupConfig/instanceReferences/instance_reference": instance_reference
"/dataproc:v1/InstanceGroupConfig/isPreemptible": is_preemptible
"/dataproc:v1/InstanceGroupConfig/machineTypeUri": machine_type_uri
"/dataproc:v1/InstanceGroupConfig/managedGroupConfig": managed_group_config
"/dataproc:v1/InstanceGroupConfig/minCpuPlatform": min_cpu_platform
"/dataproc:v1/InstanceGroupConfig/numInstances": num_instances
"/dataproc:v1/InstanceGroupConfig/preemptibility": preemptibility
"/dataproc:v1/InstanceReference": instance_reference
"/dataproc:v1/InstanceReference/instanceId": instance_id
"/dataproc:v1/InstanceReference/instanceName": instance_name
"/dataproc:v1/InstantiateWorkflowTemplateRequest": instantiate_workflow_template_request
"/dataproc:v1/InstantiateWorkflowTemplateRequest/parameters": parameters
"/dataproc:v1/InstantiateWorkflowTemplateRequest/parameters/parameter": parameter
@ -60298,12 +60307,17 @@
"/dataproc:v1beta2/InstanceGroupConfig/imageUri": image_uri
"/dataproc:v1beta2/InstanceGroupConfig/instanceNames": instance_names
"/dataproc:v1beta2/InstanceGroupConfig/instanceNames/instance_name": instance_name
"/dataproc:v1beta2/InstanceGroupConfig/instanceReferences": instance_references
"/dataproc:v1beta2/InstanceGroupConfig/instanceReferences/instance_reference": instance_reference
"/dataproc:v1beta2/InstanceGroupConfig/isPreemptible": is_preemptible
"/dataproc:v1beta2/InstanceGroupConfig/machineTypeUri": machine_type_uri
"/dataproc:v1beta2/InstanceGroupConfig/managedGroupConfig": managed_group_config
"/dataproc:v1beta2/InstanceGroupConfig/minCpuPlatform": min_cpu_platform
"/dataproc:v1beta2/InstanceGroupConfig/numInstances": num_instances
"/dataproc:v1beta2/InstanceGroupConfig/preemptibility": preemptibility
"/dataproc:v1beta2/InstanceReference": instance_reference
"/dataproc:v1beta2/InstanceReference/instanceId": instance_id
"/dataproc:v1beta2/InstanceReference/instanceName": instance_name
"/dataproc:v1beta2/InstantiateWorkflowTemplateRequest": instantiate_workflow_template_request
"/dataproc:v1beta2/InstantiateWorkflowTemplateRequest/instanceId": instance_id
"/dataproc:v1beta2/InstantiateWorkflowTemplateRequest/parameters": parameters
@ -107603,6 +107617,10 @@
"/ml:v1/GoogleCloudMlV1__Config/tpuServiceAccount": tpu_service_account
"/ml:v1/GoogleCloudMlV1__EncryptionConfig": google_cloud_ml_v1__encryption_config
"/ml:v1/GoogleCloudMlV1__EncryptionConfig/kmsKeyName": kms_key_name
"/ml:v1/GoogleCloudMlV1__EndpointMap": google_cloud_ml_v1__endpoint_map
"/ml:v1/GoogleCloudMlV1__EndpointMap/explain": explain
"/ml:v1/GoogleCloudMlV1__EndpointMap/health": health
"/ml:v1/GoogleCloudMlV1__EndpointMap/predict": predict
"/ml:v1/GoogleCloudMlV1__ExplainRequest": google_cloud_ml_v1__explain_request
"/ml:v1/GoogleCloudMlV1__ExplainRequest/httpBody": http_body
"/ml:v1/GoogleCloudMlV1__ExplanationConfig": google_cloud_ml_v1__explanation_config
@ -107840,6 +107858,7 @@
"/ml:v1/GoogleCloudMlV1__Version/createTime": create_time
"/ml:v1/GoogleCloudMlV1__Version/deploymentUri": deployment_uri
"/ml:v1/GoogleCloudMlV1__Version/description": description
"/ml:v1/GoogleCloudMlV1__Version/endpoints": endpoints
"/ml:v1/GoogleCloudMlV1__Version/errorMessage": error_message
"/ml:v1/GoogleCloudMlV1__Version/etag": etag
"/ml:v1/GoogleCloudMlV1__Version/explanationConfig": explanation_config
@ -131381,6 +131400,7 @@
"/sql:v1beta4/User/password": password
"/sql:v1beta4/User/project": project
"/sql:v1beta4/User/sqlserverUserDetails": sqlserver_user_details
"/sql:v1beta4/User/type": type
"/sql:v1beta4/UsersListResponse": users_list_response
"/sql:v1beta4/UsersListResponse/items": items
"/sql:v1beta4/UsersListResponse/items/item": item

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigquery/
module BigqueryreservationV1
VERSION = 'V1'
REVISION = '20200801'
REVISION = '20200808'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -421,6 +421,11 @@ module Google
class Reservation
include Google::Apis::Core::Hashable
# Output only. Creation time of the reservation.
# Corresponds to the JSON property `creationTime`
# @return [String]
attr_accessor :creation_time
# If false, any query using this reservation will use idle slots from other
# reservations within the same admin project. If true, a query using this
# reservation will execute with the slot capacity specified above at most.
@ -446,15 +451,22 @@ module Google
# @return [Fixnum]
attr_accessor :slot_capacity
# Output only. Last update time of the reservation.
# 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)
@creation_time = args[:creation_time] if args.key?(:creation_time)
@ignore_idle_slots = args[:ignore_idle_slots] if args.key?(:ignore_idle_slots)
@name = args[:name] if args.key?(:name)
@slot_capacity = args[:slot_capacity] if args.key?(:slot_capacity)
@update_time = args[:update_time] if args.key?(:update_time)
end
end

View File

@ -242,9 +242,11 @@ module Google
class Reservation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_time, as: 'creationTime'
property :ignore_idle_slots, as: 'ignoreIdleSlots'
property :name, as: 'name'
property :slot_capacity, :numeric_string => true, as: 'slotCapacity'
property :update_time, as: 'updateTime'
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigquery/
module BigqueryreservationV1beta1
VERSION = 'V1beta1'
REVISION = '20200801'
REVISION = '20200808'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -334,6 +334,11 @@ module Google
class Reservation
include Google::Apis::Core::Hashable
# Output only. Creation time of the reservation.
# Corresponds to the JSON property `creationTime`
# @return [String]
attr_accessor :creation_time
# If false, any query using this reservation will use idle slots from other
# reservations within the same admin project. If true, a query using this
# reservation will execute with the slot capacity specified above at most.
@ -359,15 +364,22 @@ module Google
# @return [Fixnum]
attr_accessor :slot_capacity
# Output only. Last update time of the reservation.
# 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)
@creation_time = args[:creation_time] if args.key?(:creation_time)
@ignore_idle_slots = args[:ignore_idle_slots] if args.key?(:ignore_idle_slots)
@name = args[:name] if args.key?(:name)
@slot_capacity = args[:slot_capacity] if args.key?(:slot_capacity)
@update_time = args[:update_time] if args.key?(:update_time)
end
end

View File

@ -203,9 +203,11 @@ module Google
class Reservation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_time, as: 'creationTime'
property :ignore_idle_slots, as: 'ignoreIdleSlots'
property :name, as: 'name'
property :slot_capacity, :numeric_string => true, as: 'slotCapacity'
property :update_time, as: 'updateTime'
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV1
VERSION = 'V1'
REVISION = '20200720'
REVISION = '20200810'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1113,7 +1113,7 @@ module Google
# caller has the `resourcemanager.projects.list` permission on the parent, the
# results will be drawn from an alternate index which provides more consistent
# results. In future versions of this API, this List method will be split into
# List and Search to properly capture the behavorial difference.
# List and Search to properly capture the behavioral difference.
# @param [String] filter
# An expression for filtering the results of the request. Filter rules are case
# insensitive. Some eligible fields for filtering are: + `name` + `id` + `labels.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV1beta1
VERSION = 'V1beta1'
REVISION = '20200720'
REVISION = '20200810'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -466,7 +466,7 @@ module Google
# caller has the `resourcemanager.projects.list` permission on the parent, the
# results will be drawn from an alternate index which provides more consistent
# results. In future versions of this API, this List method will be split into
# List and Search to properly capture the behavorial difference.
# List and Search to properly capture the behavioral difference.
# @param [String] filter
# An expression for filtering the results of the request. Filter rules are case
# insensitive. The fields eligible for filtering are: + `name` + `id` + `labels.`

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV2
VERSION = 'V2'
REVISION = '20200720'
REVISION = '20200810'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV2beta1
VERSION = 'V2beta1'
REVISION = '20200720'
REVISION = '20200810'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/data-catalog/docs/
module DatacatalogV1beta1
VERSION = 'V1beta1'
REVISION = '20200728'
REVISION = '20200810'
# 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

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/
module DataprocV1
VERSION = 'V1'
REVISION = '20200725'
REVISION = '20200807'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -178,8 +178,9 @@ module Google
# for which to remove workers. A scale-down factor of 1 will result in scaling
# down so that there is no available memory remaining after the update (more
# aggressive scaling). A scale-down factor of 0 disables removing workers, which
# can be beneficial for autoscaling a single job. See How autoscaling works for
# more information.Bounds: 0.0, 1.0.
# can be beneficial for autoscaling a single job. See How autoscaling works (
# https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/
# autoscaling#how_autoscaling_works) for more information.Bounds: 0.0, 1.0.
# Corresponds to the JSON property `scaleDownFactor`
# @return [Float]
attr_accessor :scale_down_factor
@ -197,8 +198,9 @@ module Google
# for which to add workers. A scale-up factor of 1.0 will result in scaling up
# so that there is no pending memory remaining after the update (more aggressive
# scaling). A scale-up factor closer to 0 will result in a smaller magnitude of
# scaling up (less aggressive scaling). See How autoscaling works for more
# information.Bounds: 0.0, 1.0.
# scaling up (less aggressive scaling). See How autoscaling works (https://cloud.
# google.com/dataproc/docs/concepts/configuring-clusters/autoscaling#
# how_autoscaling_works) for more information.Bounds: 0.0, 1.0.
# Corresponds to the JSON property `scaleUpFactor`
# @return [Float]
attr_accessor :scale_up_factor
@ -1276,6 +1278,11 @@ module Google
# @return [Array<String>]
attr_accessor :instance_names
# Output only. List of references to Compute Engine instances.
# Corresponds to the JSON property `instanceReferences`
# @return [Array<Google::Apis::DataprocV1::InstanceReference>]
attr_accessor :instance_references
# Output only. Specifies that this instance group contains preemptible instances.
# Corresponds to the JSON property `isPreemptible`
# @return [Boolean]
@ -1329,6 +1336,7 @@ module Google
@disk_config = args[:disk_config] if args.key?(:disk_config)
@image_uri = args[:image_uri] if args.key?(:image_uri)
@instance_names = args[:instance_names] if args.key?(:instance_names)
@instance_references = args[:instance_references] if args.key?(:instance_references)
@is_preemptible = args[:is_preemptible] if args.key?(:is_preemptible)
@machine_type_uri = args[:machine_type_uri] if args.key?(:machine_type_uri)
@managed_group_config = args[:managed_group_config] if args.key?(:managed_group_config)
@ -1338,6 +1346,31 @@ module Google
end
end
# A reference to a Compute Engine instance.
class InstanceReference
include Google::Apis::Core::Hashable
# The unique identifier of the Compute Engine instance.
# Corresponds to the JSON property `instanceId`
# @return [String]
attr_accessor :instance_id
# The user-friendly name of the Compute Engine instance.
# Corresponds to the JSON property `instanceName`
# @return [String]
attr_accessor :instance_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@instance_id = args[:instance_id] if args.key?(:instance_id)
@instance_name = args[:instance_name] if args.key?(:instance_name)
end
end
# A request to instantiate a workflow template.
class InstantiateWorkflowTemplateRequest
include Google::Apis::Core::Hashable

View File

@ -196,6 +196,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstanceReference
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstantiateWorkflowTemplateRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -776,6 +782,8 @@ module Google
property :image_uri, as: 'imageUri'
collection :instance_names, as: 'instanceNames'
collection :instance_references, as: 'instanceReferences', class: Google::Apis::DataprocV1::InstanceReference, decorator: Google::Apis::DataprocV1::InstanceReference::Representation
property :is_preemptible, as: 'isPreemptible'
property :machine_type_uri, as: 'machineTypeUri'
property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation
@ -786,6 +794,14 @@ module Google
end
end
class InstanceReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :instance_id, as: 'instanceId'
property :instance_name, as: 'instanceName'
end
end
class InstantiateWorkflowTemplateRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/
module DataprocV1beta2
VERSION = 'V1beta2'
REVISION = '20200731'
REVISION = '20200807'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1307,6 +1307,11 @@ module Google
# @return [Array<String>]
attr_accessor :instance_names
# Output only. List of references to Compute Engine instances.
# Corresponds to the JSON property `instanceReferences`
# @return [Array<Google::Apis::DataprocV1beta2::InstanceReference>]
attr_accessor :instance_references
# Output only. Specifies that this instance group contains preemptible instances.
# Corresponds to the JSON property `isPreemptible`
# @return [Boolean]
@ -1360,6 +1365,7 @@ module Google
@disk_config = args[:disk_config] if args.key?(:disk_config)
@image_uri = args[:image_uri] if args.key?(:image_uri)
@instance_names = args[:instance_names] if args.key?(:instance_names)
@instance_references = args[:instance_references] if args.key?(:instance_references)
@is_preemptible = args[:is_preemptible] if args.key?(:is_preemptible)
@machine_type_uri = args[:machine_type_uri] if args.key?(:machine_type_uri)
@managed_group_config = args[:managed_group_config] if args.key?(:managed_group_config)
@ -1369,6 +1375,31 @@ module Google
end
end
# A reference to a Compute Engine instance.
class InstanceReference
include Google::Apis::Core::Hashable
# The unique identifier of the Compute Engine instance.
# Corresponds to the JSON property `instanceId`
# @return [String]
attr_accessor :instance_id
# The user-friendly name of the Compute Engine instance.
# Corresponds to the JSON property `instanceName`
# @return [String]
attr_accessor :instance_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@instance_id = args[:instance_id] if args.key?(:instance_id)
@instance_name = args[:instance_name] if args.key?(:instance_name)
end
end
# A request to instantiate a workflow template.
class InstantiateWorkflowTemplateRequest
include Google::Apis::Core::Hashable

View File

@ -202,6 +202,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstanceReference
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstantiateWorkflowTemplateRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -818,6 +824,8 @@ module Google
property :image_uri, as: 'imageUri'
collection :instance_names, as: 'instanceNames'
collection :instance_references, as: 'instanceReferences', class: Google::Apis::DataprocV1beta2::InstanceReference, decorator: Google::Apis::DataprocV1beta2::InstanceReference::Representation
property :is_preemptible, as: 'isPreemptible'
property :machine_type_uri, as: 'machineTypeUri'
property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1beta2::ManagedGroupConfig, decorator: Google::Apis::DataprocV1beta2::ManagedGroupConfig::Representation
@ -828,6 +836,14 @@ module Google
end
end
class InstanceReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :instance_id, as: 'instanceId'
property :instance_name, as: 'instanceName'
end
end
class InstantiateWorkflowTemplateRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/bid-manager/
module DoubleclickbidmanagerV1
VERSION = 'V1'
REVISION = '20200731'
REVISION = '20200811'
# View and manage your reports in DoubleClick Bid Manager
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'

View File

@ -26,8 +26,8 @@ module Google
class DownloadLineItemsRequest
include Google::Apis::Core::Hashable
# File specification (column names, types, order) in which the line items
# will be returned. Default to <code>EWF</code>.
# File specification (column names, types, order) in which the line items will
# be returned. Default to EWF.
# Corresponds to the JSON property `fileSpec`
# @return [String]
attr_accessor :file_spec
@ -43,8 +43,7 @@ module Google
# @return [String]
attr_accessor :filter_type
# Format in which the line items will be returned. Default to
# <code>CSV</code>.
# Format in which the line items will be returned. Default to CSV.
# Corresponds to the JSON property `format`
# @return [String]
attr_accessor :format
@ -66,10 +65,8 @@ module Google
class DownloadLineItemsResponse
include Google::Apis::Core::Hashable
# Retrieved line items in CSV format. For more information about file
# formats, see <a
# href="https://developers.google.com/bid-manager/guides/entity-write/format">
# Entity Write File Format</a>.
# Retrieved line items in CSV format. For more information about file formats,
# see Entity Write File Format.
# Corresponds to the JSON property `lineItems`
# @return [String]
attr_accessor :line_items
@ -89,18 +86,15 @@ module Google
class DownloadRequest
include Google::Apis::Core::Hashable
# File types that will be returned. If INVENTORY_SOURCE is requested, no
# other file types may be requested. <br><br>Acceptable values are: <ul>
# <li>"<code>AD</code>"</li> <li>"<code>AD_GROUP</code>"</li>
# <li>"<code>CAMPAIGN</code>"</li> <li>"<code>INSERTION_ORDER</code>"</li>
# <li>"<code>INVENTORY_SOURCE</code>"</li> <li>"<code>LINE_ITEM</code>"</li>
# </ul>
# File types that will be returned. If INVENTORY_SOURCE is requested, no other
# file types may be requested. Acceptable values are: - "AD" - "AD_GROUP" - "
# CAMPAIGN" - "INSERTION_ORDER" - "INVENTORY_SOURCE" - "LINE_ITEM"
# Corresponds to the JSON property `fileTypes`
# @return [Array<String>]
attr_accessor :file_types
# The IDs of the specified filter type. This is used to filter entities to
# fetch. At least one ID must be specified.
# The IDs of the specified filter type. This is used to filter entities to fetch.
# At least one ID must be specified.
# Corresponds to the JSON property `filterIds`
# @return [Array<Fixnum>]
attr_accessor :filter_ids
@ -112,7 +106,7 @@ module Google
attr_accessor :filter_type
# SDF Version (column names, types, order) in which the entities will be
# returned. Default to <code>5</code>.
# returned. Default to 5.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
@ -208,8 +202,8 @@ module Google
class ListQueriesResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string
# <code>"doubleclickbidmanager#listQueriesResponse"</code>.
# Identifies what kind of resource this is. Value: the fixed string "
# doubleclickbidmanager#listQueriesResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -234,8 +228,8 @@ module Google
class ListReportsResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string
# <code>"doubleclickbidmanager#listReportsResponse"</code>.
# Identifies what kind of resource this is. Value: the fixed string "
# doubleclickbidmanager#listReportsResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -304,8 +298,8 @@ module Google
class Query
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string
# <code>"doubleclickbidmanager#query"</code>.
# Identifies what kind of resource this is. Value: the fixed string "
# doubleclickbidmanager#query".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -326,17 +320,15 @@ module Google
attr_accessor :query_id
# The ending time for the data that is shown in the report. Note,
# <code>reportDataEndTimeMs</code> is required if
# <code>metadata.dataRange</code> is <code>CUSTOM_DATES</code> and ignored
# otherwise.
# reportDataEndTimeMs is required if metadata.dataRange is CUSTOM_DATES and
# ignored otherwise.
# Corresponds to the JSON property `reportDataEndTimeMs`
# @return [Fixnum]
attr_accessor :report_data_end_time_ms
# The starting time for the data that is shown in the report. Note,
# <code>reportDataStartTimeMs</code> is required if
# <code>metadata.dataRange</code> is <code>CUSTOM_DATES</code> and ignored
# otherwise.
# reportDataStartTimeMs is required if metadata.dataRange is CUSTOM_DATES and
# ignored otherwise.
# Corresponds to the JSON property `reportDataStartTimeMs`
# @return [Fixnum]
attr_accessor :report_data_start_time_ms
@ -346,8 +338,7 @@ module Google
# @return [Google::Apis::DoubleclickbidmanagerV1::QuerySchedule]
attr_accessor :schedule
# Canonical timezone code for report data time. Defaults to
# <code>America/New_York</code>.
# Canonical timezone code for report data time. Defaults to America/New_York.
# Corresponds to the JSON property `timezoneCode`
# @return [String]
attr_accessor :timezone_code
@ -399,12 +390,11 @@ module Google
# @return [Fixnum]
attr_accessor :latest_report_run_time_ms
# Locale of the generated reports. Valid values are cs CZECH de
# GERMAN en ENGLISH es SPANISH fr FRENCH it ITALIAN ja
# JAPANESE ko KOREAN pl POLISH pt-BR BRAZILIAN_PORTUGUESE ru
# RUSSIAN tr TURKISH uk UKRAINIAN zh-CN CHINA_CHINESE zh-TW
# TAIWAN_CHINESE <br><br> An locale string not in the list above will
# generate reports in English.
# Locale of the generated reports. Valid values are cs CZECH de GERMAN en
# ENGLISH es SPANISH fr FRENCH it ITALIAN ja JAPANESE ko KOREAN pl POLISH pt-BR
# BRAZILIAN_PORTUGUESE ru RUSSIAN tr TURKISH uk UKRAINIAN zh-CN CHINA_CHINESE zh-
# TW TAIWAN_CHINESE An locale string not in the list above will generate reports
# in English.
# Corresponds to the JSON property `locale`
# @return [String]
attr_accessor :locale
@ -420,15 +410,14 @@ module Google
attr_accessor :running
alias_method :running?, :running
# Whether to send an email notification when a report is ready. Default to
# false.
# Whether to send an email notification when a report is ready. Default to false.
# Corresponds to the JSON property `sendNotification`
# @return [Boolean]
attr_accessor :send_notification
alias_method :send_notification?, :send_notification
# List of email addresses which are sent email notifications when the report
# is finished. Separate from <code>sendNotification</code>.
# List of email addresses which are sent email notifications when the report is
# finished. Separate from sendNotification.
# Corresponds to the JSON property `shareEmailAddress`
# @return [Array<String>]
attr_accessor :share_email_address
@ -478,8 +467,8 @@ module Google
# @return [Fixnum]
attr_accessor :next_run_minute_of_day
# Canonical timezone code for report generation time. Defaults to
# <code>America/New_York</code>.
# Canonical timezone code for report generation time. Defaults to America/
# New_York.
# Corresponds to the JSON property `nextRunTimezoneCode`
# @return [String]
attr_accessor :next_run_timezone_code
@ -576,8 +565,7 @@ module Google
class ReportMetadata
include Google::Apis::Core::Hashable
# The path to the location in Google Cloud Storage where the report is
# stored.
# The path to the location in Google Cloud Storage where the report is stored.
# Corresponds to the JSON property `googleCloudStoragePath`
# @return [String]
attr_accessor :google_cloud_storage_path
@ -708,21 +696,20 @@ module Google
attr_accessor :data_range
# The ending time for the data that is shown in the report. Note,
# <code>reportDataEndTimeMs</code> is required if <code>dataRange</code> is
# <code>CUSTOM_DATES</code> and ignored otherwise.
# reportDataEndTimeMs is required if dataRange is CUSTOM_DATES and ignored
# otherwise.
# Corresponds to the JSON property `reportDataEndTimeMs`
# @return [Fixnum]
attr_accessor :report_data_end_time_ms
# The starting time for the data that is shown in the report. Note,
# <code>reportDataStartTimeMs</code> is required if <code>dataRange</code> is
# <code>CUSTOM_DATES</code> and ignored otherwise.
# reportDataStartTimeMs is required if dataRange is CUSTOM_DATES and ignored
# otherwise.
# Corresponds to the JSON property `reportDataStartTimeMs`
# @return [Fixnum]
attr_accessor :report_data_start_time_ms
# Canonical timezone code for report data time. Defaults to
# <code>America/New_York</code>.
# Canonical timezone code for report data time. Defaults to America/New_York.
# Corresponds to the JSON property `timezoneCode`
# @return [String]
attr_accessor :timezone_code
@ -744,21 +731,19 @@ module Google
class UploadLineItemsRequest
include Google::Apis::Core::Hashable
# Set to <code>true</code> to get upload status without actually persisting
# the line items.
# Set to true to get upload status without actually persisting the line items.
# Corresponds to the JSON property `dryRun`
# @return [Boolean]
attr_accessor :dry_run
alias_method :dry_run?, :dry_run
# Format the line items are in. Default to <code>CSV</code>.
# Format the line items are in. Default to CSV.
# Corresponds to the JSON property `format`
# @return [String]
attr_accessor :format
# Line items in CSV to upload. Refer to <a
# href="https://developers.google.com/bid-manager/guides/entity-write/format">
# Entity Write File Format</a> for more information on file format.
# Line items in CSV to upload. Refer to Entity Write File Format for more
# information on file format.
# Corresponds to the JSON property `lineItems`
# @return [String]
attr_accessor :line_items

View File

@ -44,7 +44,7 @@ module Google
attr_accessor :quota_user
def initialize
super('https://www.googleapis.com/', '')
super('https://www.googleapis.com/', 'doubleclickbidmanager/v1/')
@batch_path = 'batch/doubleclickbidmanager'
end
@ -69,7 +69,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def download_line_items(download_line_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'doubleclickbidmanager/v1/lineitems/downloadlineitems', options)
command = make_simple_command(:post, 'lineitems/downloadlineitems', options)
command.request_representation = Google::Apis::DoubleclickbidmanagerV1::DownloadLineItemsRequest::Representation
command.request_object = download_line_items_request_object
command.response_representation = Google::Apis::DoubleclickbidmanagerV1::DownloadLineItemsResponse::Representation
@ -100,7 +100,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def upload_line_items(upload_line_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'doubleclickbidmanager/v1/lineitems/uploadlineitems', options)
command = make_simple_command(:post, 'lineitems/uploadlineitems', options)
command.request_representation = Google::Apis::DoubleclickbidmanagerV1::UploadLineItemsRequest::Representation
command.request_object = upload_line_items_request_object
command.response_representation = Google::Apis::DoubleclickbidmanagerV1::UploadLineItemsResponse::Representation
@ -130,7 +130,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_query(query_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'doubleclickbidmanager/v1/query', options)
command = make_simple_command(:post, 'query', options)
command.request_representation = Google::Apis::DoubleclickbidmanagerV1::Query::Representation
command.request_object = query_object
command.response_representation = Google::Apis::DoubleclickbidmanagerV1::Query::Representation
@ -161,7 +161,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def deletequery(query_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'doubleclickbidmanager/v1/query/{queryId}', options)
command = make_simple_command(:delete, 'query/{queryId}', options)
command.params['queryId'] = query_id unless query_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -189,7 +189,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_query(query_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'doubleclickbidmanager/v1/query/{queryId}', options)
command = make_simple_command(:get, 'query/{queryId}', options)
command.response_representation = Google::Apis::DoubleclickbidmanagerV1::Query::Representation
command.response_class = Google::Apis::DoubleclickbidmanagerV1::Query
command.params['queryId'] = query_id unless query_id.nil?
@ -217,7 +217,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_queries(fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'doubleclickbidmanager/v1/queries', options)
command = make_simple_command(:get, 'queries', options)
command.response_representation = Google::Apis::DoubleclickbidmanagerV1::ListQueriesResponse::Representation
command.response_class = Google::Apis::DoubleclickbidmanagerV1::ListQueriesResponse
command.query['fields'] = fields unless fields.nil?
@ -247,7 +247,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def run_query(query_id, run_query_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'doubleclickbidmanager/v1/query/{queryId}', options)
command = make_simple_command(:post, 'query/{queryId}', options)
command.request_representation = Google::Apis::DoubleclickbidmanagerV1::RunQueryRequest::Representation
command.request_object = run_query_request_object
command.params['queryId'] = query_id unless query_id.nil?
@ -277,7 +277,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_reports(query_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'doubleclickbidmanager/v1/queries/{queryId}/reports', options)
command = make_simple_command(:get, 'queries/{queryId}/reports', options)
command.response_representation = Google::Apis::DoubleclickbidmanagerV1::ListReportsResponse::Representation
command.response_class = Google::Apis::DoubleclickbidmanagerV1::ListReportsResponse
command.params['queryId'] = query_id unless query_id.nil?
@ -306,7 +306,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def download_sdf(download_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'doubleclickbidmanager/v1/sdf/download', options)
command = make_simple_command(:post, 'sdf/download', options)
command.request_representation = Google::Apis::DoubleclickbidmanagerV1::DownloadRequest::Representation
command.request_object = download_request_object
command.response_representation = Google::Apis::DoubleclickbidmanagerV1::DownloadResponse::Representation

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/bid-manager/
module DoubleclickbidmanagerV1_1
VERSION = 'V1_1'
REVISION = '20200731'
REVISION = '20200811'
# View and manage your reports in DoubleClick Bid Manager
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'

View File

@ -38,8 +38,8 @@ module Google
# @return [String]
attr_accessor :name
# Rules within Channel Grouping. There is a limit of 100 rules that can be
# set per channel grouping.
# Rules within Channel Grouping. There is a limit of 100 rules that can be set
# per channel grouping.
# Corresponds to the JSON property `rules`
# @return [Array<Google::Apis::DoubleclickbidmanagerV1_1::Rule>]
attr_accessor :rules
@ -60,8 +60,8 @@ module Google
class DisjunctiveMatchStatement
include Google::Apis::Core::Hashable
# Filters. There is a limit of 100 filters that can be set per disjunctive
# match statement.
# Filters. There is a limit of 100 filters that can be set per disjunctive match
# statement.
# Corresponds to the JSON property `eventFilters`
# @return [Array<Google::Apis::DoubleclickbidmanagerV1_1::EventFilter>]
attr_accessor :event_filters
@ -80,8 +80,8 @@ module Google
class DownloadLineItemsRequest
include Google::Apis::Core::Hashable
# File specification (column names, types, order) in which the line items
# will be returned. Default to <code>EWF</code>.
# File specification (column names, types, order) in which the line items will
# be returned. Default to EWF.
# Corresponds to the JSON property `fileSpec`
# @return [String]
attr_accessor :file_spec
@ -97,8 +97,7 @@ module Google
# @return [String]
attr_accessor :filter_type
# Format in which the line items will be returned. Default to
# <code>CSV</code>.
# Format in which the line items will be returned. Default to CSV.
# Corresponds to the JSON property `format`
# @return [String]
attr_accessor :format
@ -120,10 +119,8 @@ module Google
class DownloadLineItemsResponse
include Google::Apis::Core::Hashable
# Retrieved line items in CSV format. For more information about file
# formats, see <a
# href="https://developers.google.com/bid-manager/guides/entity-write/format">
# Entity Write File Format</a>.
# Retrieved line items in CSV format. For more information about file formats,
# see Entity Write File Format.
# Corresponds to the JSON property `lineItems`
# @return [String]
attr_accessor :line_items
@ -143,18 +140,15 @@ module Google
class DownloadRequest
include Google::Apis::Core::Hashable
# File types that will be returned. If INVENTORY_SOURCE is requested, no
# other file types may be requested. <br><br>Acceptable values are: <ul>
# <li>"<code>AD</code>"</li> <li>"<code>AD_GROUP</code>"</li>
# <li>"<code>CAMPAIGN</code>"</li> <li>"<code>INSERTION_ORDER</code>"</li>
# <li>"<code>INVENTORY_SOURCE</code>"</li> <li>"<code>LINE_ITEM</code>"</li>
# </ul>
# File types that will be returned. If INVENTORY_SOURCE is requested, no other
# file types may be requested. Acceptable values are: - "AD" - "AD_GROUP" - "
# CAMPAIGN" - "INSERTION_ORDER" - "INVENTORY_SOURCE" - "LINE_ITEM"
# Corresponds to the JSON property `fileTypes`
# @return [Array<String>]
attr_accessor :file_types
# The IDs of the specified filter type. This is used to filter entities to
# fetch. At least one ID must be specified.
# The IDs of the specified filter type. This is used to filter entities to fetch.
# At least one ID must be specified.
# Corresponds to the JSON property `filterIds`
# @return [Array<Fixnum>]
attr_accessor :filter_ids
@ -166,7 +160,7 @@ module Google
attr_accessor :filter_type
# SDF Version (column names, types, order) in which the entities will be
# returned. Default to <code>5</code>.
# returned. Default to 5.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
@ -282,8 +276,8 @@ module Google
class ListQueriesResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string
# <code>"doubleclickbidmanager#listQueriesResponse"</code>.
# Identifies what kind of resource this is. Value: the fixed string "
# doubleclickbidmanager#listQueriesResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -314,8 +308,8 @@ module Google
class ListReportsResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string
# <code>"doubleclickbidmanager#listReportsResponse"</code>.
# Identifies what kind of resource this is. Value: the fixed string "
# doubleclickbidmanager#listReportsResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -346,9 +340,9 @@ module Google
class Options
include Google::Apis::Core::Hashable
# Set to true and filter your report by `FILTER_INSERTION_ORDER` or
# `FILTER_LINE_ITEM` to include data for audience lists specifically targeted
# by those items.
# Set to true and filter your report by `FILTER_INSERTION_ORDER` or `
# FILTER_LINE_ITEM` to include data for audience lists specifically targeted by
# those items.
# Corresponds to the JSON property `includeOnlyTargetedUserLists`
# @return [Boolean]
attr_accessor :include_only_targeted_user_lists
@ -421,10 +415,10 @@ module Google
end
# Path filters specify which paths to include in a report. A path is the result
# of combining DV360 events based on User ID to create a workflow of
# users' actions.<br><br> When a path filter is set, the resulting report will
# only include paths that match the specified event at the specified position.
# All other paths will be excluded.
# of combining DV360 events based on User ID to create a workflow of users'
# actions. When a path filter is set, the resulting report will only include
# paths that match the specified event at the specified position. All other
# paths will be excluded.
class PathFilter
include Google::Apis::Core::Hashable
@ -433,8 +427,8 @@ module Google
# @return [Array<Google::Apis::DoubleclickbidmanagerV1_1::EventFilter>]
attr_accessor :event_filters
# Indicates the position of the path the filter should match to (first, last,
# or any event in path).
# Indicates the position of the path the filter should match to (first, last, or
# any event in path).
# Corresponds to the JSON property `pathMatchPosition`
# @return [String]
attr_accessor :path_match_position
@ -460,8 +454,7 @@ module Google
# @return [Google::Apis::DoubleclickbidmanagerV1_1::ChannelGrouping]
attr_accessor :channel_grouping
# Path Filters. There is a limit of 100 path filters that can be set per
# report.
# Path Filters. There is a limit of 100 path filters that can be set per report.
# Corresponds to the JSON property `pathFilters`
# @return [Array<Google::Apis::DoubleclickbidmanagerV1_1::PathFilter>]
attr_accessor :path_filters
@ -512,8 +505,8 @@ module Google
class Query
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string
# <code>"doubleclickbidmanager#query"</code>.
# Identifies what kind of resource this is. Value: the fixed string "
# doubleclickbidmanager#query".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
@ -534,17 +527,15 @@ module Google
attr_accessor :query_id
# The ending time for the data that is shown in the report. Note,
# <code>reportDataEndTimeMs</code> is required if
# <code>metadata.dataRange</code> is <code>CUSTOM_DATES</code> and ignored
# otherwise.
# reportDataEndTimeMs is required if metadata.dataRange is CUSTOM_DATES and
# ignored otherwise.
# Corresponds to the JSON property `reportDataEndTimeMs`
# @return [Fixnum]
attr_accessor :report_data_end_time_ms
# The starting time for the data that is shown in the report. Note,
# <code>reportDataStartTimeMs</code> is required if
# <code>metadata.dataRange</code> is <code>CUSTOM_DATES</code> and ignored
# otherwise.
# reportDataStartTimeMs is required if metadata.dataRange is CUSTOM_DATES and
# ignored otherwise.
# Corresponds to the JSON property `reportDataStartTimeMs`
# @return [Fixnum]
attr_accessor :report_data_start_time_ms
@ -554,8 +545,7 @@ module Google
# @return [Google::Apis::DoubleclickbidmanagerV1_1::QuerySchedule]
attr_accessor :schedule
# Canonical timezone code for report data time. Defaults to
# <code>America/New_York</code>.
# Canonical timezone code for report data time. Defaults to America/New_York.
# Corresponds to the JSON property `timezoneCode`
# @return [String]
attr_accessor :timezone_code
@ -607,12 +597,11 @@ module Google
# @return [Fixnum]
attr_accessor :latest_report_run_time_ms
# Locale of the generated reports. Valid values are cs CZECH de
# GERMAN en ENGLISH es SPANISH fr FRENCH it ITALIAN ja
# JAPANESE ko KOREAN pl POLISH pt-BR BRAZILIAN_PORTUGUESE ru
# RUSSIAN tr TURKISH uk UKRAINIAN zh-CN CHINA_CHINESE zh-TW
# TAIWAN_CHINESE <br><br> An locale string not in the list above will
# generate reports in English.
# Locale of the generated reports. Valid values are cs CZECH de GERMAN en
# ENGLISH es SPANISH fr FRENCH it ITALIAN ja JAPANESE ko KOREAN pl POLISH pt-BR
# BRAZILIAN_PORTUGUESE ru RUSSIAN tr TURKISH uk UKRAINIAN zh-CN CHINA_CHINESE zh-
# TW TAIWAN_CHINESE An locale string not in the list above will generate reports
# in English.
# Corresponds to the JSON property `locale`
# @return [String]
attr_accessor :locale
@ -628,15 +617,14 @@ module Google
attr_accessor :running
alias_method :running?, :running
# Whether to send an email notification when a report is ready. Default to
# false.
# Whether to send an email notification when a report is ready. Default to false.
# Corresponds to the JSON property `sendNotification`
# @return [Boolean]
attr_accessor :send_notification
alias_method :send_notification?, :send_notification
# List of email addresses which are sent email notifications when the report
# is finished. Separate from <code>sendNotification</code>.
# List of email addresses which are sent email notifications when the report is
# finished. Separate from sendNotification.
# Corresponds to the JSON property `shareEmailAddress`
# @return [Array<String>]
attr_accessor :share_email_address
@ -686,8 +674,8 @@ module Google
# @return [Fixnum]
attr_accessor :next_run_minute_of_day
# Canonical timezone code for report generation time. Defaults to
# <code>America/New_York</code>.
# Canonical timezone code for report generation time. Defaults to America/
# New_York.
# Corresponds to the JSON property `nextRunTimezoneCode`
# @return [String]
attr_accessor :next_run_timezone_code
@ -790,8 +778,7 @@ module Google
class ReportMetadata
include Google::Apis::Core::Hashable
# The path to the location in Google Cloud Storage where the report is
# stored.
# The path to the location in Google Cloud Storage where the report is stored.
# Corresponds to the JSON property `googleCloudStoragePath`
# @return [String]
attr_accessor :google_cloud_storage_path
@ -912,10 +899,9 @@ module Google
end
end
# A Rule defines a name, and a boolean expression in [conjunctive normal
# form](http:
# //mathworld.wolfram.com/ConjunctiveNormalForm.html)`.external` that can be
# // applied to a path event to determine if that name should be applied.
# A Rule defines a name, and a boolean expression in [conjunctive normal form](
# http: //mathworld.wolfram.com/ConjunctiveNormalForm.html)`.external` that can
# be // applied to a path event to determine if that name should be applied.
class Rule
include Google::Apis::Core::Hashable
@ -950,21 +936,20 @@ module Google
attr_accessor :data_range
# The ending time for the data that is shown in the report. Note,
# <code>reportDataEndTimeMs</code> is required if <code>dataRange</code> is
# <code>CUSTOM_DATES</code> and ignored otherwise.
# reportDataEndTimeMs is required if dataRange is CUSTOM_DATES and ignored
# otherwise.
# Corresponds to the JSON property `reportDataEndTimeMs`
# @return [Fixnum]
attr_accessor :report_data_end_time_ms
# The starting time for the data that is shown in the report. Note,
# <code>reportDataStartTimeMs</code> is required if <code>dataRange</code> is
# <code>CUSTOM_DATES</code> and ignored otherwise.
# reportDataStartTimeMs is required if dataRange is CUSTOM_DATES and ignored
# otherwise.
# Corresponds to the JSON property `reportDataStartTimeMs`
# @return [Fixnum]
attr_accessor :report_data_start_time_ms
# Canonical timezone code for report data time. Defaults to
# <code>America/New_York</code>.
# Canonical timezone code for report data time. Defaults to America/New_York.
# Corresponds to the JSON property `timezoneCode`
# @return [String]
attr_accessor :timezone_code
@ -986,21 +971,19 @@ module Google
class UploadLineItemsRequest
include Google::Apis::Core::Hashable
# Set to <code>true</code> to get upload status without actually persisting
# the line items.
# Set to true to get upload status without actually persisting the line items.
# Corresponds to the JSON property `dryRun`
# @return [Boolean]
attr_accessor :dry_run
alias_method :dry_run?, :dry_run
# Format the line items are in. Default to <code>CSV</code>.
# Format the line items are in. Default to CSV.
# Corresponds to the JSON property `format`
# @return [String]
attr_accessor :format
# Line items in CSV to upload. Refer to <a
# href="https://developers.google.com/bid-manager/guides/entity-write/format">
# Entity Write File Format</a> for more information on file format.
# Line items in CSV to upload. Refer to Entity Write File Format for more
# information on file format.
# Corresponds to the JSON property `lineItems`
# @return [String]
attr_accessor :line_items

View File

@ -44,7 +44,7 @@ module Google
attr_accessor :quota_user
def initialize
super('https://www.googleapis.com/', '')
super('https://www.googleapis.com/', 'doubleclickbidmanager/v1.1/')
@batch_path = 'batch/doubleclickbidmanager'
end
@ -69,7 +69,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def downloadlineitems_lineitem(download_line_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'doubleclickbidmanager/v1.1/lineitems/downloadlineitems', options)
command = make_simple_command(:post, 'lineitems/downloadlineitems', options)
command.request_representation = Google::Apis::DoubleclickbidmanagerV1_1::DownloadLineItemsRequest::Representation
command.request_object = download_line_items_request_object
command.response_representation = Google::Apis::DoubleclickbidmanagerV1_1::DownloadLineItemsResponse::Representation
@ -100,7 +100,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def uploadlineitems_lineitem(upload_line_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'doubleclickbidmanager/v1.1/lineitems/uploadlineitems', options)
command = make_simple_command(:post, 'lineitems/uploadlineitems', options)
command.request_representation = Google::Apis::DoubleclickbidmanagerV1_1::UploadLineItemsRequest::Representation
command.request_object = upload_line_items_request_object
command.response_representation = Google::Apis::DoubleclickbidmanagerV1_1::UploadLineItemsResponse::Representation
@ -113,8 +113,8 @@ module Google
# Creates a query.
# @param [Google::Apis::DoubleclickbidmanagerV1_1::Query] query_object
# @param [Boolean] asynchronous
# If true, tries to run the query asynchronously. Only applicable when
# the frequency is <code>ONE_TIME</code>.
# If true, tries to run the query asynchronously. Only applicable when the
# frequency is ONE_TIME.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -133,7 +133,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def createquery_query(query_object = nil, asynchronous: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'doubleclickbidmanager/v1.1/query', options)
command = make_simple_command(:post, 'query', options)
command.request_representation = Google::Apis::DoubleclickbidmanagerV1_1::Query::Representation
command.request_object = query_object
command.response_representation = Google::Apis::DoubleclickbidmanagerV1_1::Query::Representation
@ -165,7 +165,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def deletequery_query(query_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'doubleclickbidmanager/v1.1/query/{queryId}', options)
command = make_simple_command(:delete, 'query/{queryId}', options)
command.params['queryId'] = query_id unless query_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -193,7 +193,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def getquery_query(query_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'doubleclickbidmanager/v1.1/query/{queryId}', options)
command = make_simple_command(:get, 'query/{queryId}', options)
command.response_representation = Google::Apis::DoubleclickbidmanagerV1_1::Query::Representation
command.response_class = Google::Apis::DoubleclickbidmanagerV1_1::Query
command.params['queryId'] = query_id unless query_id.nil?
@ -204,8 +204,8 @@ module Google
# Retrieves stored queries.
# @param [Fixnum] page_size
# Maximum number of results per page. Must be between <code>1</code> and
# <code>100</code>. Defaults to <code>100</code> if unspecified.
# Maximum number of results per page. Must be between 1 and 100. Defaults to 100
# if unspecified.
# @param [String] page_token
# Optional pagination token.
# @param [String] fields
@ -226,7 +226,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def listqueries_query(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'doubleclickbidmanager/v1.1/queries', options)
command = make_simple_command(:get, 'queries', options)
command.response_representation = Google::Apis::DoubleclickbidmanagerV1_1::ListQueriesResponse::Representation
command.response_class = Google::Apis::DoubleclickbidmanagerV1_1::ListQueriesResponse
command.query['pageSize'] = page_size unless page_size.nil?
@ -260,7 +260,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def runquery_query(query_id, run_query_request_object = nil, asynchronous: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'doubleclickbidmanager/v1.1/query/{queryId}', options)
command = make_simple_command(:post, 'query/{queryId}', options)
command.request_representation = Google::Apis::DoubleclickbidmanagerV1_1::RunQueryRequest::Representation
command.request_object = run_query_request_object
command.params['queryId'] = query_id unless query_id.nil?
@ -274,8 +274,8 @@ module Google
# @param [Fixnum] query_id
# Query ID with which the reports are associated.
# @param [Fixnum] page_size
# Maximum number of results per page. Must be between <code>1</code> and
# <code>100</code>. Defaults to <code>100</code> if unspecified.
# Maximum number of results per page. Must be between 1 and 100. Defaults to 100
# if unspecified.
# @param [String] page_token
# Optional pagination token.
# @param [String] fields
@ -296,7 +296,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def listreports_report(query_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'doubleclickbidmanager/v1.1/queries/{queryId}/reports', options)
command = make_simple_command(:get, 'queries/{queryId}/reports', options)
command.response_representation = Google::Apis::DoubleclickbidmanagerV1_1::ListReportsResponse::Representation
command.response_class = Google::Apis::DoubleclickbidmanagerV1_1::ListReportsResponse
command.params['queryId'] = query_id unless query_id.nil?
@ -327,7 +327,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def download_sdf(download_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'doubleclickbidmanager/v1.1/sdf/download', options)
command = make_simple_command(:post, 'sdf/download', options)
command.request_representation = Google::Apis::DoubleclickbidmanagerV1_1::DownloadRequest::Representation
command.request_object = download_request_object
command.response_representation = Google::Apis::DoubleclickbidmanagerV1_1::DownloadResponse::Representation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials
module IamcredentialsV1
VERSION = 'V1'
REVISION = '20200612'
REVISION = '20200807'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,32 +26,28 @@ module Google
class GenerateAccessTokenRequest
include Google::Apis::Core::Hashable
# The sequence of service accounts in a delegation chain. Each service
# account must be granted the `roles/iam.serviceAccountTokenCreator` role
# on its next service account in the chain. The last service account in the
# chain must be granted the `roles/iam.serviceAccountTokenCreator` role
# on the service account that is specified in the `name` field of the
# request.
# The delegates must have the following format:
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
# character is required; replacing it with a project ID is invalid.
# The sequence of service accounts in a delegation chain. Each service account
# must be granted the `roles/iam.serviceAccountTokenCreator` role on its next
# service account in the chain. The last service account in the chain must be
# granted the `roles/iam.serviceAccountTokenCreator` role on the service account
# that is specified in the `name` field of the request. The delegates must have
# the following format: `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``.
# The `-` wildcard character is required; replacing it with a project ID is
# invalid.
# Corresponds to the JSON property `delegates`
# @return [Array<String>]
attr_accessor :delegates
# The desired lifetime duration of the access token in seconds.
# Must be set to a value less than or equal to 3600 (1 hour). If a value is
# not specified, the token's lifetime will be set to a default value of one
# hour.
# The desired lifetime duration of the access token in seconds. Must be set to a
# value less than or equal to 3600 (1 hour). If a value is not specified, the
# token's lifetime will be set to a default value of one hour.
# Corresponds to the JSON property `lifetime`
# @return [String]
attr_accessor :lifetime
# Required. Code to identify the scopes to be included in the OAuth 2.0 access
# token.
# See https://developers.google.com/identity/protocols/googlescopes for more
# information.
# At least one value required.
# token. See https://developers.google.com/identity/protocols/googlescopes for
# more information. At least one value required.
# Corresponds to the JSON property `scope`
# @return [Array<String>]
attr_accessor :scope
@ -77,8 +73,7 @@ module Google
# @return [String]
attr_accessor :access_token
# Token expiration time.
# The expiration time is always set.
# Token expiration time. The expiration time is always set.
# Corresponds to the JSON property `expireTime`
# @return [String]
attr_accessor :expire_time
@ -99,27 +94,25 @@ module Google
include Google::Apis::Core::Hashable
# Required. The audience for the token, such as the API or account that this
# token
# grants access to.
# token grants access to.
# Corresponds to the JSON property `audience`
# @return [String]
attr_accessor :audience
# The sequence of service accounts in a delegation chain. Each service
# account must be granted the `roles/iam.serviceAccountTokenCreator` role
# on its next service account in the chain. The last service account in the
# chain must be granted the `roles/iam.serviceAccountTokenCreator` role
# on the service account that is specified in the `name` field of the
# request.
# The delegates must have the following format:
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
# character is required; replacing it with a project ID is invalid.
# The sequence of service accounts in a delegation chain. Each service account
# must be granted the `roles/iam.serviceAccountTokenCreator` role on its next
# service account in the chain. The last service account in the chain must be
# granted the `roles/iam.serviceAccountTokenCreator` role on the service account
# that is specified in the `name` field of the request. The delegates must have
# the following format: `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``.
# The `-` wildcard character is required; replacing it with a project ID is
# invalid.
# Corresponds to the JSON property `delegates`
# @return [Array<String>]
attr_accessor :delegates
# Include the service account email in the token. If set to `true`, the
# token will contain `email` and `email_verified` claims.
# Include the service account email in the token. If set to `true`, the token
# will contain `email` and `email_verified` claims.
# Corresponds to the JSON property `includeEmail`
# @return [Boolean]
attr_accessor :include_email
@ -160,15 +153,14 @@ module Google
class SignBlobRequest
include Google::Apis::Core::Hashable
# The sequence of service accounts in a delegation chain. Each service
# account must be granted the `roles/iam.serviceAccountTokenCreator` role
# on its next service account in the chain. The last service account in the
# chain must be granted the `roles/iam.serviceAccountTokenCreator` role
# on the service account that is specified in the `name` field of the
# request.
# The delegates must have the following format:
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
# character is required; replacing it with a project ID is invalid.
# The sequence of service accounts in a delegation chain. Each service account
# must be granted the `roles/iam.serviceAccountTokenCreator` role on its next
# service account in the chain. The last service account in the chain must be
# granted the `roles/iam.serviceAccountTokenCreator` role on the service account
# that is specified in the `name` field of the request. The delegates must have
# the following format: `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``.
# The `-` wildcard character is required; replacing it with a project ID is
# invalid.
# Corresponds to the JSON property `delegates`
# @return [Array<String>]
attr_accessor :delegates
@ -194,24 +186,22 @@ module Google
class SignBlobResponse
include Google::Apis::Core::Hashable
# The ID of the key used to sign the blob. The key used for signing will
# remain valid for at least 12 hours after the blob is signed. To verify the
# signature, you can retrieve the public key in several formats from the
# following endpoints:
# - RSA public key wrapped in an X.509 v3 certificate:
# `https://www.googleapis.com/service_accounts/v1/metadata/x509/`ACCOUNT_EMAIL``
# - Raw key in JSON format:
# `https://www.googleapis.com/service_accounts/v1/metadata/raw/`ACCOUNT_EMAIL``
# - JSON Web Key (JWK):
# `https://www.googleapis.com/service_accounts/v1/metadata/jwk/`ACCOUNT_EMAIL``
# The ID of the key used to sign the blob. The key used for signing will remain
# valid for at least 12 hours after the blob is signed. To verify the signature,
# you can retrieve the public key in several formats from the following
# endpoints: - RSA public key wrapped in an X.509 v3 certificate: `https://www.
# googleapis.com/service_accounts/v1/metadata/x509/`ACCOUNT_EMAIL`` - Raw key in
# JSON format: `https://www.googleapis.com/service_accounts/v1/metadata/raw/`
# ACCOUNT_EMAIL`` - JSON Web Key (JWK): `https://www.googleapis.com/
# service_accounts/v1/metadata/jwk/`ACCOUNT_EMAIL``
# Corresponds to the JSON property `keyId`
# @return [String]
attr_accessor :key_id
# The signature for the blob. Does not include the original blob.
# After the key pair referenced by the `key_id` response field expires,
# Google no longer exposes the public key that can be used to verify the
# blob. As a result, the receiver can no longer verify the signature.
# The signature for the blob. Does not include the original blob. After the key
# pair referenced by the `key_id` response field expires, Google no longer
# exposes the public key that can be used to verify the blob. As a result, the
# receiver can no longer verify the signature.
# Corresponds to the JSON property `signedBlob`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
@ -232,25 +222,23 @@ module Google
class SignJwtRequest
include Google::Apis::Core::Hashable
# The sequence of service accounts in a delegation chain. Each service
# account must be granted the `roles/iam.serviceAccountTokenCreator` role
# on its next service account in the chain. The last service account in the
# chain must be granted the `roles/iam.serviceAccountTokenCreator` role
# on the service account that is specified in the `name` field of the
# request.
# The delegates must have the following format:
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
# character is required; replacing it with a project ID is invalid.
# The sequence of service accounts in a delegation chain. Each service account
# must be granted the `roles/iam.serviceAccountTokenCreator` role on its next
# service account in the chain. The last service account in the chain must be
# granted the `roles/iam.serviceAccountTokenCreator` role on the service account
# that is specified in the `name` field of the request. The delegates must have
# the following format: `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``.
# The `-` wildcard character is required; replacing it with a project ID is
# invalid.
# Corresponds to the JSON property `delegates`
# @return [Array<String>]
attr_accessor :delegates
# Required. The JWT payload to sign. Must be a serialized JSON object that
# contains a
# JWT Claims Set. For example: ``"sub": "user@example.com", "iat": 313435``
# If the JWT Claims Set contains an expiration time (`exp`) claim, it must be
# an integer timestamp that is not in the past and no more than 12 hours in
# the future.
# contains a JWT Claims Set. For example: ``"sub": "user@example.com", "iat":
# 313435`` If the JWT Claims Set contains an expiration time (`exp`) claim, it
# must be an integer timestamp that is not in the past and no more than 12 hours
# in the future.
# Corresponds to the JSON property `payload`
# @return [String]
attr_accessor :payload
@ -270,26 +258,24 @@ module Google
class SignJwtResponse
include Google::Apis::Core::Hashable
# The ID of the key used to sign the JWT. The key used for signing will
# remain valid for at least 12 hours after the JWT is signed. To verify the
# signature, you can retrieve the public key in several formats from the
# following endpoints:
# - RSA public key wrapped in an X.509 v3 certificate:
# `https://www.googleapis.com/service_accounts/v1/metadata/x509/`ACCOUNT_EMAIL``
# - Raw key in JSON format:
# `https://www.googleapis.com/service_accounts/v1/metadata/raw/`ACCOUNT_EMAIL``
# - JSON Web Key (JWK):
# `https://www.googleapis.com/service_accounts/v1/metadata/jwk/`ACCOUNT_EMAIL``
# The ID of the key used to sign the JWT. The key used for signing will remain
# valid for at least 12 hours after the JWT is signed. To verify the signature,
# you can retrieve the public key in several formats from the following
# endpoints: - RSA public key wrapped in an X.509 v3 certificate: `https://www.
# googleapis.com/service_accounts/v1/metadata/x509/`ACCOUNT_EMAIL`` - Raw key in
# JSON format: `https://www.googleapis.com/service_accounts/v1/metadata/raw/`
# ACCOUNT_EMAIL`` - JSON Web Key (JWK): `https://www.googleapis.com/
# service_accounts/v1/metadata/jwk/`ACCOUNT_EMAIL``
# Corresponds to the JSON property `keyId`
# @return [String]
attr_accessor :key_id
# The signed JWT. Contains the automatically generated header; the
# client-supplied payload; and the signature, which is generated using the
# key referenced by the `kid` field in the header.
# After the key pair referenced by the `key_id` response field expires,
# Google no longer exposes the public key that can be used to verify the JWT.
# As a result, the receiver can no longer verify the signature.
# The signed JWT. Contains the automatically generated header; the client-
# supplied payload; and the signature, which is generated using the key
# referenced by the `kid` field in the header. After the key pair referenced by
# the `key_id` response field expires, Google no longer exposes the public key
# that can be used to verify the JWT. As a result, the receiver can no longer
# verify the signature.
# Corresponds to the JSON property `signedJwt`
# @return [String]
attr_accessor :signed_jwt

View File

@ -50,9 +50,9 @@ module Google
# Generates an OAuth 2.0 access token for a service account.
# @param [String] name
# Required. The resource name of the service account for which the credentials
# are requested, in the following format:
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
# character is required; replacing it with a project ID is invalid.
# are requested, in the following format: `projects/-/serviceAccounts/`
# ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard character is required; replacing
# it with a project ID is invalid.
# @param [Google::Apis::IamcredentialsV1::GenerateAccessTokenRequest] generate_access_token_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -86,9 +86,9 @@ module Google
# Generates an OpenID Connect ID token for a service account.
# @param [String] name
# Required. The resource name of the service account for which the credentials
# are requested, in the following format:
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
# character is required; replacing it with a project ID is invalid.
# are requested, in the following format: `projects/-/serviceAccounts/`
# ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard character is required; replacing
# it with a project ID is invalid.
# @param [Google::Apis::IamcredentialsV1::GenerateIdTokenRequest] generate_id_token_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -122,9 +122,9 @@ module Google
# Signs a blob using a service account's system-managed private key.
# @param [String] name
# Required. The resource name of the service account for which the credentials
# are requested, in the following format:
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
# character is required; replacing it with a project ID is invalid.
# are requested, in the following format: `projects/-/serviceAccounts/`
# ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard character is required; replacing
# it with a project ID is invalid.
# @param [Google::Apis::IamcredentialsV1::SignBlobRequest] sign_blob_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -158,9 +158,9 @@ module Google
# Signs a JWT using a service account's system-managed private key.
# @param [String] name
# Required. The resource name of the service account for which the credentials
# are requested, in the following format:
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
# character is required; replacing it with a project ID is invalid.
# are requested, in the following format: `projects/-/serviceAccounts/`
# ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard character is required; replacing
# it with a project ID is invalid.
# @param [Google::Apis::IamcredentialsV1::SignJwtRequest] sign_jwt_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/ml/
module MlV1
VERSION = 'V1'
REVISION = '20200714'
REVISION = '20200806'
# 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

View File

@ -190,6 +190,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudMlV1EndpointMap
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudMlV1ExplainRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -728,6 +734,15 @@ module Google
end
end
class GoogleCloudMlV1EndpointMap
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :explain, as: 'explain'
property :health, as: 'health'
property :predict, as: 'predict'
end
end
class GoogleCloudMlV1ExplainRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1162,6 +1177,8 @@ module Google
property :create_time, as: 'createTime'
property :deployment_uri, as: 'deploymentUri'
property :description, as: 'description'
property :endpoints, as: 'endpoints', class: Google::Apis::MlV1::GoogleCloudMlV1EndpointMap, decorator: Google::Apis::MlV1::GoogleCloudMlV1EndpointMap::Representation
property :error_message, as: 'errorMessage'
property :etag, :base64 => true, as: 'etag'
property :explanation_config, as: 'explanationConfig', class: Google::Apis::MlV1::GoogleCloudMlV1ExplanationConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1ExplanationConfig::Representation

View File

@ -47,11 +47,11 @@ module Google
@batch_path = 'batch'
end
# Performs explanation on the data in the request.
# <div>`% dynamic include "/ai-platform/includes/___explain-request" %`</div>
# Performs explanation on the data in the request. `% dynamic include "/ai-
# platform/includes/___explain-request" %`
# @param [String] name
# Required. The resource name of a model or a version.
# Authorization: requires the `predict` permission on the specified resource.
# Required. The resource name of a model or a version. Authorization: requires
# the `predict` permission on the specified resource.
# @param [Google::Apis::MlV1::GoogleCloudMlV1ExplainRequest] google_cloud_ml_v1__explain_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -83,9 +83,9 @@ module Google
end
# Get the service account information associated with your project. You need
# this information in order to grant the service account permissions for
# the Google Cloud Storage location where you put your model training code
# for training the model with Google Cloud Machine Learning.
# this information in order to grant the service account permissions for the
# Google Cloud Storage location where you put your model training code for
# training the model with Google Cloud Machine Learning.
# @param [String] name
# Required. The project name.
# @param [String] fields
@ -115,11 +115,11 @@ module Google
execute_or_queue_command(command, &block)
end
# Performs online prediction on the data in the request.
# <div>`% dynamic include "/ai-platform/includes/___predict-request" %`</div>
# Performs online prediction on the data in the request. `% dynamic include "/ai-
# platform/includes/___predict-request" %`
# @param [String] name
# Required. The resource name of a model or a version.
# Authorization: requires the `predict` permission on the specified resource.
# Required. The resource name of a model or a version. Authorization: requires
# the `predict` permission on the specified resource.
# @param [Google::Apis::MlV1::GoogleCloudMlV1PredictRequest] google_cloud_ml_v1__predict_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -246,22 +246,19 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the access control policy for a resource.
# Returns an empty policy if the resource exists and does not have a policy
# set.
# Gets the access control policy for a resource. Returns an empty policy if the
# resource exists and does not have a policy set.
# @param [String] resource
# REQUIRED: The resource for which the policy is being requested.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# Optional. The policy format version to be returned. Valid values are 0, 1, and
# 3. Requests specifying an invalid value will be rejected. Requests for
# policies with any conditional bindings must specify version 3. Policies
# without any conditional bindings may specify any valid value or leave the
# field unset. To learn which resources support conditions in their IAM policies,
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
# resource-policies).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -290,30 +287,25 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists the jobs in the project.
# If there are no jobs that match the request parameters, the list
# request returns an empty response body: ``.
# Lists the jobs in the project. If there are no jobs that match the request
# parameters, the list request returns an empty response body: ``.
# @param [String] parent
# Required. The name of the project for which to list jobs.
# @param [String] filter
# Optional. Specifies the subset of jobs to retrieve.
# You can filter on the value of one or more attributes of the job object.
# For example, retrieve jobs with a job identifier that starts with 'census':
# <p><code>gcloud ai-platform jobs list --filter='jobId:census*'</code>
# <p>List all failed jobs with names that start with 'rnn':
# <p><code>gcloud ai-platform jobs list --filter='jobId:rnn*
# AND state:FAILED'</code>
# <p>For more examples, see the guide to
# <a href="/ml-engine/docs/tensorflow/monitor-training">monitoring jobs</a>.
# Optional. Specifies the subset of jobs to retrieve. You can filter on the
# value of one or more attributes of the job object. For example, retrieve jobs
# with a job identifier that starts with 'census': gcloud ai-platform jobs list -
# -filter='jobId:census*' List all failed jobs with names that start with 'rnn':
# gcloud ai-platform jobs list --filter='jobId:rnn* AND state:FAILED' For more
# examples, see the guide to monitoring jobs.
# @param [Fixnum] page_size
# Optional. The number of jobs to retrieve per "page" of results. If there
# are more remaining results than this number, the response message will
# contain a valid value in the `next_page_token` field.
# The default value is 20, and the maximum page size is 100.
# Optional. The number of jobs to retrieve per "page" of results. If there are
# more remaining results than this number, the response message will contain a
# valid value in the `next_page_token` field. The default value is 20, and the
# maximum page size is 100.
# @param [String] page_token
# Optional. A page token to request the next page of results.
# You get the token from the `next_page_token` field of the response from
# the previous call.
# Optional. A page token to request the next page of results. You get the token
# from the `next_page_token` field of the response from the previous call.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -344,28 +336,20 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates a specific job resource.
# Currently the only supported fields to update are `labels`.
# Updates a specific job resource. Currently the only supported fields to update
# are `labels`.
# @param [String] name
# Required. The job name.
# @param [Google::Apis::MlV1::GoogleCloudMlV1Job] google_cloud_ml_v1__job_object
# @param [String] update_mask
# Required. Specifies the path, relative to `Job`, of the field to update.
# To adopt etag mechanism, include `etag` field in the mask, and include the
# `etag` value in your job resource.
# For example, to change the labels of a job, the `update_mask` parameter
# would be specified as `labels`, `etag`, and the
# `PATCH` request body would specify the new value, as follows:
# `
# "labels": `
# "owner": "Google",
# "color": "Blue"
# `
# "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4"
# `
# Required. Specifies the path, relative to `Job`, of the field to update. To
# adopt etag mechanism, include `etag` field in the mask, and include the `etag`
# value in your job resource. For example, to change the labels of a job, the `
# update_mask` parameter would be specified as `labels`, `etag`, and the `PATCH`
# request body would specify the new value, as follows: ` "labels": ` "owner": "
# Google", "color": "Blue" ` "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4" `
# If `etag` matches the one on the server, the labels of the job will be
# replaced with the given ones, and the server end `etag` will be
# recalculated.
# replaced with the given ones, and the server end `etag` will be recalculated.
# Currently the only supported update masks are `labels` and `etag`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -398,11 +382,11 @@ module Google
end
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
# PERMISSION_DENIED` errors.
# @param [String] resource
# REQUIRED: The resource for which the policy is being specified.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::MlV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1__set_iam_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -433,15 +417,14 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# If the resource does not exist, this will return an empty set of
# permissions, not a `NOT_FOUND` error.
# Note: This operation is designed to be used for building permission-aware
# UIs and command-line tools, not for authorization checking. This operation
# may "fail open" without warning.
# Returns permissions that a caller has on the specified resource. If the
# resource does not exist, this will return an empty set of permissions, not a `
# NOT_FOUND` error. Note: This operation is designed to be used for building
# permission-aware UIs and command-line tools, not for authorization checking.
# This operation may "fail open" without warning.
# @param [String] resource
# REQUIRED: The resource for which the policy detail is being requested.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy detail is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::MlV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1__test_iam_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -508,14 +491,13 @@ module Google
# Required. The name of the project for which available locations are to be
# listed (since some locations might be whitelisted for specific projects).
# @param [Fixnum] page_size
# Optional. The number of locations to retrieve per "page" of results. If
# there are more remaining results than this number, the response message
# will contain a valid value in the `next_page_token` field.
# The default value is 20, and the maximum page size is 100.
# Optional. The number of locations to retrieve per "page" of results. If there
# are more remaining results than this number, the response message will contain
# a valid value in the `next_page_token` field. The default value is 20, and the
# maximum page size is 100.
# @param [String] page_token
# Optional. A page token to request the next page of results.
# You get the token from the `next_page_token` field of the response from
# the previous call.
# Optional. A page token to request the next page of results. You get the token
# from the `next_page_token` field of the response from the previous call.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -545,15 +527,13 @@ module Google
execute_or_queue_command(command, &block)
end
# Starts asynchronous cancellation on a long-running operation. The server
# makes a best effort to cancel the operation, but success is not
# guaranteed. If the server doesn't support this method, it returns
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
# Operations.GetOperation or
# other methods to check whether the cancellation succeeded or whether the
# operation completed despite cancellation. On successful cancellation,
# the operation is not deleted; instead, it becomes an operation with
# an Operation.error value with a google.rpc.Status.code of 1,
# Starts asynchronous cancellation on a long-running operation. The server makes
# a best effort to cancel the operation, but success is not guaranteed. If the
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
# Clients can use Operations.GetOperation or other methods to check whether the
# cancellation succeeded or whether the operation completed despite cancellation.
# On successful cancellation, the operation is not deleted; instead, it becomes
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
# corresponding to `Code.CANCELLED`.
# @param [String] name
# The name of the operation resource to be cancelled.
@ -584,9 +564,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the latest state of a long-running operation. Clients can use this
# method to poll the operation result at intervals as recommended by the API
# service.
# Gets the latest state of a long-running operation. Clients can use this method
# to poll the operation result at intervals as recommended by the API service.
# @param [String] name
# The name of the operation resource.
# @param [String] fields
@ -618,13 +597,12 @@ module Google
# Creates a study.
# @param [String] parent
# Required. The project and location that the study belongs to.
# Format: projects/`project`/locations/`location`
# Required. The project and location that the study belongs to. Format: projects/
# `project`/locations/`location`
# @param [Google::Apis::MlV1::GoogleCloudMlV1Study] google_cloud_ml_v1__study_object
# @param [String] study_id
# Required. The ID to use for the study, which will become the final component
# of
# the study's resource name.
# of the study's resource name.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -717,8 +695,8 @@ module Google
# Lists all the studies in a region for an associated project.
# @param [String] parent
# Required. The project and location that the study belongs to.
# Format: projects/`project`/locations/`location`
# Required. The project and location that the study belongs to. Format: projects/
# `project`/locations/`location`
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -746,8 +724,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Adds a measurement of the objective metrics to a trial. This measurement
# is assumed to have been taken before the trial is complete.
# Adds a measurement of the objective metrics to a trial. This measurement is
# assumed to have been taken before the trial is complete.
# @param [String] name
# Required. The trial name.
# @param [Google::Apis::MlV1::GoogleCloudMlV1AddTrialMeasurementRequest] google_cloud_ml_v1__add_trial_measurement_request_object
@ -780,9 +758,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Checks whether a trial should stop or not. Returns a
# long-running operation. When the operation is successful,
# it will contain a
# Checks whether a trial should stop or not. Returns a long-running operation.
# When the operation is successful, it will contain a
# CheckTrialEarlyStoppingStateResponse.
# @param [String] name
# Required. The trial name.
@ -1005,11 +982,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Adds one or more trials to a study, with parameter values
# suggested by AI Platform Optimizer. Returns a long-running
# operation associated with the generation of trial suggestions.
# When this long-running operation succeeds, it will contain
# a SuggestTrialsResponse.
# Adds one or more trials to a study, with parameter values suggested by AI
# Platform Optimizer. Returns a long-running operation associated with the
# generation of trial suggestions. When this long-running operation succeeds, it
# will contain a SuggestTrialsResponse.
# @param [String] parent
# Required. The name of the study that the trial belongs to.
# @param [Google::Apis::MlV1::GoogleCloudMlV1SuggestTrialsRequest] google_cloud_ml_v1__suggest_trials_request_object
@ -1042,10 +1018,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a model which will later contain one or more versions.
# You must add at least one version before you can request predictions from
# the model. Add versions by calling
# projects.models.versions.create.
# Creates a model which will later contain one or more versions. You must add at
# least one version before you can request predictions from the model. Add
# versions by calling projects.models.versions.create.
# @param [String] parent
# Required. The project name.
# @param [Google::Apis::MlV1::GoogleCloudMlV1Model] google_cloud_ml_v1__model_object
@ -1078,10 +1053,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes a model.
# You can only delete a model if there are no versions in it. You can delete
# versions by calling
# projects.models.versions.delete.
# Deletes a model. You can only delete a model if there are no versions in it.
# You can delete versions by calling projects.models.versions.delete.
# @param [String] name
# Required. The name of the model.
# @param [String] fields
@ -1111,9 +1084,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets information about a model, including its name, the description (if
# set), and the default version (if at least one version of the model has
# been deployed).
# Gets information about a model, including its name, the description (if set),
# and the default version (if at least one version of the model has been
# deployed).
# @param [String] name
# Required. The name of the model.
# @param [String] fields
@ -1143,22 +1116,19 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the access control policy for a resource.
# Returns an empty policy if the resource exists and does not have a policy
# set.
# Gets the access control policy for a resource. Returns an empty policy if the
# resource exists and does not have a policy set.
# @param [String] resource
# REQUIRED: The resource for which the policy is being requested.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# Optional. The policy format version to be returned. Valid values are 0, 1, and
# 3. Requests specifying an invalid value will be rejected. Requests for
# policies with any conditional bindings must specify version 3. Policies
# without any conditional bindings may specify any valid value or leave the
# field unset. To learn which resources support conditions in their IAM policies,
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
# resource-policies).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1187,24 +1157,21 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists the models in a project.
# Each project can contain multiple models, and each model can have multiple
# versions.
# If there are no models that match the request parameters, the list request
# returns an empty response body: ``.
# Lists the models in a project. Each project can contain multiple models, and
# each model can have multiple versions. If there are no models that match the
# request parameters, the list request returns an empty response body: ``.
# @param [String] parent
# Required. The name of the project whose models are to be listed.
# @param [String] filter
# Optional. Specifies the subset of models to retrieve.
# @param [Fixnum] page_size
# Optional. The number of models to retrieve per "page" of results. If there
# are more remaining results than this number, the response message will
# contain a valid value in the `next_page_token` field.
# The default value is 20, and the maximum page size is 100.
# Optional. The number of models to retrieve per "page" of results. If there are
# more remaining results than this number, the response message will contain a
# valid value in the `next_page_token` field. The default value is 20, and the
# maximum page size is 100.
# @param [String] page_token
# Optional. A page token to request the next page of results.
# You get the token from the `next_page_token` field of the response from
# the previous call.
# Optional. A page token to request the next page of results. You get the token
# from the `next_page_token` field of the response from the previous call.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1235,26 +1202,19 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates a specific model resource.
# Currently the only supported fields to update are `description` and
# `default_version.name`.
# Updates a specific model resource. Currently the only supported fields to
# update are `description` and `default_version.name`.
# @param [String] name
# Required. The project name.
# @param [Google::Apis::MlV1::GoogleCloudMlV1Model] google_cloud_ml_v1__model_object
# @param [String] update_mask
# Required. Specifies the path, relative to `Model`, of the field to update.
# For example, to change the description of a model to "foo" and set its
# default version to "version_1", the `update_mask` parameter would be
# specified as `description`, `default_version.name`, and the `PATCH`
# request body would specify the new value, as follows:
# `
# "description": "foo",
# "defaultVersion": `
# "name":"version_1"
# `
# `
# Currently the supported update masks are `description` and
# `default_version.name`.
# Required. Specifies the path, relative to `Model`, of the field to update. For
# example, to change the description of a model to "foo" and set its default
# version to "version_1", the `update_mask` parameter would be specified as `
# description`, `default_version.name`, and the `PATCH` request body would
# specify the new value, as follows: ` "description": "foo", "defaultVersion": `
# "name":"version_1" ` ` Currently the supported update masks are `description`
# and `default_version.name`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1286,11 +1246,11 @@ module Google
end
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
# PERMISSION_DENIED` errors.
# @param [String] resource
# REQUIRED: The resource for which the policy is being specified.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::MlV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1__set_iam_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -1321,15 +1281,14 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# If the resource does not exist, this will return an empty set of
# permissions, not a `NOT_FOUND` error.
# Note: This operation is designed to be used for building permission-aware
# UIs and command-line tools, not for authorization checking. This operation
# may "fail open" without warning.
# Returns permissions that a caller has on the specified resource. If the
# resource does not exist, this will return an empty set of permissions, not a `
# NOT_FOUND` error. Note: This operation is designed to be used for building
# permission-aware UIs and command-line tools, not for authorization checking.
# This operation may "fail open" without warning.
# @param [String] resource
# REQUIRED: The resource for which the policy detail is being requested.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy detail is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::MlV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1__test_iam_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -1360,13 +1319,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a new version of a model from a trained TensorFlow model.
# If the version created in the cloud by this call is the first deployed
# version of the specified model, it will be made the default version of the
# model. When you add a version to a model that already has one or more
# versions, the default version does not automatically change. If you want a
# new version to be the default, you must call
# projects.models.versions.setDefault.
# Creates a new version of a model from a trained TensorFlow model. If the
# version created in the cloud by this call is the first deployed version of the
# specified model, it will be made the default version of the model. When you
# add a version to a model that already has one or more versions, the default
# version does not automatically change. If you want a new version to be the
# default, you must call projects.models.versions.setDefault.
# @param [String] parent
# Required. The name of the model.
# @param [Google::Apis::MlV1::GoogleCloudMlV1Version] google_cloud_ml_v1__version_object
@ -1399,15 +1357,13 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes a model version.
# Each model can have multiple versions deployed and in use at any given
# time. Use this method to remove a single version.
# Note: You cannot delete the version that is set as the default version
# of the model unless it is the only remaining version.
# Deletes a model version. Each model can have multiple versions deployed and in
# use at any given time. Use this method to remove a single version. Note: You
# cannot delete the version that is set as the default version of the model
# unless it is the only remaining version.
# @param [String] name
# Required. The name of the version. You can get the names of all the
# versions of a model by calling
# projects.models.versions.list.
# Required. The name of the version. You can get the names of all the versions
# of a model by calling projects.models.versions.list.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1435,11 +1391,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets information about a model version.
# Models can have multiple versions. You can call
# projects.models.versions.list
# to get the same information that this method returns for all of the
# versions of a model.
# Gets information about a model version. Models can have multiple versions. You
# can call projects.models.versions.list to get the same information that this
# method returns for all of the versions of a model.
# @param [String] name
# Required. The name of the version.
# @param [String] fields
@ -1469,25 +1423,23 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets basic information about all the versions of a model.
# If you expect that a model has many versions, or if you need to handle
# only a limited number of results at a time, you can request that the list
# be retrieved in batches (called pages).
# If there are no versions that match the request parameters, the list
# request returns an empty response body: ``.
# Gets basic information about all the versions of a model. If you expect that a
# model has many versions, or if you need to handle only a limited number of
# results at a time, you can request that the list be retrieved in batches (
# called pages). If there are no versions that match the request parameters, the
# list request returns an empty response body: ``.
# @param [String] parent
# Required. The name of the model for which to list the version.
# @param [String] filter
# Optional. Specifies the subset of versions to retrieve.
# @param [Fixnum] page_size
# Optional. The number of versions to retrieve per "page" of results. If
# there are more remaining results than this number, the response message
# will contain a valid value in the `next_page_token` field.
# The default value is 20, and the maximum page size is 100.
# Optional. The number of versions to retrieve per "page" of results. If there
# are more remaining results than this number, the response message will contain
# a valid value in the `next_page_token` field. The default value is 20, and the
# maximum page size is 100.
# @param [String] page_token
# Optional. A page token to request the next page of results.
# You get the token from the `next_page_token` field of the response from
# the previous call.
# Optional. A page token to request the next page of results. You get the token
# from the `next_page_token` field of the response from the previous call.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1518,28 +1470,22 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates the specified Version resource.
# Currently the only update-able fields are `description`,
# `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`.
# Updates the specified Version resource. Currently the only update-able fields
# are `description`, `requestLoggingConfig`, `autoScaling.minNodes`, and `
# manualScaling.nodes`.
# @param [String] name
# Required. The name of the model.
# @param [Google::Apis::MlV1::GoogleCloudMlV1Version] google_cloud_ml_v1__version_object
# @param [String] update_mask
# Required. Specifies the path, relative to `Version`, of the field to
# update. Must be present and non-empty.
# For example, to change the description of a version to "foo", the
# `update_mask` parameter would be specified as `description`, and the
# `PATCH` request body would specify the new value, as follows:
# ```
# `
# "description": "foo"
# `
# ```
# Currently the only supported update mask fields are `description`,
# `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`.
# However, you can only update `manualScaling.nodes` if the version uses a
# [Compute Engine (N1)
# machine type](/ml-engine/docs/machine-types-online-prediction).
# Required. Specifies the path, relative to `Version`, of the field to update.
# Must be present and non-empty. For example, to change the description of a
# version to "foo", the `update_mask` parameter would be specified as `
# description`, and the `PATCH` request body would specify the new value, as
# follows: ``` ` "description": "foo" ` ``` Currently the only supported update
# mask fields are `description`, `requestLoggingConfig`, `autoScaling.minNodes`,
# and `manualScaling.nodes`. However, you can only update `manualScaling.nodes`
# if the version uses a [Compute Engine (N1) machine type](/ml-engine/docs/
# machine-types-online-prediction).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1570,16 +1516,15 @@ module Google
execute_or_queue_command(command, &block)
end
# Designates a version to be the default for the model.
# The default version is used for prediction requests made against the model
# that don't specify a version.
# The first version to be created for a model is automatically set as the
# default. You must make any subsequent changes to the default version
# Designates a version to be the default for the model. The default version is
# used for prediction requests made against the model that don't specify a
# version. The first version to be created for a model is automatically set as
# the default. You must make any subsequent changes to the default version
# setting manually using this method.
# @param [String] name
# Required. The name of the version to make the default for the model. You
# can get the names of all the versions of a model by calling
# projects.models.versions.list.
# Required. The name of the version to make the default for the model. You can
# get the names of all the versions of a model by calling projects.models.
# versions.list.
# @param [Google::Apis::MlV1::GoogleCloudMlV1SetDefaultVersionRequest] google_cloud_ml_v1__set_default_version_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -1610,15 +1555,13 @@ module Google
execute_or_queue_command(command, &block)
end
# Starts asynchronous cancellation on a long-running operation. The server
# makes a best effort to cancel the operation, but success is not
# guaranteed. If the server doesn't support this method, it returns
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
# Operations.GetOperation or
# other methods to check whether the cancellation succeeded or whether the
# operation completed despite cancellation. On successful cancellation,
# the operation is not deleted; instead, it becomes an operation with
# an Operation.error value with a google.rpc.Status.code of 1,
# Starts asynchronous cancellation on a long-running operation. The server makes
# a best effort to cancel the operation, but success is not guaranteed. If the
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
# Clients can use Operations.GetOperation or other methods to check whether the
# cancellation succeeded or whether the operation completed despite cancellation.
# On successful cancellation, the operation is not deleted; instead, it becomes
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
# corresponding to `Code.CANCELLED`.
# @param [String] name
# The name of the operation resource to be cancelled.
@ -1649,9 +1592,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the latest state of a long-running operation. Clients can use this
# method to poll the operation result at intervals as recommended by the API
# service.
# Gets the latest state of a long-running operation. Clients can use this method
# to poll the operation result at intervals as recommended by the API service.
# @param [String] name
# The name of the operation resource.
# @param [String] fields
@ -1681,15 +1623,14 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists operations that match the specified filter in the request. If the
# server doesn't support this method, it returns `UNIMPLEMENTED`.
# NOTE: the `name` binding allows API services to override the binding
# to use different resource name schemes, such as `users/*/operations`. To
# override the binding, API services can add a binding such as
# `"/v1/`name=users/*`/operations"` to their service configuration.
# For backwards compatibility, the default name includes the operations
# collection id, however overriding users must ensure the name binding
# is the parent resource, without the operations collection id.
# Lists operations that match the specified filter in the request. If the server
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
# binding allows API services to override the binding to use different resource
# name schemes, such as `users/*/operations`. To override the binding, API
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
# service configuration. For backwards compatibility, the default name includes
# the operations collection id, however overriding users must ensure the name
# binding is the parent resource, without the operations collection id.
# @param [String] name
# The name of the operation's parent resource.
# @param [String] filter

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/pubsub/docs
module PubsubV1
VERSION = 'V1'
REVISION = '20200731'
REVISION = '20200807'
# 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

View File

@ -47,30 +47,26 @@ module Google
@batch_path = 'batch'
end
# Creates a snapshot from the requested subscription. Snapshots are used in
# [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations,
# which allow you to manage message acknowledgments in bulk. That is, you can
# set the acknowledgment state of messages in an existing subscription to the
# state captured by a snapshot.
# If the snapshot already exists, returns `ALREADY_EXISTS`.
# If the requested subscription doesn't exist, returns `NOT_FOUND`.
# If the backlog in the subscription is too old -- and the resulting snapshot
# would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned.
# See also the `Snapshot.expire_time` field. If the name is not provided in
# the request, the server will assign a random
# name for this snapshot on the same project as the subscription, conforming
# to the [resource name format]
# (https://cloud.google.com/pubsub/docs/admin#resource_names). The
# Creates a snapshot from the requested subscription. Snapshots are used in [
# Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which
# allow you to manage message acknowledgments in bulk. That is, you can set the
# acknowledgment state of messages in an existing subscription to the state
# captured by a snapshot. If the snapshot already exists, returns `
# ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `
# NOT_FOUND`. If the backlog in the subscription is too old -- and the resulting
# snapshot would expire in less than 1 hour -- then `FAILED_PRECONDITION` is
# returned. See also the `Snapshot.expire_time` field. If the name is not
# provided in the request, the server will assign a random name for this
# snapshot on the same project as the subscription, conforming to the [resource
# name format] (https://cloud.google.com/pubsub/docs/admin#resource_names). The
# generated name is populated in the returned Snapshot object. Note that for
# REST API requests, you must specify a name in the request.
# @param [String] name
# Required. User-provided name for this snapshot. If the name is not provided in
# the
# request, the server will assign a random name for this snapshot on the same
# project as the subscription. Note that for REST API requests, you must
# specify a name. See the <a
# href="https://cloud.google.com/pubsub/docs/admin#resource_names"> resource
# name rules</a>. Format is `projects/`project`/snapshots/`snap``.
# the request, the server will assign a random name for this snapshot on the
# same project as the subscription. Note that for REST API requests, you must
# specify a name. See the resource name rules. Format is `projects/`project`/
# snapshots/`snap``.
# @param [Google::Apis::PubsubV1::CreateSnapshotRequest] create_snapshot_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -101,18 +97,17 @@ module Google
execute_or_queue_command(command, &block)
end
# Removes an existing snapshot. Snapshots are used in [Seek]
# (https://cloud.google.com/pubsub/docs/replay-overview) operations, which
# allow you to manage message acknowledgments in bulk. That is, you can set
# the acknowledgment state of messages in an existing subscription to the
# state captured by a snapshot.
# When the snapshot is deleted, all messages retained in the snapshot
# are immediately dropped. After a snapshot is deleted, a new one may be
# created with the same name, but the new one has no association with the old
# snapshot or its subscription, unless the same subscription is specified.
# Removes an existing snapshot. Snapshots are used in [Seek] (https://cloud.
# google.com/pubsub/docs/replay-overview) operations, which allow you to manage
# message acknowledgments in bulk. That is, you can set the acknowledgment state
# of messages in an existing subscription to the state captured by a snapshot.
# When the snapshot is deleted, all messages retained in the snapshot are
# immediately dropped. After a snapshot is deleted, a new one may be created
# with the same name, but the new one has no association with the old snapshot
# or its subscription, unless the same subscription is specified.
# @param [String] snapshot
# Required. The name of the snapshot to delete.
# Format is `projects/`project`/snapshots/`snap``.
# Required. The name of the snapshot to delete. Format is `projects/`project`/
# snapshots/`snap``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -140,14 +135,13 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the configuration details of a snapshot. Snapshots are used in
# <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
# operations, which allow you to manage message acknowledgments in bulk. That
# is, you can set the acknowledgment state of messages in an existing
# subscription to the state captured by a snapshot.
# Gets the configuration details of a snapshot. Snapshots are used in Seek
# operations, which allow you to manage message acknowledgments in bulk. That is,
# you can set the acknowledgment state of messages in an existing subscription
# to the state captured by a snapshot.
# @param [String] snapshot
# Required. The name of the snapshot to get.
# Format is `projects/`project`/snapshots/`snap``.
# Required. The name of the snapshot to get. Format is `projects/`project`/
# snapshots/`snap``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -175,22 +169,19 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the access control policy for a resource.
# Returns an empty policy if the resource exists and does not have a policy
# set.
# Gets the access control policy for a resource. Returns an empty policy if the
# resource exists and does not have a policy set.
# @param [String] resource
# REQUIRED: The resource for which the policy is being requested.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# Optional. The policy format version to be returned. Valid values are 0, 1, and
# 3. Requests specifying an invalid value will be rejected. Requests for
# policies with any conditional bindings must specify version 3. Policies
# without any conditional bindings may specify any valid value or leave the
# field unset. To learn which resources support conditions in their IAM policies,
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
# resource-policies).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -219,20 +210,19 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists the existing snapshots. Snapshots are used in [Seek](
# https://cloud.google.com/pubsub/docs/replay-overview) operations, which
# allow you to manage message acknowledgments in bulk. That is, you can set
# the acknowledgment state of messages in an existing subscription to the
# state captured by a snapshot.
# Lists the existing snapshots. Snapshots are used in [Seek]( https://cloud.
# google.com/pubsub/docs/replay-overview) operations, which allow you to manage
# message acknowledgments in bulk. That is, you can set the acknowledgment state
# of messages in an existing subscription to the state captured by a snapshot.
# @param [String] project
# Required. The name of the project in which to list snapshots.
# Format is `projects/`project-id``.
# Required. The name of the project in which to list snapshots. Format is `
# projects/`project-id``.
# @param [Fixnum] page_size
# Maximum number of snapshots to return.
# @param [String] page_token
# The value returned by the last `ListSnapshotsResponse`; indicates that this
# is a continuation of a prior `ListSnapshots` call, and that the system
# should return the next page of data.
# The value returned by the last `ListSnapshotsResponse`; indicates that this is
# a continuation of a prior `ListSnapshots` call, and that the system should
# return the next page of data.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -262,10 +252,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates an existing snapshot. Snapshots are used in
# <a href="https://cloud.google.com/pubsub/docs/replay-overview">Seek</a>
# operations, which allow
# you to manage message acknowledgments in bulk. That is, you can set the
# Updates an existing snapshot. Snapshots are used in Seek operations, which
# allow you to manage message acknowledgments in bulk. That is, you can set the
# acknowledgment state of messages in an existing subscription to the state
# captured by a snapshot.
# @param [String] name
@ -301,11 +289,11 @@ module Google
end
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
# PERMISSION_DENIED` errors.
# @param [String] resource
# REQUIRED: The resource for which the policy is being specified.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -336,15 +324,14 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# If the resource does not exist, this will return an empty set of
# permissions, not a `NOT_FOUND` error.
# Note: This operation is designed to be used for building permission-aware
# UIs and command-line tools, not for authorization checking. This operation
# may "fail open" without warning.
# Returns permissions that a caller has on the specified resource. If the
# resource does not exist, this will return an empty set of permissions, not a `
# NOT_FOUND` error. Note: This operation is designed to be used for building
# permission-aware UIs and command-line tools, not for authorization checking.
# This operation may "fail open" without warning.
# @param [String] resource
# REQUIRED: The resource for which the policy detail is being requested.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy detail is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -375,15 +362,14 @@ module Google
execute_or_queue_command(command, &block)
end
# Acknowledges the messages associated with the `ack_ids` in the
# `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages
# from the subscription.
# Acknowledging a message whose ack deadline has expired may succeed,
# but such a message may be redelivered later. Acknowledging a message more
# than once will not result in an error.
# Acknowledges the messages associated with the `ack_ids` in the `
# AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages from
# the subscription. Acknowledging a message whose ack deadline has expired may
# succeed, but such a message may be redelivered later. Acknowledging a message
# more than once will not result in an error.
# @param [String] subscription
# Required. The subscription whose message is being acknowledged.
# Format is `projects/`project`/subscriptions/`sub``.
# Required. The subscription whose message is being acknowledged. Format is `
# projects/`project`/subscriptions/`sub``.
# @param [Google::Apis::PubsubV1::AcknowledgeRequest] acknowledge_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -414,23 +400,22 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a subscription to a given topic. See the [resource name rules]
# (https://cloud.google.com/pubsub/docs/admin#resource_names).
# If the subscription already exists, returns `ALREADY_EXISTS`.
# If the corresponding topic doesn't exist, returns `NOT_FOUND`.
# If the name is not provided in the request, the server will assign a random
# name for this subscription on the same project as the topic, conforming
# to the [resource name format]
# (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated
# name is populated in the returned Subscription object. Note that for REST
# API requests, you must specify a name in the request.
# Creates a subscription to a given topic. See the [resource name rules] (https:/
# /cloud.google.com/pubsub/docs/admin#resource_names). If the subscription
# already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't
# exist, returns `NOT_FOUND`. If the name is not provided in the request, the
# server will assign a random name for this subscription on the same project as
# the topic, conforming to the [resource name format] (https://cloud.google.com/
# pubsub/docs/admin#resource_names). The generated name is populated in the
# returned Subscription object. Note that for REST API requests, you must
# specify a name in the request.
# @param [String] name
# Required. The name of the subscription. It must have the format
# `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must
# start with a letter, and contain only letters (`[A-Za-z]`), numbers
# (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
# plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters
# in length, and it must not start with `"goog"`.
# Required. The name of the subscription. It must have the format `"projects/`
# project`/subscriptions/`subscription`"`. ``subscription`` must start with a
# letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`
# %`). It must be between 3 and 255 characters in length, and it must not start
# with `"goog"`.
# @param [Google::Apis::PubsubV1::Subscription] subscription_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -462,13 +447,13 @@ module Google
end
# Deletes an existing subscription. All messages retained in the subscription
# are immediately dropped. Calls to `Pull` after deletion will return
# `NOT_FOUND`. After a subscription is deleted, a new one may be created with
# the same name, but the new one has no association with the old
# subscription or its topic unless the same topic is specified.
# are immediately dropped. Calls to `Pull` after deletion will return `NOT_FOUND`
# . After a subscription is deleted, a new one may be created with the same name,
# but the new one has no association with the old subscription or its topic
# unless the same topic is specified.
# @param [String] subscription
# Required. The subscription to delete.
# Format is `projects/`project`/subscriptions/`sub``.
# Required. The subscription to delete. Format is `projects/`project`/
# subscriptions/`sub``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -497,12 +482,12 @@ module Google
end
# Detaches a subscription from this topic. All messages retained in the
# subscription are dropped. Subsequent `Pull` and `StreamingPull` requests
# will return FAILED_PRECONDITION. If the subscription is a push
# subscription, pushes to the endpoint will stop.
# subscription are dropped. Subsequent `Pull` and `StreamingPull` requests will
# return FAILED_PRECONDITION. If the subscription is a push subscription, pushes
# to the endpoint will stop.
# @param [String] subscription
# Required. The subscription to detach.
# Format is `projects/`project`/subscriptions/`subscription``.
# Required. The subscription to detach. Format is `projects/`project`/
# subscriptions/`subscription``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -532,8 +517,8 @@ module Google
# Gets the configuration details of a subscription.
# @param [String] subscription
# Required. The name of the subscription to get.
# Format is `projects/`project`/subscriptions/`sub``.
# Required. The name of the subscription to get. Format is `projects/`project`/
# subscriptions/`sub``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -561,22 +546,19 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the access control policy for a resource.
# Returns an empty policy if the resource exists and does not have a policy
# set.
# Gets the access control policy for a resource. Returns an empty policy if the
# resource exists and does not have a policy set.
# @param [String] resource
# REQUIRED: The resource for which the policy is being requested.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# Optional. The policy format version to be returned. Valid values are 0, 1, and
# 3. Requests specifying an invalid value will be rejected. Requests for
# policies with any conditional bindings must specify version 3. Policies
# without any conditional bindings may specify any valid value or leave the
# field unset. To learn which resources support conditions in their IAM policies,
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
# resource-policies).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -607,8 +589,8 @@ module Google
# Lists matching subscriptions.
# @param [String] project
# Required. The name of the project in which to list subscriptions.
# Format is `projects/`project-id``.
# Required. The name of the project in which to list subscriptions. Format is `
# projects/`project-id``.
# @param [Fixnum] page_size
# Maximum number of subscriptions to return.
# @param [String] page_token
@ -644,14 +626,14 @@ module Google
execute_or_queue_command(command, &block)
end
# Modifies the ack deadline for a specific message. This method is useful
# to indicate that more time is needed to process a message by the
# subscriber, or to make the message available for redelivery if the
# processing was interrupted. Note that this does not modify the
# subscription-level `ackDeadlineSeconds` used for subsequent messages.
# Modifies the ack deadline for a specific message. This method is useful to
# indicate that more time is needed to process a message by the subscriber, or
# to make the message available for redelivery if the processing was interrupted.
# Note that this does not modify the subscription-level `ackDeadlineSeconds`
# used for subsequent messages.
# @param [String] subscription
# Required. The name of the subscription.
# Format is `projects/`project`/subscriptions/`sub``.
# Required. The name of the subscription. Format is `projects/`project`/
# subscriptions/`sub``.
# @param [Google::Apis::PubsubV1::ModifyAckDeadlineRequest] modify_ack_deadline_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -682,14 +664,14 @@ module Google
execute_or_queue_command(command, &block)
end
# Modifies the `PushConfig` for a specified subscription.
# This may be used to change a push subscription to a pull one (signified by
# an empty `PushConfig`) or vice versa, or change the endpoint URL and other
# attributes of a push subscription. Messages will accumulate for delivery
# continuously through the call regardless of changes to the `PushConfig`.
# Modifies the `PushConfig` for a specified subscription. This may be used to
# change a push subscription to a pull one (signified by an empty `PushConfig`)
# or vice versa, or change the endpoint URL and other attributes of a push
# subscription. Messages will accumulate for delivery continuously through the
# call regardless of changes to the `PushConfig`.
# @param [String] subscription
# Required. The name of the subscription.
# Format is `projects/`project`/subscriptions/`sub``.
# Required. The name of the subscription. Format is `projects/`project`/
# subscriptions/`sub``.
# @param [Google::Apis::PubsubV1::ModifyPushConfigRequest] modify_push_config_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -723,12 +705,12 @@ module Google
# Updates an existing subscription. Note that certain properties of a
# subscription, such as its topic, are not modifiable.
# @param [String] name
# Required. The name of the subscription. It must have the format
# `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must
# start with a letter, and contain only letters (`[A-Za-z]`), numbers
# (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
# plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters
# in length, and it must not start with `"goog"`.
# Required. The name of the subscription. It must have the format `"projects/`
# project`/subscriptions/`subscription`"`. ``subscription`` must start with a
# letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`
# %`). It must be between 3 and 255 characters in length, and it must not start
# with `"goog"`.
# @param [Google::Apis::PubsubV1::UpdateSubscriptionRequest] update_subscription_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -759,12 +741,11 @@ module Google
execute_or_queue_command(command, &block)
end
# Pulls messages from the server. The server may return `UNAVAILABLE` if
# there are too many concurrent pull requests pending for the given
# subscription.
# Pulls messages from the server. The server may return `UNAVAILABLE` if there
# are too many concurrent pull requests pending for the given subscription.
# @param [String] subscription
# Required. The subscription from which messages should be pulled.
# Format is `projects/`project`/subscriptions/`sub``.
# Required. The subscription from which messages should be pulled. Format is `
# projects/`project`/subscriptions/`sub``.
# @param [Google::Apis::PubsubV1::PullRequest] pull_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -796,12 +777,12 @@ module Google
end
# Seeks an existing subscription to a point in time or to a given snapshot,
# whichever is provided in the request. Snapshots are used in [Seek](
# https://cloud.google.com/pubsub/docs/replay-overview) operations, which
# allow you to manage message acknowledgments in bulk. That is, you can set
# the acknowledgment state of messages in an existing subscription to the
# state captured by a snapshot. Note that both the subscription and the
# snapshot must be on the same topic.
# whichever is provided in the request. Snapshots are used in [Seek]( https://
# cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to
# manage message acknowledgments in bulk. That is, you can set the
# acknowledgment state of messages in an existing subscription to the state
# captured by a snapshot. Note that both the subscription and the snapshot must
# be on the same topic.
# @param [String] subscription
# Required. The subscription to affect.
# @param [Google::Apis::PubsubV1::SeekRequest] seek_request_object
@ -835,11 +816,11 @@ module Google
end
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
# PERMISSION_DENIED` errors.
# @param [String] resource
# REQUIRED: The resource for which the policy is being specified.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -870,15 +851,14 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# If the resource does not exist, this will return an empty set of
# permissions, not a `NOT_FOUND` error.
# Note: This operation is designed to be used for building permission-aware
# UIs and command-line tools, not for authorization checking. This operation
# may "fail open" without warning.
# Returns permissions that a caller has on the specified resource. If the
# resource does not exist, this will return an empty set of permissions, not a `
# NOT_FOUND` error. Note: This operation is designed to be used for building
# permission-aware UIs and command-line tools, not for authorization checking.
# This operation may "fail open" without warning.
# @param [String] resource
# REQUIRED: The resource for which the policy detail is being requested.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy detail is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -912,12 +892,11 @@ module Google
# Creates the given topic with the given name. See the [resource name rules](
# https://cloud.google.com/pubsub/docs/admin#resource_names).
# @param [String] name
# Required. The name of the topic. It must have the format
# `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter,
# and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
# signs (`%`). It must be between 3 and 255 characters in length, and it
# must not start with `"goog"`.
# Required. The name of the topic. It must have the format `"projects/`project`/
# topics/`topic`"`. ``topic`` must start with a letter, and contain only letters
# (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`)
# , tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and
# 255 characters in length, and it must not start with `"goog"`.
# @param [Google::Apis::PubsubV1::Topic] topic_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -948,14 +927,14 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes the topic with the given name. Returns `NOT_FOUND` if the topic
# does not exist. After a topic is deleted, a new topic may be created with
# the same name; this is an entirely new topic with none of the old
# configuration or subscriptions. Existing subscriptions to this topic are
# not deleted, but their `topic` field is set to `_deleted-topic_`.
# Deletes the topic with the given name. Returns `NOT_FOUND` if the topic does
# not exist. After a topic is deleted, a new topic may be created with the same
# name; this is an entirely new topic with none of the old configuration or
# subscriptions. Existing subscriptions to this topic are not deleted, but their
# `topic` field is set to `_deleted-topic_`.
# @param [String] topic
# Required. Name of the topic to delete.
# Format is `projects/`project`/topics/`topic``.
# Required. Name of the topic to delete. Format is `projects/`project`/topics/`
# topic``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -985,8 +964,8 @@ module Google
# Gets the configuration of a topic.
# @param [String] topic
# Required. The name of the topic to get.
# Format is `projects/`project`/topics/`topic``.
# Required. The name of the topic to get. Format is `projects/`project`/topics/`
# topic``.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1014,22 +993,19 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the access control policy for a resource.
# Returns an empty policy if the resource exists and does not have a policy
# set.
# Gets the access control policy for a resource. Returns an empty policy if the
# resource exists and does not have a policy set.
# @param [String] resource
# REQUIRED: The resource for which the policy is being requested.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# Optional. The policy format version to be returned. Valid values are 0, 1, and
# 3. Requests specifying an invalid value will be rejected. Requests for
# policies with any conditional bindings must specify version 3. Policies
# without any conditional bindings may specify any valid value or leave the
# field unset. To learn which resources support conditions in their IAM policies,
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
# resource-policies).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1060,14 +1036,14 @@ module Google
# Lists matching topics.
# @param [String] project
# Required. The name of the project in which to list topics.
# Format is `projects/`project-id``.
# Required. The name of the project in which to list topics. Format is `projects/
# `project-id``.
# @param [Fixnum] page_size
# Maximum number of topics to return.
# @param [String] page_token
# The value returned by the last `ListTopicsResponse`; indicates that this is
# a continuation of a prior `ListTopics` call, and that the system should
# return the next page of data.
# The value returned by the last `ListTopicsResponse`; indicates that this is a
# continuation of a prior `ListTopics` call, and that the system should return
# the next page of data.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1097,15 +1073,14 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates an existing topic. Note that certain properties of a
# topic are not modifiable.
# Updates an existing topic. Note that certain properties of a topic are not
# modifiable.
# @param [String] name
# Required. The name of the topic. It must have the format
# `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter,
# and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
# signs (`%`). It must be between 3 and 255 characters in length, and it
# must not start with `"goog"`.
# Required. The name of the topic. It must have the format `"projects/`project`/
# topics/`topic`"`. ``topic`` must start with a letter, and contain only letters
# (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`)
# , tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and
# 255 characters in length, and it must not start with `"goog"`.
# @param [Google::Apis::PubsubV1::UpdateTopicRequest] update_topic_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -1136,11 +1111,11 @@ module Google
execute_or_queue_command(command, &block)
end
# Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic
# does not exist.
# Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does
# not exist.
# @param [String] topic
# Required. The messages in the request will be published on this topic.
# Format is `projects/`project`/topics/`topic``.
# Required. The messages in the request will be published on this topic. Format
# is `projects/`project`/topics/`topic``.
# @param [Google::Apis::PubsubV1::PublishRequest] publish_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -1172,11 +1147,11 @@ module Google
end
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
# PERMISSION_DENIED` errors.
# @param [String] resource
# REQUIRED: The resource for which the policy is being specified.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -1207,15 +1182,14 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# If the resource does not exist, this will return an empty set of
# permissions, not a `NOT_FOUND` error.
# Note: This operation is designed to be used for building permission-aware
# UIs and command-line tools, not for authorization checking. This operation
# may "fail open" without warning.
# Returns permissions that a caller has on the specified resource. If the
# resource does not exist, this will return an empty set of permissions, not a `
# NOT_FOUND` error. Note: This operation is designed to be used for building
# permission-aware UIs and command-line tools, not for authorization checking.
# This operation may "fail open" without warning.
# @param [String] resource
# REQUIRED: The resource for which the policy detail is being requested.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy detail is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -1246,20 +1220,20 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists the names of the snapshots on this topic. Snapshots are used in
# [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations,
# which allow you to manage message acknowledgments in bulk. That is, you can
# set the acknowledgment state of messages in an existing subscription to the
# state captured by a snapshot.
# Lists the names of the snapshots on this topic. Snapshots are used in [Seek](
# https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow
# you to manage message acknowledgments in bulk. That is, you can set the
# acknowledgment state of messages in an existing subscription to the state
# captured by a snapshot.
# @param [String] topic
# Required. The name of the topic that snapshots are attached to.
# Format is `projects/`project`/topics/`topic``.
# Required. The name of the topic that snapshots are attached to. Format is `
# projects/`project`/topics/`topic``.
# @param [Fixnum] page_size
# Maximum number of snapshot names to return.
# @param [String] page_token
# The value returned by the last `ListTopicSnapshotsResponse`; indicates
# that this is a continuation of a prior `ListTopicSnapshots` call, and
# that the system should return the next page of data.
# The value returned by the last `ListTopicSnapshotsResponse`; indicates that
# this is a continuation of a prior `ListTopicSnapshots` call, and that the
# system should return the next page of data.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1291,14 +1265,14 @@ module Google
# Lists the names of the attached subscriptions on this topic.
# @param [String] topic
# Required. The name of the topic that subscriptions are attached to.
# Format is `projects/`project`/topics/`topic``.
# Required. The name of the topic that subscriptions are attached to. Format is `
# projects/`project`/topics/`topic``.
# @param [Fixnum] page_size
# Maximum number of subscription names to return.
# @param [String] page_token
# The value returned by the last `ListTopicSubscriptionsResponse`; indicates
# that this is a continuation of a prior `ListTopicSubscriptions` call, and
# that the system should return the next page of data.
# that this is a continuation of a prior `ListTopicSubscriptions` call, and that
# the system should return the next page of data.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/pubsub/docs
module PubsubV1beta1a
VERSION = 'V1beta1a'
REVISION = '20200218'
REVISION = '20200807'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,8 +26,8 @@ module Google
class AcknowledgeRequest
include Google::Apis::Core::Hashable
# The acknowledgment ID for the message being acknowledged. This was
# returned by the Pub/Sub system in the Pull response.
# The acknowledgment ID for the message being acknowledged. This was returned by
# the Pub/Sub system in the Pull response.
# Corresponds to the JSON property `ackId`
# @return [Array<String>]
attr_accessor :ack_id
@ -50,16 +50,11 @@ module Google
# An empty message that you can re-use to avoid defining duplicated empty
# messages in your project. A typical example is to use it as argument or the
# return value of a service API. For instance:
# service Foo `
# rpc Bar (proto2.Empty) returns (proto2.Empty) ` `;
# `;
# BEGIN GOOGLE-INTERNAL
# The difference between this one and net/rpc/empty-message.proto is that
# 1) The generated message here is in proto2 C++ API.
# 2) The proto2.Empty has minimum dependencies
# (no message_set or net/rpc dependencies)
# END GOOGLE-INTERNAL
# return value of a service API. For instance: service Foo ` rpc Bar (proto2.
# Empty) returns (proto2.Empty) ` `; `; BEGIN GOOGLE-INTERNAL The difference
# between this one and net/rpc/empty-message.proto is that 1) The generated
# message here is in proto2 C++ API. 2) The proto2.Empty has minimum
# dependencies (no message_set or net/rpc dependencies) END GOOGLE-INTERNAL
class Empty
include Google::Apis::Core::Hashable
@ -76,20 +71,16 @@ module Google
class Label
include Google::Apis::Core::Hashable
# The key of a label is a syntactically valid URL (as per RFC 1738) with
# the "scheme" and initial slashes omitted and with the additional
# restrictions noted below. Each key should be globally unique. The
# "host" portion is called the "namespace" and is not necessarily
# resolvable to a network endpoint. Instead, the namespace indicates what
# system or entity defines the semantics of the label. Namespaces do not
# restrict the set of objects to which a label may be associated.
# Keys are defined by the following grammar:
# key = hostname "/" kpath
# kpath = ksegment *[ "/" ksegment ]
# ksegment = alphadigit | *[ alphadigit | "-" | "_" | "." ]
# where "hostname" and "alphadigit" are defined as in RFC 1738.
# Example key:
# spanner.google.com/universe
# The key of a label is a syntactically valid URL (as per RFC 1738) with the "
# scheme" and initial slashes omitted and with the additional restrictions noted
# below. Each key should be globally unique. The "host" portion is called the "
# namespace" and is not necessarily resolvable to a network endpoint. Instead,
# the namespace indicates what system or entity defines the semantics of the
# label. Namespaces do not restrict the set of objects to which a label may be
# associated. Keys are defined by the following grammar: key = hostname "/"
# kpath kpath = ksegment *[ "/" ksegment ] ksegment = alphadigit | *[ alphadigit
# | "-" | "_" | "." ] where "hostname" and "alphadigit" are defined as in RFC
# 1738. Example key: spanner.google.com/universe
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
@ -121,8 +112,8 @@ module Google
include Google::Apis::Core::Hashable
# If not empty, indicates that there are more subscriptions that match the
# request and this value should be passed to the next
# <code>ListSubscriptionsRequest</code> to continue.
# request and this value should be passed to the next ListSubscriptionsRequest
# to continue.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -147,9 +138,8 @@ module Google
class ListTopicsResponse
include Google::Apis::Core::Hashable
# If not empty, indicates that there are more topics that match the request,
# and this value should be passed to the next <code>ListTopicsRequest</code>
# to continue.
# If not empty, indicates that there are more topics that match the request, and
# this value should be passed to the next ListTopicsRequest to continue.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -174,8 +164,8 @@ module Google
class ModifyAckDeadlineRequest
include Google::Apis::Core::Hashable
# The new ack deadline with respect to the time this request was sent to the
# Pub/Sub system. Must be >= 0. For example, if the value is 10, the new ack
# The new ack deadline with respect to the time this request was sent to the Pub/
# Sub system. Must be >= 0. For example, if the value is 10, the new ack
# deadline will expire 10 seconds after the ModifyAckDeadline call was made.
# Specifying zero may immediately make the message available for another pull
# request.
@ -183,20 +173,19 @@ module Google
# @return [Fixnum]
attr_accessor :ack_deadline_seconds
# The acknowledgment ID. Either this or ack_ids must be populated,
# not both.
# The acknowledgment ID. Either this or ack_ids must be populated, not both.
# Corresponds to the JSON property `ackId`
# @return [String]
attr_accessor :ack_id
# List of acknowledgment IDs. Either this field or ack_id
# should be populated, not both.
# List of acknowledgment IDs. Either this field or ack_id should be populated,
# not both.
# Corresponds to the JSON property `ackIds`
# @return [Array<String>]
attr_accessor :ack_ids
# Next Index: 5
# The name of the subscription from which messages are being pulled.
# Next Index: 5 The name of the subscription from which messages are being
# pulled.
# Corresponds to the JSON property `subscription`
# @return [String]
attr_accessor :subscription
@ -268,9 +257,8 @@ module Google
class PublishBatchResponse
include Google::Apis::Core::Hashable
# The server-assigned ID of each published message, in the same order as
# the messages in the request. IDs are guaranteed to be unique within
# the topic.
# The server-assigned ID of each published message, in the same order as the
# messages in the request. IDs are guaranteed to be unique within the topic.
# Corresponds to the JSON property `messageIds`
# @return [Array<String>]
attr_accessor :message_ids
@ -314,9 +302,9 @@ module Google
class PubsubEvent
include Google::Apis::Core::Hashable
# Indicates that this subscription has been deleted. (Note that pull
# subscribers will always receive NOT_FOUND in response in their pull
# request on the subscription, rather than seeing this boolean.)
# Indicates that this subscription has been deleted. (Note that pull subscribers
# will always receive NOT_FOUND in response in their pull request on the
# subscription, rather than seeing this boolean.)
# Corresponds to the JSON property `deleted`
# @return [Boolean]
attr_accessor :deleted
@ -361,22 +349,22 @@ module Google
# @return [String]
attr_accessor :data
# Optional list of labels for this message. Keys in this collection must
# be unique.
# Optional list of labels for this message. Keys in this collection must be
# unique.
# Corresponds to the JSON property `label`
# @return [Array<Google::Apis::PubsubV1beta1a::Label>]
attr_accessor :label
# ID of this message assigned by the server at publication time. Guaranteed
# to be unique within the topic. This value may be read by a subscriber
# that receives a PubsubMessage via a Pull call or a push delivery. It must
# not be populated by a publisher in a Publish call.
# ID of this message assigned by the server at publication time. Guaranteed to
# be unique within the topic. This value may be read by a subscriber that
# receives a PubsubMessage via a Pull call or a push delivery. It must not be
# populated by a publisher in a Publish call.
# Corresponds to the JSON property `messageId`
# @return [String]
attr_accessor :message_id
# The time at which the message was published.
# The time is milliseconds since the UNIX epoch.
# The time at which the message was published. The time is milliseconds since
# the UNIX epoch.
# Corresponds to the JSON property `publishTime`
# @return [Fixnum]
attr_accessor :publish_time
@ -404,11 +392,11 @@ module Google
# @return [Fixnum]
attr_accessor :max_events
# If this is specified as true the system will respond immediately even if
# it is not able to return a message in the Pull response. Otherwise the
# system is allowed to wait until at least one message is available rather
# than returning no messages. The client may cancel the request if it does
# not wish to wait any longer for the response.
# If this is specified as true the system will respond immediately even if it is
# not able to return a message in the Pull response. Otherwise the system is
# allowed to wait until at least one message is available rather than returning
# no messages. The client may cancel the request if it does not wish to wait any
# longer for the response.
# Corresponds to the JSON property `returnImmediately`
# @return [Boolean]
attr_accessor :return_immediately
@ -436,9 +424,9 @@ module Google
include Google::Apis::Core::Hashable
# Received Pub/Sub messages or status events. The Pub/Sub system will return
# zero messages if there are no more messages available in the backlog. The
# Pub/Sub system may return fewer than the max_events requested even if
# there are more messages available in the backlog.
# zero messages if there are no more messages available in the backlog. The Pub/
# Sub system may return fewer than the max_events requested even if there are
# more messages available in the backlog.
# Corresponds to the JSON property `pullResponses`
# @return [Array<Google::Apis::PubsubV1beta1a::PullResponse>]
attr_accessor :pull_responses
@ -457,11 +445,11 @@ module Google
class PullRequest
include Google::Apis::Core::Hashable
# If this is specified as true the system will respond immediately even if
# it is not able to return a message in the Pull response. Otherwise the
# system is allowed to wait until at least one message is available rather
# than returning FAILED_PRECONDITION. The client may cancel the request if
# it does not wish to wait any longer for the response.
# If this is specified as true the system will respond immediately even if it is
# not able to return a message in the Pull response. Otherwise the system is
# allowed to wait until at least one message is available rather than returning
# FAILED_PRECONDITION. The client may cancel the request if it does not wish to
# wait any longer for the response.
# Corresponds to the JSON property `returnImmediately`
# @return [Boolean]
attr_accessor :return_immediately
@ -483,8 +471,8 @@ module Google
end
end
# Either a <code>PubsubMessage</code> or a truncation event. One of these two
# must be populated.
# Either a PubsubMessage or a truncation event. One of these two must be
# populated.
class PullResponse
include Google::Apis::Core::Hashable
@ -513,8 +501,8 @@ module Google
class PushConfig
include Google::Apis::Core::Hashable
# A URL locating the endpoint to which messages should be pushed.
# For example, a Webhook endpoint might use "https://example.com/push".
# A URL locating the endpoint to which messages should be pushed. For example, a
# Webhook endpoint might use "https://example.com/push".
# Corresponds to the JSON property `pushEndpoint`
# @return [String]
attr_accessor :push_endpoint
@ -534,22 +522,19 @@ module Google
include Google::Apis::Core::Hashable
# For either push or pull delivery, the value is the maximum time after a
# subscriber receives a message before the subscriber should acknowledge or
# Nack the message. If the Ack deadline for a message passes without an
# Ack or a Nack, the Pub/Sub system will eventually redeliver the message.
# If a subscriber acknowledges after the deadline, the Pub/Sub system may
# accept the Ack, but it is possible that the message has been already
# delivered again. Multiple Acks to the message are allowed and will
# succeed.
# For push delivery, this value is used to set the request timeout for
# the call to the push endpoint.
# For pull delivery, this value is used as the initial value for the Ack
# deadline. It may be overridden for each message using its corresponding
# ack_id with <code>ModifyAckDeadline</code>.
# While a message is outstanding (i.e. it has been delivered to a pull
# subscriber and the subscriber has not yet Acked or Nacked), the Pub/Sub
# system will not deliver that message to another pull subscriber
# (on a best-effort basis).
# subscriber receives a message before the subscriber should acknowledge or Nack
# the message. If the Ack deadline for a message passes without an Ack or a Nack,
# the Pub/Sub system will eventually redeliver the message. If a subscriber
# acknowledges after the deadline, the Pub/Sub system may accept the Ack, but it
# is possible that the message has been already delivered again. Multiple Acks
# to the message are allowed and will succeed. For push delivery, this value is
# used to set the request timeout for the call to the push endpoint. For pull
# delivery, this value is used as the initial value for the Ack deadline. It may
# be overridden for each message using its corresponding ack_id with
# ModifyAckDeadline. While a message is outstanding (i.e. it has been delivered
# to a pull subscriber and the subscriber has not yet Acked or Nacked), the Pub/
# Sub system will not deliver that message to another pull subscriber (on a best-
# effort basis).
# Corresponds to the JSON property `ackDeadlineSeconds`
# @return [Fixnum]
attr_accessor :ack_deadline_seconds

View File

@ -47,11 +47,11 @@ module Google
@batch_path = 'batch'
end
# Acknowledges a particular received message: the Pub/Sub system can remove
# the given message from the subscription. Acknowledging a message whose
# Ack deadline has expired may succeed, but the message could have been
# already redelivered. Acknowledging a message more than once will not
# result in an error. This is only used for messages received via pull.
# Acknowledges a particular received message: the Pub/Sub system can remove the
# given message from the subscription. Acknowledging a message whose Ack
# deadline has expired may succeed, but the message could have been already
# redelivered. Acknowledging a message more than once will not result in an
# error. This is only used for messages received via pull.
# @param [Google::Apis::PubsubV1beta1a::AcknowledgeRequest] acknowledge_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -81,11 +81,11 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a subscription on a given topic for a given subscriber.
# If the subscription already exists, returns ALREADY_EXISTS.
# If the corresponding topic doesn't exist, returns NOT_FOUND.
# If the name is not provided in the request, the server will assign a random
# name for this subscription on the same project as the topic.
# Creates a subscription on a given topic for a given subscriber. If the
# subscription already exists, returns ALREADY_EXISTS. If the corresponding
# topic doesn't exist, returns NOT_FOUND. If the name is not provided in the
# request, the server will assign a random name for this subscription on the
# same project as the topic.
# @param [Google::Apis::PubsubV1beta1a::Subscription] subscription_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -115,9 +115,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes an existing subscription. All pending messages in the subscription
# are immediately dropped. Calls to Pull after deletion will return
# NOT_FOUND.
# Deletes an existing subscription. All pending messages in the subscription are
# immediately dropped. Calls to Pull after deletion will return NOT_FOUND.
# @param [String] subscription
# The subscription to delete.
# @param [String] fields
@ -181,8 +180,7 @@ module Google
# @param [Fixnum] max_results
# Maximum number of subscriptions to return.
# @param [String] page_token
# The value obtained in the last <code>ListSubscriptionsResponse</code>
# for continuation.
# The value obtained in the last ListSubscriptionsResponse for continuation.
# @param [String] query
# A valid label query expression.
# @param [String] fields
@ -244,11 +242,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Modifies the <code>PushConfig</code> for a specified subscription.
# This method can be used to suspend the flow of messages to an endpoint
# by clearing the <code>PushConfig</code> field in the request. Messages
# will be accumulated for delivery even if no push configuration is
# defined or while the configuration is modified.
# Modifies the PushConfig for a specified subscription. This method can be used
# to suspend the flow of messages to an endpoint by clearing the PushConfig
# field in the request. Messages will be accumulated for delivery even if no
# push configuration is defined or while the configuration is modified.
# @param [Google::Apis::PubsubV1beta1a::ModifyPushConfigRequest] modify_push_config_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -278,11 +275,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Pulls a single message from the server.
# If return_immediately is true, and no messages are available in the
# subscription, this method returns FAILED_PRECONDITION. The system is free
# to return an UNAVAILABLE error if no messages are available in a
# reasonable amount of time (to reduce system load).
# Pulls a single message from the server. If return_immediately is true, and no
# messages are available in the subscription, this method returns
# FAILED_PRECONDITION. The system is free to return an UNAVAILABLE error if no
# messages are available in a reasonable amount of time (to reduce system load).
# @param [Google::Apis::PubsubV1beta1a::PullRequest] pull_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -312,9 +308,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Pulls messages from the server. Returns an empty list if there are no
# messages available in the backlog. The system is free to return UNAVAILABLE
# if there are too many pull requests outstanding for the given subscription.
# Pulls messages from the server. Returns an empty list if there are no messages
# available in the backlog. The system is free to return UNAVAILABLE if there
# are too many pull requests outstanding for the given subscription.
# @param [Google::Apis::PubsubV1beta1a::PullBatchRequest] pull_batch_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -374,9 +370,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes the topic with the given name. Returns NOT_FOUND if the topic does
# not exist. After a topic is deleted, a new topic may be created with the
# same name.
# Deletes the topic with the given name. Returns NOT_FOUND if the topic does not
# exist. After a topic is deleted, a new topic may be created with the same name.
# @param [String] topic
# Name of the topic to delete.
# @param [String] fields
@ -406,9 +401,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the configuration of a topic. Since the topic only has the name
# attribute, this method is only useful to check the existence of a topic.
# If other attributes are added in the future, they will be returned here.
# Gets the configuration of a topic. Since the topic only has the name attribute,
# this method is only useful to check the existence of a topic. If other
# attributes are added in the future, they will be returned here.
# @param [String] topic
# The name of the topic to get.
# @param [String] fields
@ -442,8 +437,7 @@ module Google
# @param [Fixnum] max_results
# Maximum number of topics to return.
# @param [String] page_token
# The value obtained in the last <code>ListTopicsResponse</code>
# for continuation.
# The value obtained in the last ListTopicsResponse for continuation.
# @param [String] query
# A valid label query expression.
# @param [String] fields
@ -475,8 +469,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Adds a message to the topic. Returns NOT_FOUND if the topic does not
# exist.
# Adds a message to the topic. Returns NOT_FOUND if the topic does not exist.
# @param [Google::Apis::PubsubV1beta1a::PublishRequest] publish_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/pubsub/docs
module PubsubV1beta2
VERSION = 'V1beta2'
REVISION = '20200427'
REVISION = '20200807'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,8 +26,8 @@ module Google
class AcknowledgeRequest
include Google::Apis::Core::Hashable
# The acknowledgment ID for the messages being acknowledged that was returned
# by the Pub/Sub system in the `Pull` response. Must not be empty.
# The acknowledgment ID for the messages being acknowledged that was returned by
# the Pub/Sub system in the `Pull` response. Must not be empty.
# Corresponds to the JSON property `ackIds`
# @return [Array<String>]
attr_accessor :ack_ids
@ -46,69 +46,57 @@ module Google
class Binding
include Google::Apis::Core::Hashable
# Represents a textual expression in the Common Expression Language (CEL)
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
# are documented at https://github.com/google/cel-spec.
# Example (Comparison):
# title: "Summary size limit"
# description: "Determines if a summary is less than 100 chars"
# expression: "document.summary.size() < 100"
# Example (Equality):
# title: "Requestor is owner"
# description: "Determines if requestor is the document owner"
# expression: "document.owner == request.auth.claims.email"
# Example (Logic):
# title: "Public documents"
# description: "Determine whether the document should be publicly visible"
# expression: "document.type != 'private' && document.type != 'internal'"
# Example (Data Manipulation):
# title: "Notification string"
# description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)"
# The exact variables and functions that may be referenced within an expression
# are determined by the service that evaluates it. See the service
# documentation for additional information.
# Represents a textual expression in the Common Expression Language (CEL) syntax.
# CEL is a C-like expression language. The syntax and semantics of CEL are
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
# "Summary size limit" description: "Determines if a summary is less than 100
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
# Requestor is owner" description: "Determines if requestor is the document
# owner" expression: "document.owner == request.auth.claims.email" Example (
# Logic): title: "Public documents" description: "Determine whether the document
# should be publicly visible" expression: "document.type != 'private' &&
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
# string" description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)" The
# exact variables and functions that may be referenced within an expression are
# determined by the service that evaluates it. See the service documentation for
# additional information.
# Corresponds to the JSON property `condition`
# @return [Google::Apis::PubsubV1beta2::Expr]
attr_accessor :condition
# Specifies the identities requesting access for a Cloud Platform resource.
# `members` can have the following values:
# * `allUsers`: A special identifier that represents anyone who is
# on the internet; with or without a Google account.
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@example.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
# For example, `admins@example.com`.
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a user that has been recently deleted. For
# example, `alice@example.com?uid=123456789012345678901`. If the user is
# recovered, this value reverts to `user:`emailid`` and the recovered user
# retains the role in the binding.
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
# unique identifier) representing a service account that has been recently
# deleted. For example,
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
# If the service account is undeleted, this value reverts to
# `serviceAccount:`emailid`` and the undeleted service account retains the
# role in the binding.
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a Google group that has been recently
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
# the group is recovered, this value reverts to `group:`emailid`` and the
# recovered group retains the role in the binding.
# * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`.
# Specifies the identities requesting access for a Cloud Platform resource. `
# members` can have the following values: * `allUsers`: A special identifier
# that represents anyone who is on the internet; with or without a Google
# account. * `allAuthenticatedUsers`: A special identifier that represents
# anyone who is authenticated with a Google account or a service account. * `
# user:`emailid``: An email address that represents a specific Google account.
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
# address that represents a service account. For example, `my-other-app@appspot.
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
# `uniqueid``: An email address (plus unique identifier) representing a user
# that has been recently deleted. For example, `alice@example.com?uid=
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
# emailid`` and the recovered user retains the role in the binding. * `deleted:
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a service account that has been recently deleted. For
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
# If the service account is undeleted, this value reverts to `serviceAccount:`
# emailid`` and the undeleted service account retains the role in the binding. *
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a Google group that has been recently deleted. For
# example, `admins@example.com?uid=123456789012345678901`. If the group is
# recovered, this value reverts to `group:`emailid`` and the recovered group
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
# primary) that represents all the users of that domain. For example, `google.
# com` or `example.com`.
# Corresponds to the JSON property `members`
# @return [Array<String>]
attr_accessor :members
# Role that is assigned to `members`.
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
# , or `roles/owner`.
# Corresponds to the JSON property `role`
# @return [String]
attr_accessor :role
@ -125,13 +113,11 @@ module Google
end
end
# A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance:
# service Foo `
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
# `
# The JSON representation for `Empty` is empty JSON object ````.
# A generic empty message that you can re-use to avoid defining duplicated empty
# messages in your APIs. A typical example is to use it as the request or the
# response type of an API method. For instance: service Foo ` rpc Bar(google.
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
# `Empty` is empty JSON object ````.
class Empty
include Google::Apis::Core::Hashable
@ -144,52 +130,43 @@ module Google
end
end
# Represents a textual expression in the Common Expression Language (CEL)
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
# are documented at https://github.com/google/cel-spec.
# Example (Comparison):
# title: "Summary size limit"
# description: "Determines if a summary is less than 100 chars"
# expression: "document.summary.size() < 100"
# Example (Equality):
# title: "Requestor is owner"
# description: "Determines if requestor is the document owner"
# expression: "document.owner == request.auth.claims.email"
# Example (Logic):
# title: "Public documents"
# description: "Determine whether the document should be publicly visible"
# expression: "document.type != 'private' && document.type != 'internal'"
# Example (Data Manipulation):
# title: "Notification string"
# description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)"
# The exact variables and functions that may be referenced within an expression
# are determined by the service that evaluates it. See the service
# documentation for additional information.
# Represents a textual expression in the Common Expression Language (CEL) syntax.
# CEL is a C-like expression language. The syntax and semantics of CEL are
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
# "Summary size limit" description: "Determines if a summary is less than 100
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
# Requestor is owner" description: "Determines if requestor is the document
# owner" expression: "document.owner == request.auth.claims.email" Example (
# Logic): title: "Public documents" description: "Determine whether the document
# should be publicly visible" expression: "document.type != 'private' &&
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
# string" description: "Create a notification string with a timestamp."
# expression: "'New message received at ' + string(document.create_time)" The
# exact variables and functions that may be referenced within an expression are
# determined by the service that evaluates it. See the service documentation for
# additional information.
class Expr
include Google::Apis::Core::Hashable
# Optional. Description of the expression. This is a longer text which
# describes the expression, e.g. when hovered over it in a UI.
# Optional. Description of the expression. This is a longer text which describes
# the expression, e.g. when hovered over it in a UI.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Textual representation of an expression in Common Expression Language
# syntax.
# Textual representation of an expression in Common Expression Language syntax.
# Corresponds to the JSON property `expression`
# @return [String]
attr_accessor :expression
# Optional. String indicating the location of the expression for error
# reporting, e.g. a file name and a position in the file.
# Optional. String indicating the location of the expression for error reporting,
# e.g. a file name and a position in the file.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
# Optional. Title for the expression, i.e. a short string describing
# its purpose. This can be used e.g. in UIs which allow to enter the
# expression.
# Optional. Title for the expression, i.e. a short string describing its purpose.
# This can be used e.g. in UIs which allow to enter the expression.
# Corresponds to the JSON property `title`
# @return [String]
attr_accessor :title
@ -211,9 +188,9 @@ module Google
class ListSubscriptionsResponse
include Google::Apis::Core::Hashable
# If not empty, indicates that there may be more subscriptions that match
# the request; this value should be passed in a new
# `ListSubscriptionsRequest` to get more subscriptions.
# If not empty, indicates that there may be more subscriptions that match the
# request; this value should be passed in a new `ListSubscriptionsRequest` to
# get more subscriptions.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -238,9 +215,9 @@ module Google
class ListTopicSubscriptionsResponse
include Google::Apis::Core::Hashable
# If not empty, indicates that there may be more subscriptions that match
# the request; this value should be passed in a new
# `ListTopicSubscriptionsRequest` to get more subscriptions.
# If not empty, indicates that there may be more subscriptions that match the
# request; this value should be passed in a new `ListTopicSubscriptionsRequest`
# to get more subscriptions.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -265,8 +242,8 @@ module Google
class ListTopicsResponse
include Google::Apis::Core::Hashable
# If not empty, indicates that there may be more topics that match the
# request; this value should be passed in a new `ListTopicsRequest`.
# If not empty, indicates that there may be more topics that match the request;
# this value should be passed in a new `ListTopicsRequest`.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -291,17 +268,16 @@ module Google
class ModifyAckDeadlineRequest
include Google::Apis::Core::Hashable
# The new ack deadline with respect to the time this request was sent to
# the Pub/Sub system. Must be >= 0. For example, if the value is 10, the new
# ack deadline will expire 10 seconds after the `ModifyAckDeadline` call
# was made. Specifying zero may immediately make the message available for
# another pull request.
# The new ack deadline with respect to the time this request was sent to the Pub/
# Sub system. Must be >= 0. For example, if the value is 10, the new ack
# deadline will expire 10 seconds after the `ModifyAckDeadline` call was made.
# Specifying zero may immediately make the message available for another pull
# request.
# Corresponds to the JSON property `ackDeadlineSeconds`
# @return [Fixnum]
attr_accessor :ack_deadline_seconds
# The acknowledgment ID. Either this or ack_ids must be populated, but not
# both.
# The acknowledgment ID. Either this or ack_ids must be populated, but not both.
# Corresponds to the JSON property `ackId`
# @return [String]
attr_accessor :ack_id
@ -342,27 +318,25 @@ module Google
end
end
# Contains information needed for generating an
# [OpenID Connect
# token](https://developers.google.com/identity/protocols/OpenIDConnect).
# Contains information needed for generating an [OpenID Connect token](https://
# developers.google.com/identity/protocols/OpenIDConnect).
class OidcToken
include Google::Apis::Core::Hashable
# Audience to be used when generating OIDC token. The audience claim
# identifies the recipients that the JWT is intended for. The audience
# value is a single case-sensitive string. Having multiple values (array)
# for the audience field is not supported. More info about the OIDC JWT
# token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3
# Note: if not specified, the Push endpoint URL will be used.
# Audience to be used when generating OIDC token. The audience claim identifies
# the recipients that the JWT is intended for. The audience value is a single
# case-sensitive string. Having multiple values (array) for the audience field
# is not supported. More info about the OIDC JWT token audience here: https://
# tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, the Push
# endpoint URL will be used.
# Corresponds to the JSON property `audience`
# @return [String]
attr_accessor :audience
# [Service account
# email](https://cloud.google.com/iam/docs/service-accounts)
# to be used for generating the OIDC token. The caller (for
# CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must
# have the iam.serviceAccounts.actAs permission for the service account.
# [Service account email](https://cloud.google.com/iam/docs/service-accounts) to
# be used for generating the OIDC token. The caller (for CreateSubscription,
# UpdateSubscription, and ModifyPushConfig RPCs) must have the iam.
# serviceAccounts.actAs permission for the service account.
# Corresponds to the JSON property `serviceAccountEmail`
# @return [String]
attr_accessor :service_account_email
@ -379,111 +353,73 @@ module Google
end
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
# `members` to a single `role`. Members can be user accounts, service accounts,
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# For some types of Google Cloud resources, a `binding` can also specify a
# `condition`, which is a logical expression that allows access to a resource
# only if the expression evaluates to `true`. A condition can add constraints
# based on attributes of the request, the resource, or both. To learn which
# resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# **JSON example:**
# `
# "bindings": [
# `
# "role": "roles/resourcemanager.organizationAdmin",
# "members": [
# "user:mike@example.com",
# "group:admins@example.com",
# "domain:google.com",
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
# ]
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
# ",
# `
# `
# ],
# "etag": "BwWWja0YfJA=",
# "version": 3
# `
# **YAML example:**
# bindings:
# - members:
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/resourcemanager.organizationAdmin
# - members:
# - user:eve@example.com
# role: roles/resourcemanager.organizationViewer
# condition:
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# For a description of IAM and its features, see the
# [IAM documentation](https://cloud.google.com/iam/docs/).
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
# A `binding` binds one or more `members` to a single `role`. Members can be
# user accounts, service accounts, Google groups, and domains (such as G Suite).
# A `role` is a named list of permissions; each `role` can be an IAM predefined
# role or a user-created custom role. For some types of Google Cloud resources,
# a `binding` can also specify a `condition`, which is a logical expression that
# allows access to a resource only if the expression evaluates to `true`. A
# condition can add constraints based on attributes of the request, the resource,
# or both. To learn which resources support conditions in their IAM policies,
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
# title": "expirable access", "description": "Does not grant access after Sep
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
# members: - user:mike@example.com - group:admins@example.com - domain:google.
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
# roles/resourcemanager.organizationViewer condition: title: expirable access
# description: Does not grant access after Sep 2020 expression: request.time <
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
# description of IAM and its features, see the [IAM documentation](https://cloud.
# google.com/iam/docs/).
class Policy
include Google::Apis::Core::Hashable
# Associates a list of `members` to a `role`. Optionally, may specify a
# `condition` that determines how and when the `bindings` are applied. Each
# of the `bindings` must contain at least one member.
# Associates a list of `members` to a `role`. Optionally, may specify a `
# condition` that determines how and when the `bindings` are applied. Each of
# the `bindings` must contain at least one member.
# Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::PubsubV1beta2::Binding>]
attr_accessor :bindings
# `etag` is used for optimistic concurrency control as a way to help
# prevent simultaneous updates of a policy from overwriting each other.
# It is strongly suggested that systems make use of the `etag` in the
# read-modify-write cycle to perform policy updates in order to avoid race
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
# systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy.
# **Important:** If you use IAM Conditions, you must include the `etag` field
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
# you to overwrite a version `3` policy with a version `1` policy, and all of
# the conditions in the version `3` policy are lost.
# `etag` is used for optimistic concurrency control as a way to help prevent
# simultaneous updates of a policy from overwriting each other. It is strongly
# suggested that systems make use of the `etag` in the read-modify-write cycle
# to perform policy updates in order to avoid race conditions: An `etag` is
# returned in the response to `getIamPolicy`, and systems are expected to put
# that etag in the request to `setIamPolicy` to ensure that their change will be
# applied to the same version of the policy. **Important:** If you use IAM
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
# If you omit this field, then IAM allows you to overwrite a version `3` policy
# with a version `1` policy, and all of the conditions in the version `3` policy
# are lost.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :etag
# Specifies the format of the policy.
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
# are rejected.
# Any operation that affects conditional role bindings must specify version
# `3`. This requirement applies to the following operations:
# * Getting a policy that includes a conditional role binding
# * Adding a conditional role binding to a policy
# * Changing a conditional role binding in a policy
# * Removing any role binding, with or without a condition, from a policy
# that includes conditions
# **Important:** If you use IAM Conditions, you must include the `etag` field
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
# you to overwrite a version `3` policy with a version `1` policy, and all of
# the conditions in the version `3` policy are lost.
# If a policy does not include any conditions, operations on that policy may
# specify any valid version or leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
# Requests that specify an invalid value are rejected. Any operation that
# affects conditional role bindings must specify version `3`. This requirement
# applies to the following operations: * Getting a policy that includes a
# conditional role binding * Adding a conditional role binding to a policy *
# Changing a conditional role binding in a policy * Removing any role binding,
# with or without a condition, from a policy that includes conditions **
# Important:** If you use IAM Conditions, you must include the `etag` field
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
# to overwrite a version `3` policy with a version `1` policy, and all of the
# conditions in the version `3` policy are lost. If a policy does not include
# any conditions, operations on that policy may specify any valid version or
# leave the field unset. To learn which resources support conditions in their
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
# conditions/resource-policies).
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
@ -523,9 +459,8 @@ module Google
class PublishResponse
include Google::Apis::Core::Hashable
# The server-assigned ID of each published message, in the same order as
# the messages in the request. IDs are guaranteed to be unique within
# the topic.
# The server-assigned ID of each published message, in the same order as the
# messages in the request. IDs are guaranteed to be unique within the topic.
# Corresponds to the JSON property `messageIds`
# @return [Array<String>]
attr_accessor :message_ids
@ -540,8 +475,8 @@ module Google
end
end
# A message data and its attributes. The message payload must not be empty;
# it must contain either a non-empty data field, or at least one attribute.
# A message data and its attributes. The message payload must not be empty; it
# must contain either a non-empty data field, or at least one attribute.
class PubsubMessage
include Google::Apis::Core::Hashable
@ -550,8 +485,8 @@ module Google
# @return [Hash<String,String>]
attr_accessor :attributes
# The message payload. For JSON requests, the value of this field must be
# [base64-encoded](https://tools.ietf.org/html/rfc4648).
# The message payload. For JSON requests, the value of this field must be [
# base64-encoded](https://tools.ietf.org/html/rfc4648).
# Corresponds to the JSON property `data`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
@ -565,9 +500,9 @@ module Google
# @return [String]
attr_accessor :message_id
# The time at which the message was published, populated by the server when
# it receives the `Publish` call. It must not be populated by the
# publisher in a `Publish` call.
# The time at which the message was published, populated by the server when it
# receives the `Publish` call. It must not be populated by the publisher in a `
# Publish` call.
# Corresponds to the JSON property `publishTime`
# @return [String]
attr_accessor :publish_time
@ -589,20 +524,19 @@ module Google
class PullRequest
include Google::Apis::Core::Hashable
# The maximum number of messages returned for this request. The Pub/Sub
# system may return fewer than the number specified.
# The maximum number of messages returned for this request. The Pub/Sub system
# may return fewer than the number specified.
# Corresponds to the JSON property `maxMessages`
# @return [Fixnum]
attr_accessor :max_messages
# Optional. If this is specified as true the system will respond immediately
# even if
# it is not able to return a message in the `Pull` response. Otherwise the
# system is allowed to wait until at least one message is available rather
# than returning no messages. The client may cancel the request if it does
# not wish to wait any longer for the response. Warning: setting this field
# to `true` is discouraged because it adversely impacts the performance of
# `Pull` operations. We recommend that users do not set this field.
# even if it is not able to return a message in the `Pull` response. Otherwise
# the system is allowed to wait until at least one message is available rather
# than returning no messages. The client may cancel the request if it does not
# wish to wait any longer for the response. Warning: setting this field to `true`
# is discouraged because it adversely impacts the performance of `Pull`
# operations. We recommend that users do not set this field.
# Corresponds to the JSON property `returnImmediately`
# @return [Boolean]
attr_accessor :return_immediately
@ -645,36 +579,32 @@ module Google
class PushConfig
include Google::Apis::Core::Hashable
# Endpoint configuration attributes.
# Every endpoint has a set of API supported attributes that can be used to
# control different aspects of the message delivery.
# The currently supported attribute is `x-goog-version`, which you can
# use to change the format of the push message. This attribute
# indicates the version of the data expected by the endpoint. This
# controls the shape of the envelope (i.e. its fields and metadata).
# The endpoint version is based on the version of the Pub/Sub
# Endpoint configuration attributes. Every endpoint has a set of API supported
# attributes that can be used to control different aspects of the message
# delivery. The currently supported attribute is `x-goog-version`, which you can
# use to change the format of the push message. This attribute indicates the
# version of the data expected by the endpoint. This controls the shape of the
# envelope (i.e. its fields and metadata). The endpoint version is based on the
# version of the Pub/Sub API. If not present during the `CreateSubscription`
# call, it will default to the version of the API used to make such call. If not
# present during a `ModifyPushConfig` call, its value will not be changed. `
# GetSubscription` calls will always return a valid version, even if the
# subscription was created without this attribute. The possible values for this
# attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/
# Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub
# API.
# If not present during the `CreateSubscription` call, it will default to
# the version of the API used to make such call. If not present during a
# `ModifyPushConfig` call, its value will not be changed. `GetSubscription`
# calls will always return a valid version, even if the subscription was
# created without this attribute.
# The possible values for this attribute are:
# * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API.
# * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.
# Corresponds to the JSON property `attributes`
# @return [Hash<String,String>]
attr_accessor :attributes
# Contains information needed for generating an
# [OpenID Connect
# token](https://developers.google.com/identity/protocols/OpenIDConnect).
# Contains information needed for generating an [OpenID Connect token](https://
# developers.google.com/identity/protocols/OpenIDConnect).
# Corresponds to the JSON property `oidcToken`
# @return [Google::Apis::PubsubV1beta2::OidcToken]
attr_accessor :oidc_token
# A URL locating the endpoint to which messages should be pushed.
# For example, a Webhook endpoint might use "https://example.com/push".
# A URL locating the endpoint to which messages should be pushed. For example, a
# Webhook endpoint might use "https://example.com/push".
# Corresponds to the JSON property `pushEndpoint`
# @return [String]
attr_accessor :push_endpoint
@ -700,8 +630,8 @@ module Google
# @return [String]
attr_accessor :ack_id
# A message data and its attributes. The message payload must not be empty;
# it must contain either a non-empty data field, or at least one attribute.
# A message data and its attributes. The message payload must not be empty; it
# must contain either a non-empty data field, or at least one attribute.
# Corresponds to the JSON property `message`
# @return [Google::Apis::PubsubV1beta2::PubsubMessage]
attr_accessor :message
@ -722,66 +652,32 @@ module Google
include Google::Apis::Core::Hashable
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
# `members` to a single `role`. Members can be user accounts, service accounts,
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# For some types of Google Cloud resources, a `binding` can also specify a
# `condition`, which is a logical expression that allows access to a resource
# only if the expression evaluates to `true`. A condition can add constraints
# based on attributes of the request, the resource, or both. To learn which
# resources support conditions in their IAM policies, see the
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
# policies).
# **JSON example:**
# `
# "bindings": [
# `
# "role": "roles/resourcemanager.organizationAdmin",
# "members": [
# "user:mike@example.com",
# "group:admins@example.com",
# "domain:google.com",
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
# ]
# `,
# `
# "role": "roles/resourcemanager.organizationViewer",
# "members": [
# "user:eve@example.com"
# ],
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
# ",
# `
# `
# ],
# "etag": "BwWWja0YfJA=",
# "version": 3
# `
# **YAML example:**
# bindings:
# - members:
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
# role: roles/resourcemanager.organizationAdmin
# - members:
# - user:eve@example.com
# role: roles/resourcemanager.organizationViewer
# condition:
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# For a description of IAM and its features, see the
# [IAM documentation](https://cloud.google.com/iam/docs/).
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
# A `binding` binds one or more `members` to a single `role`. Members can be
# user accounts, service accounts, Google groups, and domains (such as G Suite).
# A `role` is a named list of permissions; each `role` can be an IAM predefined
# role or a user-created custom role. For some types of Google Cloud resources,
# a `binding` can also specify a `condition`, which is a logical expression that
# allows access to a resource only if the expression evaluates to `true`. A
# condition can add constraints based on attributes of the request, the resource,
# or both. To learn which resources support conditions in their IAM policies,
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
# title": "expirable access", "description": "Does not grant access after Sep
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
# members: - user:mike@example.com - group:admins@example.com - domain:google.
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
# roles/resourcemanager.organizationViewer condition: title: expirable access
# description: Does not grant access after Sep 2020 expression: request.time <
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
# description of IAM and its features, see the [IAM documentation](https://cloud.
# google.com/iam/docs/).
# Corresponds to the JSON property `policy`
# @return [Google::Apis::PubsubV1beta2::Policy]
attr_accessor :policy
@ -800,30 +696,28 @@ module Google
class Subscription
include Google::Apis::Core::Hashable
# This value is the maximum time after a subscriber receives a message
# before the subscriber should acknowledge the message. After message
# delivery but before the ack deadline expires and before the message is
# acknowledged, it is an outstanding message and will not be delivered
# again during that time (on a best-effort basis).
# For pull subscriptions, this value is used as the initial value for the ack
# deadline. To override this value for a given message, call
# `ModifyAckDeadline` with the corresponding `ack_id` if using pull.
# The maximum custom deadline you can specify is 600 seconds (10 minutes).
# For push delivery, this value is also used to set the request timeout for
# the call to the push endpoint.
# If the subscriber never acknowledges the message, the Pub/Sub
# system will eventually redeliver the message.
# If this parameter is 0, a default value of 10 seconds is used.
# This value is the maximum time after a subscriber receives a message before
# the subscriber should acknowledge the message. After message delivery but
# before the ack deadline expires and before the message is acknowledged, it is
# an outstanding message and will not be delivered again during that time (on a
# best-effort basis). For pull subscriptions, this value is used as the initial
# value for the ack deadline. To override this value for a given message, call `
# ModifyAckDeadline` with the corresponding `ack_id` if using pull. The maximum
# custom deadline you can specify is 600 seconds (10 minutes). For push delivery,
# this value is also used to set the request timeout for the call to the push
# endpoint. If the subscriber never acknowledges the message, the Pub/Sub system
# will eventually redeliver the message. If this parameter is 0, a default value
# of 10 seconds is used.
# Corresponds to the JSON property `ackDeadlineSeconds`
# @return [Fixnum]
attr_accessor :ack_deadline_seconds
# The name of the subscription. It must have the format
# `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must
# start with a letter, and contain only letters (`[A-Za-z]`), numbers
# (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
# plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters
# in length, and it must not start with `"goog"`.
# The name of the subscription. It must have the format `"projects/`project`/
# subscriptions/`subscription`"`. ``subscription`` must start with a letter, and
# contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%
# `). It must be between 3 and 255 characters in length, and it must not start
# with `"goog"`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -833,9 +727,8 @@ module Google
# @return [Google::Apis::PubsubV1beta2::PushConfig]
attr_accessor :push_config
# The name of the topic from which this subscription is receiving messages.
# The value of this field will be `_deleted-topic_` if the topic has been
# deleted.
# The name of the topic from which this subscription is receiving messages. The
# value of this field will be `_deleted-topic_` if the topic has been deleted.
# Corresponds to the JSON property `topic`
# @return [String]
attr_accessor :topic
@ -857,10 +750,9 @@ module Google
class TestIamPermissionsRequest
include Google::Apis::Core::Hashable
# The set of permissions to check for the `resource`. Permissions with
# wildcards (such as '*' or 'storage.*') are not allowed. For more
# information see
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
# The set of permissions to check for the `resource`. Permissions with wildcards
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
# Corresponds to the JSON property `permissions`
# @return [Array<String>]
attr_accessor :permissions
@ -879,8 +771,7 @@ module Google
class TestIamPermissionsResponse
include Google::Apis::Core::Hashable
# A subset of `TestPermissionsRequest.permissions` that the caller is
# allowed.
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
# Corresponds to the JSON property `permissions`
# @return [Array<String>]
attr_accessor :permissions
@ -899,12 +790,11 @@ module Google
class Topic
include Google::Apis::Core::Hashable
# The name of the topic. It must have the format
# `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter,
# and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
# signs (`%`). It must be between 3 and 255 characters in length, and it
# must not start with `"goog"`.
# The name of the topic. It must have the format `"projects/`project`/topics/`
# topic`"`. ``topic`` must start with a letter, and contain only letters (`[A-Za-
# z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`),
# tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255
# characters in length, and it must not start with `"goog"`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -47,12 +47,11 @@ module Google
@batch_path = 'batch'
end
# Acknowledges the messages associated with the `ack_ids` in the
# `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages
# from the subscription.
# Acknowledging a message whose ack deadline has expired may succeed,
# but such a message may be redelivered later. Acknowledging a message more
# than once will not result in an error.
# Acknowledges the messages associated with the `ack_ids` in the `
# AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages from
# the subscription. Acknowledging a message whose ack deadline has expired may
# succeed, but such a message may be redelivered later. Acknowledging a message
# more than once will not result in an error.
# @param [String] subscription
# The subscription whose message is being acknowledged.
# @param [Google::Apis::PubsubV1beta2::AcknowledgeRequest] acknowledge_request_object
@ -85,19 +84,18 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a subscription to a given topic.
# If the subscription already exists, returns `ALREADY_EXISTS`.
# If the corresponding topic doesn't exist, returns `NOT_FOUND`.
# If the name is not provided in the request, the server will assign a random
# name for this subscription on the same project as the topic. Note that
# for REST API requests, you must specify a name.
# Creates a subscription to a given topic. If the subscription already exists,
# returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `
# NOT_FOUND`. If the name is not provided in the request, the server will assign
# a random name for this subscription on the same project as the topic. Note
# that for REST API requests, you must specify a name.
# @param [String] name
# The name of the subscription. It must have the format
# `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must
# start with a letter, and contain only letters (`[A-Za-z]`), numbers
# (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),
# plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters
# in length, and it must not start with `"goog"`.
# The name of the subscription. It must have the format `"projects/`project`/
# subscriptions/`subscription`"`. ``subscription`` must start with a letter, and
# contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%
# `). It must be between 3 and 255 characters in length, and it must not start
# with `"goog"`.
# @param [Google::Apis::PubsubV1beta2::Subscription] subscription_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -128,11 +126,11 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes an existing subscription. All pending messages in the subscription
# are immediately dropped. Calls to `Pull` after deletion will return
# `NOT_FOUND`. After a subscription is deleted, a new one may be created with
# the same name, but the new one has no association with the old
# subscription, or its topic unless the same topic is specified.
# Deletes an existing subscription. All pending messages in the subscription are
# immediately dropped. Calls to `Pull` after deletion will return `NOT_FOUND`.
# After a subscription is deleted, a new one may be created with the same name,
# but the new one has no association with the old subscription, or its topic
# unless the same topic is specified.
# @param [String] subscription
# The subscription to delete.
# @param [String] fields
@ -192,22 +190,19 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the access control policy for a resource.
# Returns an empty policy if the resource exists and does not have a policy
# set.
# Gets the access control policy for a resource. Returns an empty policy if the
# resource exists and does not have a policy set.
# @param [String] resource
# REQUIRED: The resource for which the policy is being requested.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# Optional. The policy format version to be returned. Valid values are 0, 1, and
# 3. Requests specifying an invalid value will be rejected. Requests for
# policies with any conditional bindings must specify version 3. Policies
# without any conditional bindings may specify any valid value or leave the
# field unset. To learn which resources support conditions in their IAM policies,
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
# resource-policies).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -274,11 +269,11 @@ module Google
execute_or_queue_command(command, &block)
end
# Modifies the ack deadline for a specific message. This method is useful
# to indicate that more time is needed to process a message by the
# subscriber, or to make the message available for redelivery if the
# processing was interrupted. Note that this does not modify the
# subscription-level `ackDeadlineSeconds` used for subsequent messages.
# Modifies the ack deadline for a specific message. This method is useful to
# indicate that more time is needed to process a message by the subscriber, or
# to make the message available for redelivery if the processing was interrupted.
# Note that this does not modify the subscription-level `ackDeadlineSeconds`
# used for subsequent messages.
# @param [String] subscription
# The name of the subscription.
# @param [Google::Apis::PubsubV1beta2::ModifyAckDeadlineRequest] modify_ack_deadline_request_object
@ -311,11 +306,11 @@ module Google
execute_or_queue_command(command, &block)
end
# Modifies the `PushConfig` for a specified subscription.
# This may be used to change a push subscription to a pull one (signified by
# an empty `PushConfig`) or vice versa, or change the endpoint URL and other
# attributes of a push subscription. Messages will accumulate for delivery
# continuously through the call regardless of changes to the `PushConfig`.
# Modifies the `PushConfig` for a specified subscription. This may be used to
# change a push subscription to a pull one (signified by an empty `PushConfig`)
# or vice versa, or change the endpoint URL and other attributes of a push
# subscription. Messages will accumulate for delivery continuously through the
# call regardless of changes to the `PushConfig`.
# @param [String] subscription
# The name of the subscription.
# @param [Google::Apis::PubsubV1beta2::ModifyPushConfigRequest] modify_push_config_request_object
@ -348,10 +343,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Pulls messages from the server. Returns an empty list if there are no
# messages available in the backlog. The server may return `UNAVAILABLE` if
# there are too many concurrent pull requests pending for the given
# subscription.
# Pulls messages from the server. Returns an empty list if there are no messages
# available in the backlog. The server may return `UNAVAILABLE` if there are too
# many concurrent pull requests pending for the given subscription.
# @param [String] subscription
# The subscription from which messages should be pulled.
# @param [Google::Apis::PubsubV1beta2::PullRequest] pull_request_object
@ -385,11 +379,11 @@ module Google
end
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
# PERMISSION_DENIED` errors.
# @param [String] resource
# REQUIRED: The resource for which the policy is being specified.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::PubsubV1beta2::SetIamPolicyRequest] set_iam_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -420,15 +414,14 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# If the resource does not exist, this will return an empty set of
# permissions, not a `NOT_FOUND` error.
# Note: This operation is designed to be used for building permission-aware
# UIs and command-line tools, not for authorization checking. This operation
# may "fail open" without warning.
# Returns permissions that a caller has on the specified resource. If the
# resource does not exist, this will return an empty set of permissions, not a `
# NOT_FOUND` error. Note: This operation is designed to be used for building
# permission-aware UIs and command-line tools, not for authorization checking.
# This operation may "fail open" without warning.
# @param [String] resource
# REQUIRED: The resource for which the policy detail is being requested.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy detail is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::PubsubV1beta2::TestIamPermissionsRequest] test_iam_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -461,12 +454,11 @@ module Google
# Creates the given topic with the given name.
# @param [String] name
# The name of the topic. It must have the format
# `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter,
# and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent
# signs (`%`). It must be between 3 and 255 characters in length, and it
# must not start with `"goog"`.
# The name of the topic. It must have the format `"projects/`project`/topics/`
# topic`"`. ``topic`` must start with a letter, and contain only letters (`[A-Za-
# z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`),
# tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255
# characters in length, and it must not start with `"goog"`.
# @param [Google::Apis::PubsubV1beta2::Topic] topic_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -497,11 +489,11 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes the topic with the given name. Returns `NOT_FOUND` if the topic
# does not exist. After a topic is deleted, a new topic may be created with
# the same name; this is an entirely new topic with none of the old
# configuration or subscriptions. Existing subscriptions to this topic are
# not deleted, but their `topic` field is set to `_deleted-topic_`.
# Deletes the topic with the given name. Returns `NOT_FOUND` if the topic does
# not exist. After a topic is deleted, a new topic may be created with the same
# name; this is an entirely new topic with none of the old configuration or
# subscriptions. Existing subscriptions to this topic are not deleted, but their
# `topic` field is set to `_deleted-topic_`.
# @param [String] topic
# Name of the topic to delete.
# @param [String] fields
@ -561,22 +553,19 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the access control policy for a resource.
# Returns an empty policy if the resource exists and does not have a policy
# set.
# Gets the access control policy for a resource. Returns an empty policy if the
# resource exists and does not have a policy set.
# @param [String] resource
# REQUIRED: The resource for which the policy is being requested.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Requests for policies with any conditional bindings must specify version 3.
# Policies without any conditional bindings may specify any valid value or
# leave the field unset.
# To learn which resources support conditions in their IAM policies, see the
# [IAM
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
# Optional. The policy format version to be returned. Valid values are 0, 1, and
# 3. Requests specifying an invalid value will be rejected. Requests for
# policies with any conditional bindings must specify version 3. Policies
# without any conditional bindings may specify any valid value or leave the
# field unset. To learn which resources support conditions in their IAM policies,
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
# resource-policies).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -611,9 +600,9 @@ module Google
# @param [Fixnum] page_size
# Maximum number of topics to return.
# @param [String] page_token
# The value returned by the last `ListTopicsResponse`; indicates that this is
# a continuation of a prior `ListTopics` call, and that the system should
# return the next page of data.
# The value returned by the last `ListTopicsResponse`; indicates that this is a
# continuation of a prior `ListTopics` call, and that the system should return
# the next page of data.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -643,9 +632,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic
# does not exist. The message payload must not be empty; it must contain
# either a non-empty data field, or at least one attribute.
# Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does
# not exist. The message payload must not be empty; it must contain either a non-
# empty data field, or at least one attribute.
# @param [String] topic
# The messages in the request will be published on this topic.
# @param [Google::Apis::PubsubV1beta2::PublishRequest] publish_request_object
@ -679,11 +668,11 @@ module Google
end
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
# PERMISSION_DENIED` errors.
# @param [String] resource
# REQUIRED: The resource for which the policy is being specified.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::PubsubV1beta2::SetIamPolicyRequest] set_iam_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -714,15 +703,14 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns permissions that a caller has on the specified resource.
# If the resource does not exist, this will return an empty set of
# permissions, not a `NOT_FOUND` error.
# Note: This operation is designed to be used for building permission-aware
# UIs and command-line tools, not for authorization checking. This operation
# may "fail open" without warning.
# Returns permissions that a caller has on the specified resource. If the
# resource does not exist, this will return an empty set of permissions, not a `
# NOT_FOUND` error. Note: This operation is designed to be used for building
# permission-aware UIs and command-line tools, not for authorization checking.
# This operation may "fail open" without warning.
# @param [String] resource
# REQUIRED: The resource for which the policy detail is being requested.
# See the operation documentation for the appropriate value for this field.
# REQUIRED: The resource for which the policy detail is being requested. See the
# operation documentation for the appropriate value for this field.
# @param [Google::Apis::PubsubV1beta2::TestIamPermissionsRequest] test_iam_permissions_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -760,8 +748,8 @@ module Google
# Maximum number of subscription names to return.
# @param [String] page_token
# The value returned by the last `ListTopicSubscriptionsResponse`; indicates
# that this is a continuation of a prior `ListTopicSubscriptions` call, and
# that the system should return the next page of data.
# that this is a continuation of a prior `ListTopicSubscriptions` call, and that
# the system should return the next page of data.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/spanner/
module SpannerV1
VERSION = 'V1'
REVISION = '20200722'
REVISION = '20200807'
# 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

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/cloud-sql/
module SqlV1beta4
VERSION = 'V1beta4'
REVISION = '20200728'
REVISION = '20200805'
# 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

View File

@ -670,6 +670,7 @@ 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'
@ -1200,6 +1201,7 @@ module Google
property :project, as: 'project'
property :sqlserver_user_details, as: 'sqlserverUserDetails', class: Google::Apis::SqlV1beta4::SqlServerUserDetails, decorator: Google::Apis::SqlV1beta4::SqlServerUserDetails::Representation
property :type, as: 'type'
end
end

View File

@ -53,8 +53,7 @@ module Google
# @param [String] instance
# Cloud SQL instance ID. This does not include the project ID.
# @param [Fixnum] id
# The ID of the Backup Run to delete. To find a Backup Run ID, use the <a
# href="/sql/docs/db_path/admin-api/rest/v1beta4/backupRuns/list">list</a>
# The ID of the Backup Run to delete. To find a Backup Run ID, use the list
# method.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -121,8 +120,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a new backup run on demand. This method is applicable only to
# Second Generation instances.
# Creates a new backup run on demand. This method is applicable only to Second
# Generation instances.
# @param [String] project
# Project ID of the project that contains the instance.
# @param [String] instance
@ -272,8 +271,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Inserts a resource containing information about a database inside a Cloud
# SQL instance.
# Inserts a resource containing information about a database inside a Cloud SQL
# instance.
# @param [String] project
# Project ID of the project that contains the instance.
# @param [String] instance
@ -342,8 +341,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Partially updates a resource containing information about a database inside
# a Cloud SQL instance. This method supports patch semantics.
# Partially updates a resource containing information about a database inside a
# Cloud SQL instance. This method supports patch semantics.
# @param [String] project
# Project ID of the project that contains the instance.
# @param [String] instance
@ -382,8 +381,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates a resource containing information about a database inside a Cloud
# SQL instance.
# Updates a resource containing information about a database inside a Cloud SQL
# instance.
# @param [String] project
# Project ID of the project that contains the instance.
# @param [String] instance
@ -454,10 +453,10 @@ module Google
end
# Add a new trusted Certificate Authority (CA) version for the specified
# instance. Required to prepare for a certificate rotation. If a CA version
# was previously added but never used in a certificate rotation, this
# operation replaces that version. There cannot be more than one CA version
# waiting to be rotated in.
# instance. Required to prepare for a certificate rotation. If a CA version was
# previously added but never used in a certificate rotation, this operation
# replaces that version. There cannot be more than one CA version waiting to be
# rotated in.
# @param [String] project
# Project ID of the project that contains the instance.
# @param [String] instance
@ -495,8 +494,8 @@ module Google
# @param [String] project
# Project ID of the source as well as the clone Cloud SQL instance.
# @param [String] instance
# The ID of the Cloud SQL instance to be cloned (source). This does not
# include the project ID.
# The ID of the Cloud SQL instance to be cloned (source). This does not include
# the project ID.
# @param [Google::Apis::SqlV1beta4::InstancesCloneRequest] instances_clone_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -598,8 +597,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL
# dump or CSV file.
# Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump
# or CSV file.
# @param [String] project
# Project ID of the project that contains the instance to be exported.
# @param [String] instance
@ -635,8 +634,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Failover the instance to its failover replica instance. Using this
# operation might cause your instance to restart.
# Failover the instance to its failover replica instance. Using this operation
# might cause your instance to restart.
# @param [String] project
# ID of the project that contains the read replica.
# @param [String] instance
@ -705,8 +704,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Imports data into a Cloud SQL instance from a SQL dump or CSV file in
# Cloud Storage.
# Imports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud
# Storage.
# @param [String] project
# Project ID of the project that contains the instance.
# @param [String] instance
@ -780,14 +779,13 @@ module Google
# @param [String] project
# Project ID of the project for which to list Cloud SQL instances.
# @param [String] filter
# A filter expression that filters resources listed in the response.
# The expression is in the form of field:value. For example,
# 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per
# their JSON representation, such as 'settings.userLabels.auto_start:true'.
# Multiple filter queries are space-separated. For example.
# 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each
# expression is an AND expression. However, you can include AND and OR
# expressions explicitly.
# A filter expression that filters resources listed in the response. The
# expression is in the form of field:value. For example, 'instanceType:
# CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per their JSON
# representation, such as 'settings.userLabels.auto_start:true'. Multiple filter
# queries are space-separated. For example. 'state:RUNNABLE instanceType:
# CLOUD_SQL_INSTANCE'. By default, each expression is an AND expression. However,
# you can include AND and OR expressions explicitly.
# @param [Fixnum] max_results
# The maximum number of results to return per response.
# @param [String] page_token
@ -825,9 +823,9 @@ module Google
# Lists all of the trusted Certificate Authorities (CAs) for the specified
# instance. There can be up to three CAs listed: the CA that was used to sign
# the certificate that is currently in use, a CA that has been added but not
# yet used to sign a certificate, and a CA used to sign a certificate that
# has previously rotated out.
# the certificate that is currently in use, a CA that has been added but not yet
# used to sign a certificate, and a CA used to sign a certificate that has
# previously rotated out.
# @param [String] project
# Project ID of the project that contains the instance.
# @param [String] instance
@ -860,8 +858,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates settings of a Cloud SQL instance.
# This method supports patch semantics.
# Updates settings of a Cloud SQL instance. This method supports patch semantics.
# @param [String] project
# Project ID of the project that contains the instance.
# @param [String] instance
@ -931,8 +928,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes all client certificates and generates a new server SSL certificate
# for the instance.
# Deletes all client certificates and generates a new server SSL certificate for
# the instance.
# @param [String] project
# Project ID of the project that contains the instance.
# @param [String] instance
@ -1035,8 +1032,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Rotates the server certificate to one signed by the Certificate Authority
# (CA) version previously added with the addServerCA method.
# Rotates the server certificate to one signed by the Certificate Authority (CA)
# version previously added with the addServerCA method.
# @param [String] project
# Project ID of the project that contains the instance.
# @param [String] instance
@ -1244,8 +1241,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists all instance operations that have been performed on the given Cloud
# SQL instance in the reverse chronological order of the start time.
# Lists all instance operations that have been performed on the given Cloud SQL
# instance in the reverse chronological order of the start time.
# @param [String] project
# Project ID of the project that contains the instance.
# @param [String] instance
@ -1397,9 +1394,8 @@ module Google
end
# Generates a short-lived X509 certificate containing the provided public key
# and signed by a private key specific to the target instance. Users may use
# the certificate to authenticate as themselves when connecting to the
# database.
# and signed by a private key specific to the target instance. Users may use the
# certificate to authenticate as themselves when connecting to the database.
# @param [String] project
# Project ID of the Cloud SQL project.
# @param [String] instance
@ -1435,8 +1431,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes the SSL certificate. For First Generation instances, the
# certificate remains valid until the instance is restarted.
# Deletes the SSL certificate. For First Generation instances, the certificate
# remains valid until the instance is restarted.
# @param [String] project
# Project ID of the project that contains the instance.
# @param [String] instance
@ -1472,8 +1468,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves a particular SSL certificate. Does not include the private key
# (required for usage). The private key must be saved from the response to
# Retrieves a particular SSL certificate. Does not include the private key (
# required for usage). The private key must be saved from the response to
# initial creation.
# @param [String] project
# Project ID of the project that contains the instance.
@ -1511,8 +1507,8 @@ module Google
end
# Creates an SSL certificate and returns it along with the private key and
# server certificate authority. The new certificate will not be usable until
# the instance is restarted.
# server certificate authority. The new certificate will not be usable until the
# instance is restarted.
# @param [String] project
# Project ID of the project that contains the instance.
# @param [String] instance
@ -1581,9 +1577,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists all available machine types (tiers) for Cloud SQL, for example,
# db-n1-standard-1. For related information, see <a
# href="/sql/pricing">Pricing</a>.
# Lists all available machine types (tiers) for Cloud SQL, for example, db-n1-
# standard-1. For related information, see Pricing.
# @param [String] project
# Project ID of the project for which to list tiers.
# @param [String] fields