Autogenerated update (2020-10-16)

Update:
- analyticsadmin_v1alpha
- bigquery_v2
- container_v1
- displayvideo_v1
- drive_v2
- drive_v3
- people_v1
- servicenetworking_v1
- servicenetworking_v1beta
- storagetransfer_v1
- sts_v1beta
This commit is contained in:
Google APIs 2020-10-16 00:39:01 +00:00
parent b7e5fad8c1
commit 6022519cdb
29 changed files with 326 additions and 130 deletions

View File

@ -15053,6 +15053,10 @@
"/bigquery:v2/ListRoutinesResponse/nextPageToken": next_page_token "/bigquery:v2/ListRoutinesResponse/nextPageToken": next_page_token
"/bigquery:v2/ListRoutinesResponse/routines": routines "/bigquery:v2/ListRoutinesResponse/routines": routines
"/bigquery:v2/ListRoutinesResponse/routines/routine": routine "/bigquery:v2/ListRoutinesResponse/routines/routine": routine
"/bigquery:v2/ListRowAccessPoliciesResponse": list_row_access_policies_response
"/bigquery:v2/ListRowAccessPoliciesResponse/nextPageToken": next_page_token
"/bigquery:v2/ListRowAccessPoliciesResponse/rowAccessPolicies": row_access_policies
"/bigquery:v2/ListRowAccessPoliciesResponse/rowAccessPolicies/row_access_policy": row_access_policy
"/bigquery:v2/Location": location "/bigquery:v2/Location": location
"/bigquery:v2/LocationMetadata": location_metadata "/bigquery:v2/LocationMetadata": location_metadata
"/bigquery:v2/LocationMetadata/legacyLocationId": legacy_location_id "/bigquery:v2/LocationMetadata/legacyLocationId": legacy_location_id
@ -15219,6 +15223,12 @@
"/bigquery:v2/Row/actualLabel": actual_label "/bigquery:v2/Row/actualLabel": actual_label
"/bigquery:v2/Row/entries": entries "/bigquery:v2/Row/entries": entries
"/bigquery:v2/Row/entries/entry": entry "/bigquery:v2/Row/entries/entry": entry
"/bigquery:v2/RowAccessPolicy": row_access_policy
"/bigquery:v2/RowAccessPolicy/creationTime": creation_time
"/bigquery:v2/RowAccessPolicy/etag": etag
"/bigquery:v2/RowAccessPolicy/filterPredicate": filter_predicate
"/bigquery:v2/RowAccessPolicy/lastModifiedTime": last_modified_time
"/bigquery:v2/RowAccessPolicy/rowAccessPolicyReference": row_access_policy_reference
"/bigquery:v2/RowAccessPolicyReference": row_access_policy_reference "/bigquery:v2/RowAccessPolicyReference": row_access_policy_reference
"/bigquery:v2/RowAccessPolicyReference/datasetId": dataset_id "/bigquery:v2/RowAccessPolicyReference/datasetId": dataset_id
"/bigquery:v2/RowAccessPolicyReference/policyId": policy_id "/bigquery:v2/RowAccessPolicyReference/policyId": policy_id
@ -15540,6 +15550,12 @@
"/bigquery:v2/bigquery.routines.update/datasetId": dataset_id "/bigquery:v2/bigquery.routines.update/datasetId": dataset_id
"/bigquery:v2/bigquery.routines.update/projectId": project_id "/bigquery:v2/bigquery.routines.update/projectId": project_id
"/bigquery:v2/bigquery.routines.update/routineId": routine_id "/bigquery:v2/bigquery.routines.update/routineId": routine_id
"/bigquery:v2/bigquery.rowAccessPolicies.list": list_row_access_policies
"/bigquery:v2/bigquery.rowAccessPolicies.list/datasetId": dataset_id
"/bigquery:v2/bigquery.rowAccessPolicies.list/pageSize": page_size
"/bigquery:v2/bigquery.rowAccessPolicies.list/pageToken": page_token
"/bigquery:v2/bigquery.rowAccessPolicies.list/projectId": project_id
"/bigquery:v2/bigquery.rowAccessPolicies.list/tableId": table_id
"/bigquery:v2/bigquery.tabledata.insertAll": insert_all_table_data "/bigquery:v2/bigquery.tabledata.insertAll": insert_all_table_data
"/bigquery:v2/bigquery.tabledata.insertAll/datasetId": dataset_id "/bigquery:v2/bigquery.tabledata.insertAll/datasetId": dataset_id
"/bigquery:v2/bigquery.tabledata.insertAll/projectId": project_id "/bigquery:v2/bigquery.tabledata.insertAll/projectId": project_id
@ -141157,6 +141173,7 @@
"/storagetransfer:v1/TransferJob/deletionTime": deletion_time "/storagetransfer:v1/TransferJob/deletionTime": deletion_time
"/storagetransfer:v1/TransferJob/description": description "/storagetransfer:v1/TransferJob/description": description
"/storagetransfer:v1/TransferJob/lastModificationTime": last_modification_time "/storagetransfer:v1/TransferJob/lastModificationTime": last_modification_time
"/storagetransfer:v1/TransferJob/latestOperationName": latest_operation_name
"/storagetransfer:v1/TransferJob/name": name "/storagetransfer:v1/TransferJob/name": name
"/storagetransfer:v1/TransferJob/notificationConfig": notification_config "/storagetransfer:v1/TransferJob/notificationConfig": notification_config
"/storagetransfer:v1/TransferJob/projectId": project_id "/storagetransfer:v1/TransferJob/projectId": project_id

View File

@ -25,7 +25,7 @@ module Google
# @see http://code.google.com/apis/analytics/docs/mgmt/home.html # @see http://code.google.com/apis/analytics/docs/mgmt/home.html
module AnalyticsadminV1alpha module AnalyticsadminV1alpha
VERSION = 'V1alpha' VERSION = 'V1alpha'
REVISION = '20200924' REVISION = '20201015'
# Edit Google Analytics management entities # Edit Google Analytics management entities
AUTH_ANALYTICS_EDIT = 'https://www.googleapis.com/auth/analytics.edit' AUTH_ANALYTICS_EDIT = 'https://www.googleapis.com/auth/analytics.edit'

View File

@ -77,7 +77,7 @@ module Google
end end
# A virtual resource representing an overview of an account and all its child # A virtual resource representing an overview of an account and all its child
# App+Web properties. # GA4 properties.
class GoogleAnalyticsAdminV1alphaAccountSummary class GoogleAnalyticsAdminV1alphaAccountSummary
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -662,7 +662,7 @@ module Google
end end
end end
# A link between an App+Web property and a Firebase project. # A link between an GA4 property and a Firebase project.
class GoogleAnalyticsAdminV1alphaFirebaseLink class GoogleAnalyticsAdminV1alphaFirebaseLink
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -671,7 +671,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :create_time attr_accessor :create_time
# Maximum user access to the App + Web property allowed to admins of the linked # Maximum user access to the GA4 property allowed to admins of the linked
# Firebase project. # Firebase project.
# Corresponds to the JSON property `maximumUserAccess` # Corresponds to the JSON property `maximumUserAccess`
# @return [String] # @return [String]
@ -725,7 +725,7 @@ module Google
end end
end end
# A link between an App+Web property and a Google Ads account. # A link between an GA4 property and a Google Ads account.
class GoogleAnalyticsAdminV1alphaGoogleAdsLink class GoogleAnalyticsAdminV1alphaGoogleAdsLink
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1074,7 +1074,7 @@ module Google
end end
end end
# A resource message representing a Google Analytics App+Web property. # A resource message representing a Google Analytics GA4 property.
class GoogleAnalyticsAdminV1alphaProperty class GoogleAnalyticsAdminV1alphaProperty
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1152,7 +1152,7 @@ module Google
end end
end end
# A virtual resource representing metadata for an App+Web property. # A virtual resource representing metadata for an GA4 property.
class GoogleAnalyticsAdminV1alphaPropertySummary class GoogleAnalyticsAdminV1alphaPropertySummary
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -187,9 +187,8 @@ module Google
end end
# Returns all accounts accessible by the caller. Note that these accounts might # Returns all accounts accessible by the caller. Note that these accounts might
# not currently have App+Web properties. Soft-deleted (ie: "trashed") accounts # not currently have GA4 properties. Soft-deleted (ie: "trashed") accounts are
# are excluded by default. Returns an empty list if no relevant accounts are # excluded by default. Returns an empty list if no relevant accounts are found.
# found.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The maximum number of resources to return. The service may return fewer than # The maximum number of resources to return. The service may return fewer than
# this value, even if there are additional pages. If unspecified, at most 50 # this value, even if there are additional pages. If unspecified, at most 50
@ -653,7 +652,7 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Creates an "App+Web" property with the specified location and attributes. # Creates an "GA4" property with the specified location and attributes.
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] google_analytics_admin_v1alpha_property_object # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty] google_analytics_admin_v1alpha_property_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -689,7 +688,7 @@ module Google
# the expiration time, the Property and all child resources (eg: GoogleAdsLinks, # the expiration time, the Property and all child resources (eg: GoogleAdsLinks,
# Streams, UserLinks) will be permanently purged. https://support.google.com/ # Streams, UserLinks) will be permanently purged. https://support.google.com/
# analytics/answer/6154772 Returns an error if the target is not found, or is # analytics/answer/6154772 Returns an error if the target is not found, or is
# not an App+Web Property. # not an GA4 Property.
# @param [String] name # @param [String] name
# Required. The name of the Property to soft-delete. Format: properties/` # Required. The name of the Property to soft-delete. Format: properties/`
# property_id` Example: "properties/1000" # property_id` Example: "properties/1000"
@ -720,9 +719,9 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Lookup for a single "App+Web" Property. Throws "Target not found" if no such # Lookup for a single "GA4" Property. Throws "Target not found" if no such
# property found, if property is not of the type "App+Web", or if caller does # property found, if property is not of the type "GA4", or if caller does not
# not have permissions to access it. # have permissions to access it.
# @param [String] name # @param [String] name
# Required. The name of the property to lookup. Format: properties/`property_id` # Required. The name of the property to lookup. Format: properties/`property_id`
# Example: "properties/1000" # Example: "properties/1000"
@ -753,7 +752,7 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Returns child Properties under the specified parent Account. Only "App+Web" # Returns child Properties under the specified parent Account. Only "GA4"
# properties will be returned. Properties will be excluded if the caller does # properties will be returned. Properties will be excluded if the caller does
# not have access. Soft-deleted (ie: "trashed") properties are excluded by # not have access. Soft-deleted (ie: "trashed") properties are excluded by
# default. Returns an empty list if no relevant properties are found. # default. Returns an empty list if no relevant properties are found.

View File

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

View File

@ -4069,6 +4069,31 @@ module Google
end end
end end
# Response message for the ListRowAccessPolicies method.
class ListRowAccessPoliciesResponse
include Google::Apis::Core::Hashable
# A token to request the next page of results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# Row access policies on the requested table.
# Corresponds to the JSON property `rowAccessPolicies`
# @return [Array<Google::Apis::BigqueryV2::RowAccessPolicy>]
attr_accessor :row_access_policies
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@row_access_policies = args[:row_access_policies] if args.key?(:row_access_policies)
end
end
# BigQuery-specific metadata about a location. This will be set on google.cloud. # BigQuery-specific metadata about a location. This will be set on google.cloud.
# location.Location.metadata in Cloud Location API responses. # location.Location.metadata in Cloud Location API responses.
class LocationMetadata class LocationMetadata
@ -5294,6 +5319,56 @@ module Google
end end
end end
# Represents access on a subset of rows on the specified table, defined by its
# filter predicate. Access to the subset of rows is controlled by its IAM policy.
class RowAccessPolicy
include Google::Apis::Core::Hashable
# Output only. The time when this row access policy was created, in milliseconds
# since the epoch.
# Corresponds to the JSON property `creationTime`
# @return [String]
attr_accessor :creation_time
# Output only. A hash of this resource.
# Corresponds to the JSON property `etag`
# @return [String]
attr_accessor :etag
# Required. A SQL boolean expression that represents the rows defined by this
# row access policy, similar to the boolean expression in a WHERE clause of a
# SELECT query on a table. References to other tables, routines, and temporary
# functions are not supported. Examples: region="EU" date_field = CAST('2019-9-
# 27' as DATE) nullable_field is not NULL numeric_field BETWEEN 1.0 AND 5.0
# Corresponds to the JSON property `filterPredicate`
# @return [String]
attr_accessor :filter_predicate
# Output only. The time when this row access policy was last modified, in
# milliseconds since the epoch.
# Corresponds to the JSON property `lastModifiedTime`
# @return [String]
attr_accessor :last_modified_time
# Required. Reference describing the ID of this row access policy.
# Corresponds to the JSON property `rowAccessPolicyReference`
# @return [Google::Apis::BigqueryV2::RowAccessPolicyReference]
attr_accessor :row_access_policy_reference
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@creation_time = args[:creation_time] if args.key?(:creation_time)
@etag = args[:etag] if args.key?(:etag)
@filter_predicate = args[:filter_predicate] if args.key?(:filter_predicate)
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
@row_access_policy_reference = args[:row_access_policy_reference] if args.key?(:row_access_policy_reference)
end
end
# #
class RowAccessPolicyReference class RowAccessPolicyReference
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -5798,11 +5873,11 @@ module Google
attr_accessor :time_partitioning attr_accessor :time_partitioning
# [Output-only] Describes the table type. The following values are supported: # [Output-only] Describes the table type. The following values are supported:
# TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query. [ # TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query.
# TrustedTester] SNAPSHOT: An immutable, read-only table that is a copy of # SNAPSHOT: An immutable, read-only table that is a copy of another table. [
# another table. [TrustedTester] MATERIALIZED_VIEW: SQL query whose result is # TrustedTester] MATERIALIZED_VIEW: SQL query whose result is persisted.
# persisted. EXTERNAL: A table that references data stored in an external # EXTERNAL: A table that references data stored in an external storage system,
# storage system, such as Google Cloud Storage. The default value is TABLE. # such as Google Cloud Storage. The default value is TABLE.
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
# @return [String] # @return [String]
attr_accessor :type attr_accessor :type

View File

@ -454,6 +454,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ListRowAccessPoliciesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LocationMetadata class LocationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -604,6 +610,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class RowAccessPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RowAccessPolicyReference class RowAccessPolicyReference
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1763,6 +1775,15 @@ module Google
end end
end end
class ListRowAccessPoliciesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :row_access_policies, as: 'rowAccessPolicies', class: Google::Apis::BigqueryV2::RowAccessPolicy, decorator: Google::Apis::BigqueryV2::RowAccessPolicy::Representation
end
end
class LocationMetadata class LocationMetadata
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -2064,6 +2085,18 @@ module Google
end end
end end
class RowAccessPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_time, as: 'creationTime'
property :etag, as: 'etag'
property :filter_predicate, as: 'filterPredicate'
property :last_modified_time, as: 'lastModifiedTime'
property :row_access_policy_reference, as: 'rowAccessPolicyReference', class: Google::Apis::BigqueryV2::RowAccessPolicyReference, decorator: Google::Apis::BigqueryV2::RowAccessPolicyReference::Representation
end
end
class RowAccessPolicyReference class RowAccessPolicyReference
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -1028,6 +1028,52 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Lists all row access policies on the specified table.
# @param [String] project_id
# Required. Project ID of the row access policies to list.
# @param [String] dataset_id
# Required. Dataset ID of row access policies to list.
# @param [String] table_id
# Required. Table ID of the table to list row access policies.
# @param [Fixnum] page_size
# The maximum number of results to return in a single response page. Leverage
# the page tokens to iterate through the entire collection.
# @param [String] page_token
# Page token, returned by a previous call, to request the next page of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::BigqueryV2::ListRowAccessPoliciesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::BigqueryV2::ListRowAccessPoliciesResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_row_access_policies(project_id, dataset_id, table_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/rowAccessPolicies', options)
command.response_representation = Google::Apis::BigqueryV2::ListRowAccessPoliciesResponse::Representation
command.response_class = Google::Apis::BigqueryV2::ListRowAccessPoliciesResponse
command.params['projectId'] = project_id unless project_id.nil?
command.params['datasetId'] = dataset_id unless dataset_id.nil?
command.params['tableId'] = table_id unless table_id.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Streams data into BigQuery one record at a time without needing to run a load # Streams data into BigQuery one record at a time without needing to run a load
# job. Requires the WRITER dataset role. # job. Requires the WRITER dataset role.
# @param [String] project_id # @param [String] project_id

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/ # @see https://cloud.google.com/container-engine/
module ContainerV1 module ContainerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200828' REVISION = '20201007'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -579,7 +579,14 @@ module Google
attr_accessor :location attr_accessor :location
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
# docs/zones#available) in which the cluster's nodes should be located. # docs/zones#available) in which the cluster's nodes should be located. This
# field provides a default value if [NodePool.Locations](https://cloud.google.
# com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.
# nodePools#NodePool.FIELDS.locations) are not specified during node pool
# creation. Warning: changing cluster locations will update the [NodePool.
# Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/
# projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node
# pools and will result in nodes being added and/or removed.
# Corresponds to the JSON property `locations` # Corresponds to the JSON property `locations`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :locations attr_accessor :locations
@ -905,9 +912,9 @@ module Google
# The desired list of Google Compute Engine [zones](https://cloud.google.com/ # The desired list of Google Compute Engine [zones](https://cloud.google.com/
# compute/docs/zones#available) in which the cluster's nodes should be located. # compute/docs/zones#available) in which the cluster's nodes should be located.
# Changing the locations a cluster is in will result in nodes being either # This list must always include the cluster's primary zone. Warning: changing
# created or removed from the cluster, depending on whether locations are being # cluster locations will update the locations of all node pools and will result
# added or removed. This list must always include the cluster's primary zone. # in nodes being added and/or removed.
# Corresponds to the JSON property `desiredLocations` # Corresponds to the JSON property `desiredLocations`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :desired_locations attr_accessor :desired_locations
@ -2240,11 +2247,12 @@ module Google
# - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - " # - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "
# instance-template" - "kube-env" - "startup-script" - "user-data" - "disable- # instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-
# address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node- # address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-
# setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" - "serial-port-logging- # setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" The following keys are
# enable" Values are free-form strings, and only have meaning as interpreted by # reserved for Windows nodes: - "serial-port-logging-enable" Values are free-
# the image running in the instance. The only restriction placed on them is that # form strings, and only have meaning as interpreted by the image running in the
# each value's size must be less than or equal to 32 KB. The total size of all # instance. The only restriction placed on them is that each value's size must
# keys and values must be less than 512 KB. # be less than or equal to 32 KB. The total size of all keys and values must be
# less than 512 KB.
# Corresponds to the JSON property `metadata` # Corresponds to the JSON property `metadata`
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :metadata attr_accessor :metadata
@ -2442,7 +2450,11 @@ module Google
attr_accessor :instance_group_urls attr_accessor :instance_group_urls
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
# docs/zones#available) in which the NodePool's nodes should be located. # docs/zones#available) in which the NodePool's nodes should be located. If this
# value is unspecified during node pool creation, the [Cluster.Locations](https:/
# /cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.
# clusters#Cluster.FIELDS.locations) value will be used, instead. Warning:
# changing node pool locations will result in nodes being added and/or removed.
# Corresponds to the JSON property `locations` # Corresponds to the JSON property `locations`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :locations attr_accessor :locations

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/display-video/ # @see https://developers.google.com/display-video/
module DisplayvideoV1 module DisplayvideoV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20201013' REVISION = '20201015'
# Create, see, edit, and permanently delete your Display & Video 360 entities and reports # Create, see, edit, and permanently delete your Display & Video 360 entities and reports
AUTH_DISPLAY_VIDEO = 'https://www.googleapis.com/auth/display-video' AUTH_DISPLAY_VIDEO = 'https://www.googleapis.com/auth/display-video'

View File

@ -4617,14 +4617,14 @@ module Google
# expressions are made up of one or more restrictions. * Restrictions can be # expressions are made up of one or more restrictions. * Restrictions can be
# combined by `OR` logical operators. * A restriction has the form of ``field` ` # combined by `OR` logical operators. * A restriction has the form of ``field` `
# operator` `value``. * The operator must be "=" (equal sign). * Supported # operator` `value``. * The operator must be "=" (equal sign). * Supported
# fields: - `carrier_and_isp_details.type` - `geo_region_details.geo_region_type` # fields: - `carrierAndIspDetails.type` - `geoRegionDetails.geoRegionType` - `
# - `targetingOptionId` Examples: * All `GEO REGION` targeting options that # targetingOptionId` Examples: * All `GEO REGION` targeting options that belong
# belong to sub type `GEO_REGION_TYPE_COUNTRY` or `GEO_REGION_TYPE_STATE`: ` # to sub type `GEO_REGION_TYPE_COUNTRY` or `GEO_REGION_TYPE_STATE`: `
# geo_region_details.geo_region_type="GEO_REGION_TYPE_COUNTRY" OR # geoRegionDetails.geoRegionType="GEO_REGION_TYPE_COUNTRY" OR geoRegionDetails.
# geo_region_details.geo_region_type="GEO_REGION_TYPE_STATE"` * All `CARRIER AND # geoRegionType="GEO_REGION_TYPE_STATE"` * All `CARRIER AND ISP` targeting
# ISP` targeting options that belong to sub type `CARRIER_AND_ISP_TYPE_CARRIER`: # options that belong to sub type `CARRIER_AND_ISP_TYPE_CARRIER`: `
# `carrier_and_isp_details.type="CARRIER_AND_ISP_TYPE_CARRIER"`. The length of # carrierAndIspDetails.type="CARRIER_AND_ISP_TYPE_CARRIER"`. The length of this
# this field should be no more than 500 characters. # field should be no more than 500 characters.
# @param [String] order_by # @param [String] order_by
# Field by which to sort the list. Acceptable values are: * `targetingOptionId` ( # Field by which to sort the list. Acceptable values are: * `targetingOptionId` (
# default) The default sorting order is ascending. To specify descending order # default) The default sorting order is ascending. To specify descending order

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/ # @see https://developers.google.com/drive/
module DriveV2 module DriveV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20201004' REVISION = '20201012'
# See, edit, create, and delete all of your Google Drive files # See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -2120,6 +2120,8 @@ module Google
# A short-lived link to the file's thumbnail. Typically lasts on the order of # A short-lived link to the file's thumbnail. Typically lasts on the order of
# hours. Only populated when the requesting app can access the file's content. # hours. Only populated when the requesting app can access the file's content.
# If the file isn't shared publicly, the URL returned in Files.thumbnailLink
# must be fetched using a credentialed request.
# Corresponds to the JSON property `thumbnailLink` # Corresponds to the JSON property `thumbnailLink`
# @return [String] # @return [String]
attr_accessor :thumbnail_link attr_accessor :thumbnail_link

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/drive/ # @see https://developers.google.com/drive/
module DriveV3 module DriveV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20201004' REVISION = '20201012'
# See, edit, create, and delete all of your Google Drive files # See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -1278,7 +1278,8 @@ module Google
# A short-lived link to the file's thumbnail, if available. Typically lasts on # A short-lived link to the file's thumbnail, if available. Typically lasts on
# the order of hours. Only populated when the requesting app can access the file' # the order of hours. Only populated when the requesting app can access the file'
# s content. # s content. If the file isn't shared publicly, the URL returned in Files.
# thumbnailLink must be fetched using a credentialed request.
# Corresponds to the JSON property `thumbnailLink` # Corresponds to the JSON property `thumbnailLink`
# @return [String] # @return [String]
attr_accessor :thumbnail_link attr_accessor :thumbnail_link

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/people/ # @see https://developers.google.com/people/
module PeopleV1 module PeopleV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20201006' REVISION = '20201013'
# See, edit, download, and permanently delete your contacts # See, edit, download, and permanently delete your contacts
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'

View File

@ -193,14 +193,14 @@ module Google
class Birthday class Birthday
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Represents a whole or partial calendar date, e.g. a birthday. The time of day # Represents a whole or partial calendar date, such as a birthday. The time of
# and time zone are either specified elsewhere or are not significant. The date # day and time zone are either specified elsewhere or are insignificant. The
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full # date is relative to the Gregorian Calendar. This can represent one of the
# date, with non-zero year, month and day values * A month and day value, with a # following: * A full date, with non-zero year, month, and day values * A month
# zero year, e.g. an anniversary * A year on its own, with zero month and day # and day value, with a zero year, such as an anniversary * A year on its own,
# values * A year and month value, with a zero day, e.g. a credit card # with zero month and day values * A year and month value, with a zero day, such
# expiration date Related types are google.type.TimeOfDay and `google.protobuf. # as a credit card expiration date Related types are google.type.TimeOfDay and `
# Timestamp`. # google.protobuf.Timestamp`.
# Corresponds to the JSON property `date` # Corresponds to the JSON property `date`
# @return [Google::Apis::PeopleV1::Date] # @return [Google::Apis::PeopleV1::Date]
attr_accessor :date attr_accessor :date
@ -580,31 +580,31 @@ module Google
end end
end end
# Represents a whole or partial calendar date, e.g. a birthday. The time of day # Represents a whole or partial calendar date, such as a birthday. The time of
# and time zone are either specified elsewhere or are not significant. The date # day and time zone are either specified elsewhere or are insignificant. The
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full # date is relative to the Gregorian Calendar. This can represent one of the
# date, with non-zero year, month and day values * A month and day value, with a # following: * A full date, with non-zero year, month, and day values * A month
# zero year, e.g. an anniversary * A year on its own, with zero month and day # and day value, with a zero year, such as an anniversary * A year on its own,
# values * A year and month value, with a zero day, e.g. a credit card # with zero month and day values * A year and month value, with a zero day, such
# expiration date Related types are google.type.TimeOfDay and `google.protobuf. # as a credit card expiration date Related types are google.type.TimeOfDay and `
# Timestamp`. # google.protobuf.Timestamp`.
class Date class Date
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
# specifying a year by itself or a year and month where the day is not # specify a year by itself or a year and month where the day isn't significant.
# significant.
# Corresponds to the JSON property `day` # Corresponds to the JSON property `day`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :day attr_accessor :day
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a month # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
# and day. # and day.
# Corresponds to the JSON property `month` # Corresponds to the JSON property `month`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :month attr_accessor :month
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year. # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
# year.
# Corresponds to the JSON property `year` # Corresponds to the JSON property `year`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :year attr_accessor :year
@ -729,14 +729,14 @@ module Google
class Event class Event
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Represents a whole or partial calendar date, e.g. a birthday. The time of day # Represents a whole or partial calendar date, such as a birthday. The time of
# and time zone are either specified elsewhere or are not significant. The date # day and time zone are either specified elsewhere or are insignificant. The
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full # date is relative to the Gregorian Calendar. This can represent one of the
# date, with non-zero year, month and day values * A month and day value, with a # following: * A full date, with non-zero year, month, and day values * A month
# zero year, e.g. an anniversary * A year on its own, with zero month and day # and day value, with a zero year, such as an anniversary * A year on its own,
# values * A year and month value, with a zero day, e.g. a credit card # with zero month and day values * A year and month value, with a zero day, such
# expiration date Related types are google.type.TimeOfDay and `google.protobuf. # as a credit card expiration date Related types are google.type.TimeOfDay and `
# Timestamp`. # google.protobuf.Timestamp`.
# Corresponds to the JSON property `date` # Corresponds to the JSON property `date`
# @return [Google::Apis::PeopleV1::Date] # @return [Google::Apis::PeopleV1::Date]
attr_accessor :date attr_accessor :date
@ -1559,14 +1559,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :domain attr_accessor :domain
# Represents a whole or partial calendar date, e.g. a birthday. The time of day # Represents a whole or partial calendar date, such as a birthday. The time of
# and time zone are either specified elsewhere or are not significant. The date # day and time zone are either specified elsewhere or are insignificant. The
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full # date is relative to the Gregorian Calendar. This can represent one of the
# date, with non-zero year, month and day values * A month and day value, with a # following: * A full date, with non-zero year, month, and day values * A month
# zero year, e.g. an anniversary * A year on its own, with zero month and day # and day value, with a zero year, such as an anniversary * A year on its own,
# values * A year and month value, with a zero day, e.g. a credit card # with zero month and day values * A year and month value, with a zero day, such
# expiration date Related types are google.type.TimeOfDay and `google.protobuf. # as a credit card expiration date Related types are google.type.TimeOfDay and `
# Timestamp`. # google.protobuf.Timestamp`.
# Corresponds to the JSON property `endDate` # Corresponds to the JSON property `endDate`
# @return [Google::Apis::PeopleV1::Date] # @return [Google::Apis::PeopleV1::Date]
attr_accessor :end_date attr_accessor :end_date
@ -1602,14 +1602,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :phonetic_name attr_accessor :phonetic_name
# Represents a whole or partial calendar date, e.g. a birthday. The time of day # Represents a whole or partial calendar date, such as a birthday. The time of
# and time zone are either specified elsewhere or are not significant. The date # day and time zone are either specified elsewhere or are insignificant. The
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full # date is relative to the Gregorian Calendar. This can represent one of the
# date, with non-zero year, month and day values * A month and day value, with a # following: * A full date, with non-zero year, month, and day values * A month
# zero year, e.g. an anniversary * A year on its own, with zero month and day # and day value, with a zero year, such as an anniversary * A year on its own,
# values * A year and month value, with a zero day, e.g. a credit card # with zero month and day values * A year and month value, with a zero day, such
# expiration date Related types are google.type.TimeOfDay and `google.protobuf. # as a credit card expiration date Related types are google.type.TimeOfDay and `
# Timestamp`. # google.protobuf.Timestamp`.
# Corresponds to the JSON property `startDate` # Corresponds to the JSON property `startDate`
# @return [Google::Apis::PeopleV1::Date] # @return [Google::Apis::PeopleV1::Date]
attr_accessor :start_date attr_accessor :start_date

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1 module ServicenetworkingV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20201012' REVISION = '20201014'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -515,7 +515,8 @@ module Google
class AuthenticationRule class AuthenticationRule
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# If true, the service accepts API keys without any other credential. # If true, the service accepts API keys without any other credential. This flag
# only applies to HTTP and gRPC requests.
# Corresponds to the JSON property `allowWithoutCredential` # Corresponds to the JSON property `allowWithoutCredential`
# @return [Boolean] # @return [Boolean]
attr_accessor :allow_without_credential attr_accessor :allow_without_credential
@ -2796,7 +2797,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :member attr_accessor :member
# Required. Role to apply. Only whitelisted roles can be used at the specified # Required. Role to apply. Only allowlisted roles can be used at the specified
# granularity. The role must be one of the following: - 'roles/container. # granularity. The role must be one of the following: - 'roles/container.
# hostServiceAgentUser' applied on the shared VPC host project - 'roles/compute. # hostServiceAgentUser' applied on the shared VPC host project - 'roles/compute.
# securityAdmin' applied on the shared VPC host project # securityAdmin' applied on the shared VPC host project

View File

@ -816,8 +816,8 @@ module Google
# Service producers can use this method to add roles in the shared VPC host # Service producers can use this method to add roles in the shared VPC host
# project. Each role is bound to the provided member. Each role must be selected # project. Each role is bound to the provided member. Each role must be selected
# from within a whitelisted set of roles. Each role is applied at only the # from within an allowlisted set of roles. Each role is applied at only the
# granularity specified in the whitelist. # granularity specified in the allowlist.
# @param [String] parent # @param [String] parent
# Required. This is in a form services/`service` where `service` is the name of # Required. This is in a form services/`service` where `service` is the name of
# the private access management service. For example 'service-peering.example. # the private access management service. For example 'service-peering.example.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1beta module ServicenetworkingV1beta
VERSION = 'V1beta' VERSION = 'V1beta'
REVISION = '20201012' REVISION = '20201014'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -414,7 +414,8 @@ module Google
class AuthenticationRule class AuthenticationRule
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# If true, the service accepts API keys without any other credential. # If true, the service accepts API keys without any other credential. This flag
# only applies to HTTP and gRPC requests.
# Corresponds to the JSON property `allowWithoutCredential` # Corresponds to the JSON property `allowWithoutCredential`
# @return [Boolean] # @return [Boolean]
attr_accessor :allow_without_credential attr_accessor :allow_without_credential
@ -2555,7 +2556,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :member attr_accessor :member
# Required. Role to apply. Only whitelisted roles can be used at the specified # Required. Role to apply. Only allowlisted roles can be used at the specified
# granularity. The role must be one of the following: - 'roles/container. # granularity. The role must be one of the following: - 'roles/container.
# hostServiceAgentUser' applied on the shared VPC host project - 'roles/compute. # hostServiceAgentUser' applied on the shared VPC host project - 'roles/compute.
# securityAdmin' applied on the shared VPC host project # securityAdmin' applied on the shared VPC host project

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/storage-transfer/docs # @see https://cloud.google.com/storage-transfer/docs
module StoragetransferV1 module StoragetransferV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20201001' REVISION = '20201013'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -882,6 +882,13 @@ module Google
# @return [String] # @return [String]
attr_accessor :last_modification_time attr_accessor :last_modification_time
# The name of the most recently started TransferOperation of this JobConfig.
# Present if and only if at least one TransferOperation has been created for
# this JobConfig.
# Corresponds to the JSON property `latestOperationName`
# @return [String]
attr_accessor :latest_operation_name
# A unique name (within the transfer project) assigned when the job is created. # A unique name (within the transfer project) assigned when the job is created.
# If this field is empty in a CreateTransferJobRequest, Storage Transfer Service # If this field is empty in a CreateTransferJobRequest, Storage Transfer Service
# will assign a unique name. Otherwise, the specified name is used as the unique # will assign a unique name. Otherwise, the specified name is used as the unique
@ -941,6 +948,7 @@ module Google
@deletion_time = args[:deletion_time] if args.key?(:deletion_time) @deletion_time = args[:deletion_time] if args.key?(:deletion_time)
@description = args[:description] if args.key?(:description) @description = args[:description] if args.key?(:description)
@last_modification_time = args[:last_modification_time] if args.key?(:last_modification_time) @last_modification_time = args[:last_modification_time] if args.key?(:last_modification_time)
@latest_operation_name = args[:latest_operation_name] if args.key?(:latest_operation_name)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@notification_config = args[:notification_config] if args.key?(:notification_config) @notification_config = args[:notification_config] if args.key?(:notification_config)
@project_id = args[:project_id] if args.key?(:project_id) @project_id = args[:project_id] if args.key?(:project_id)

View File

@ -407,6 +407,7 @@ module Google
property :deletion_time, as: 'deletionTime' property :deletion_time, as: 'deletionTime'
property :description, as: 'description' property :description, as: 'description'
property :last_modification_time, as: 'lastModificationTime' property :last_modification_time, as: 'lastModificationTime'
property :latest_operation_name, as: 'latestOperationName'
property :name, as: 'name' property :name, as: 'name'
property :notification_config, as: 'notificationConfig', class: Google::Apis::StoragetransferV1::NotificationConfig, decorator: Google::Apis::StoragetransferV1::NotificationConfig::Representation property :notification_config, as: 'notificationConfig', class: Google::Apis::StoragetransferV1::NotificationConfig, decorator: Google::Apis::StoragetransferV1::NotificationConfig::Representation

View File

@ -138,7 +138,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def get_transfer_job(job_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) def get_transfer_job(job_name, project_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+jobName}', options) command = make_simple_command(:get, 'v1/{+jobName}', options)
command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
command.response_class = Google::Apis::StoragetransferV1::TransferJob command.response_class = Google::Apis::StoragetransferV1::TransferJob
@ -151,13 +151,12 @@ module Google
# Lists transfer jobs. # Lists transfer jobs.
# @param [String] filter # @param [String] filter
# Required. A list of query parameters specified as JSON text in the form of: `" # Required. A list of query parameters specified as JSON text in the form of: ``"
# project_id":"my_project_id", "job_names":["jobid1","jobid2",...], " # projectId":"my_project_id", "jobNames":["jobid1","jobid2",...], "jobStatuses":[
# job_statuses":["status1","status2",...]`. Since `job_names` and `job_statuses` # "status1","status2",...]`` Since `jobNames` and `jobStatuses` support multiple
# support multiple values, their values must be specified with array notation. ` # values, their values must be specified with array notation. `projectId` is
# project``_``id` is required. `job_names` and `job_statuses` are optional. The # required. `jobNames` and `jobStatuses` are optional. The valid values for `
# valid values for `job_statuses` are case-insensitive: ENABLED, DISABLED, and # jobStatuses` are case-insensitive: ENABLED, DISABLED, and DELETED.
# DELETED.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The list page size. The max allowed value is 256. # The list page size. The max allowed value is 256.
# @param [String] page_token # @param [String] page_token
@ -179,7 +178,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_transfer_jobs(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_transfer_jobs(filter, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/transferJobs', options) command = make_simple_command(:get, 'v1/transferJobs', options)
command.response_representation = Google::Apis::StoragetransferV1::ListTransferJobsResponse::Representation command.response_representation = Google::Apis::StoragetransferV1::ListTransferJobsResponse::Representation
command.response_class = Google::Apis::StoragetransferV1::ListTransferJobsResponse command.response_class = Google::Apis::StoragetransferV1::ListTransferJobsResponse
@ -311,14 +310,14 @@ module Google
# @param [String] name # @param [String] name
# Required. The value `transferOperations`. # Required. The value `transferOperations`.
# @param [String] filter # @param [String] filter
# Required. A list of query parameters specified as JSON text in the form of: `" # Required. A list of query parameters specified as JSON text in the form of: ``"
# project_id":"my_project_id", "job_names":["jobid1","jobid2",...], " # projectId":"my_project_id", "jobNames":["jobid1","jobid2",...], "
# operation_names":["opid1","opid2",...], "transfer_statuses":["status1"," # operationNames":["opid1","opid2",...], "transferStatuses":["status1","status2",
# status2",...]`. Since `job_names`, `operation_names`, and `transfer_statuses` # ...]`` Since `jobNames`, `operationNames`, and `transferStatuses` support
# support multiple values, they must be specified with array notation. `project`` # multiple values, they must be specified with array notation. `projectId` is
# _``id` is required. `job_names`, `operation_names`, and `transfer_statuses` # required. `jobNames`, `operationNames`, and `transferStatuses` are optional.
# are optional. The valid values for `transfer_statuses` are case-insensitive: # The valid values for `transferStatuses` are case-insensitive: IN_PROGRESS,
# IN_PROGRESS, PAUSED, SUCCESS, FAILED, and ABORTED. # PAUSED, SUCCESS, FAILED, and ABORTED.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The list page size. The max allowed value is 256. # The list page size. The max allowed value is 256.
# @param [String] page_token # @param [String] page_token
@ -340,7 +339,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_transfer_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_transfer_operations(name, filter, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options) command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::StoragetransferV1::ListOperationsResponse::Representation command.response_representation = Google::Apis::StoragetransferV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::StoragetransferV1::ListOperationsResponse command.response_class = Google::Apis::StoragetransferV1::ListOperationsResponse

View File

@ -26,7 +26,7 @@ module Google
# @see http://cloud.google.com/iam/docs/workload-identity-federation # @see http://cloud.google.com/iam/docs/workload-identity-federation
module StsV1beta module StsV1beta
VERSION = 'V1beta' VERSION = 'V1beta'
REVISION = '20201004' REVISION = '20201009'
end end
end end
end end

View File

@ -69,17 +69,18 @@ module Google
# be `RS256`. The following payload fields are required. For more information, # be `RS256`. The following payload fields are required. For more information,
# see [RFC 7523, Section 3](https://tools.ietf.org/html/rfc7523#section-3): - ` # see [RFC 7523, Section 3](https://tools.ietf.org/html/rfc7523#section-3): - `
# iss`: The issuer of the token. The issuer must provide a discovery document at # iss`: The issuer of the token. The issuer must provide a discovery document at
# `/.well-known/openid-configuration`, formatted according to section 4.2 of the # the URL `/.well-known/openid-configuration`, where `` is the value of this
# [OIDC 1.0 Discovery specification](https://openid.net/specs/openid-connect- # field. The document must be formatted according to section 4.2 of the [OIDC 1.
# discovery-1_0.html#ProviderConfigurationResponse). - `iat`: The issue time, in # 0 Discovery specification](https://openid.net/specs/openid-connect-discovery-
# seconds, since the Unix epoch. Must be in the past. - `exp`: The expiration # 1_0.html#ProviderConfigurationResponse). - `iat`: The issue time, in seconds,
# time, in seconds, since the Unix epoch. Must be less than 48 hours after `iat`. # since the Unix epoch. Must be in the past. - `exp`: The expiration time, in
# Shorter expiration times are more secure. If possible, we recommend setting # seconds, since the Unix epoch. Must be less than 48 hours after `iat`. Shorter
# an expiration time less than 6 hours. - `sub`: The identity asserted in the # expiration times are more secure. If possible, we recommend setting an
# JWT. - `aud`: Configured by the mapper policy. The default value is the # expiration time less than 6 hours. - `sub`: The identity asserted in the JWT. -
# service account's unique ID. Example header: ``` ` "alg": "RS256", "kid": "us- # `aud`: Configured by the mapper policy. The default value is the service
# east-11" ` ``` Example payload: ``` ` "iss": "https://accounts.google.com", " # account's unique ID. Example header: ``` ` "alg": "RS256", "kid": "us-east-11"
# iat": 1517963104, "exp": 1517966704, "aud": "113475438248934895348", "sub": " # ` ``` Example payload: ``` ` "iss": "https://accounts.google.com", "iat":
# 1517963104, "exp": 1517966704, "aud": "113475438248934895348", "sub": "
# 113475438248934895348", "my_claims": ` "additional_claim": "value" ` ` ``` If ` # 113475438248934895348", "my_claims": ` "additional_claim": "value" ` ` ``` If `
# subject_token` is an AWS token, it must be a serialized, [signed](https://docs. # subject_token` is an AWS token, it must be a serialized, [signed](https://docs.
# aws.amazon.com/general/latest/gr/signing_aws_api_requests.html) request to the # aws.amazon.com/general/latest/gr/signing_aws_api_requests.html) request to the