From 6022519cdb37eb34fdced204505e6cac6afa9e4f Mon Sep 17 00:00:00 2001 From: Google APIs Date: Fri, 16 Oct 2020 00:39:01 +0000 Subject: [PATCH] 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 --- api_names_out.yaml | 17 ++++ .../google/apis/analyticsadmin_v1alpha.rb | 2 +- .../apis/analyticsadmin_v1alpha/classes.rb | 12 +-- .../apis/analyticsadmin_v1alpha/service.rb | 17 ++-- generated/google/apis/bigquery_v2.rb | 2 +- generated/google/apis/bigquery_v2/classes.rb | 85 ++++++++++++++++-- .../apis/bigquery_v2/representations.rb | 33 +++++++ generated/google/apis/bigquery_v2/service.rb | 46 ++++++++++ generated/google/apis/container_v1.rb | 2 +- generated/google/apis/container_v1/classes.rb | 32 ++++--- generated/google/apis/displayvideo_v1.rb | 2 +- .../google/apis/displayvideo_v1/service.rb | 16 ++-- generated/google/apis/drive_v2.rb | 2 +- generated/google/apis/drive_v2/classes.rb | 2 + generated/google/apis/drive_v3.rb | 2 +- generated/google/apis/drive_v3/classes.rb | 3 +- generated/google/apis/people_v1.rb | 2 +- generated/google/apis/people_v1/classes.rb | 90 +++++++++---------- generated/google/apis/servicenetworking_v1.rb | 2 +- .../apis/servicenetworking_v1/classes.rb | 5 +- .../apis/servicenetworking_v1/service.rb | 4 +- .../google/apis/servicenetworking_v1beta.rb | 2 +- .../apis/servicenetworking_v1beta/classes.rb | 5 +- generated/google/apis/storagetransfer_v1.rb | 2 +- .../google/apis/storagetransfer_v1/classes.rb | 8 ++ .../storagetransfer_v1/representations.rb | 1 + .../google/apis/storagetransfer_v1/service.rb | 35 ++++---- generated/google/apis/sts_v1beta.rb | 2 +- generated/google/apis/sts_v1beta/classes.rb | 23 ++--- 29 files changed, 326 insertions(+), 130 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 7b7b37338..9b3655a4f 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -15053,6 +15053,10 @@ "/bigquery:v2/ListRoutinesResponse/nextPageToken": next_page_token "/bigquery:v2/ListRoutinesResponse/routines": routines "/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/LocationMetadata": location_metadata "/bigquery:v2/LocationMetadata/legacyLocationId": legacy_location_id @@ -15219,6 +15223,12 @@ "/bigquery:v2/Row/actualLabel": actual_label "/bigquery:v2/Row/entries": entries "/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/datasetId": dataset_id "/bigquery:v2/RowAccessPolicyReference/policyId": policy_id @@ -15540,6 +15550,12 @@ "/bigquery:v2/bigquery.routines.update/datasetId": dataset_id "/bigquery:v2/bigquery.routines.update/projectId": project_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/datasetId": dataset_id "/bigquery:v2/bigquery.tabledata.insertAll/projectId": project_id @@ -141157,6 +141173,7 @@ "/storagetransfer:v1/TransferJob/deletionTime": deletion_time "/storagetransfer:v1/TransferJob/description": description "/storagetransfer:v1/TransferJob/lastModificationTime": last_modification_time +"/storagetransfer:v1/TransferJob/latestOperationName": latest_operation_name "/storagetransfer:v1/TransferJob/name": name "/storagetransfer:v1/TransferJob/notificationConfig": notification_config "/storagetransfer:v1/TransferJob/projectId": project_id diff --git a/generated/google/apis/analyticsadmin_v1alpha.rb b/generated/google/apis/analyticsadmin_v1alpha.rb index aea2767a2..1bc155986 100644 --- a/generated/google/apis/analyticsadmin_v1alpha.rb +++ b/generated/google/apis/analyticsadmin_v1alpha.rb @@ -25,7 +25,7 @@ module Google # @see http://code.google.com/apis/analytics/docs/mgmt/home.html module AnalyticsadminV1alpha VERSION = 'V1alpha' - REVISION = '20200924' + REVISION = '20201015' # Edit Google Analytics management entities AUTH_ANALYTICS_EDIT = 'https://www.googleapis.com/auth/analytics.edit' diff --git a/generated/google/apis/analyticsadmin_v1alpha/classes.rb b/generated/google/apis/analyticsadmin_v1alpha/classes.rb index 89d661baa..891ec85e2 100644 --- a/generated/google/apis/analyticsadmin_v1alpha/classes.rb +++ b/generated/google/apis/analyticsadmin_v1alpha/classes.rb @@ -77,7 +77,7 @@ module Google end # A virtual resource representing an overview of an account and all its child - # App+Web properties. + # GA4 properties. class GoogleAnalyticsAdminV1alphaAccountSummary include Google::Apis::Core::Hashable @@ -662,7 +662,7 @@ module Google 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 include Google::Apis::Core::Hashable @@ -671,7 +671,7 @@ module Google # @return [String] 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. # Corresponds to the JSON property `maximumUserAccess` # @return [String] @@ -725,7 +725,7 @@ module Google 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 include Google::Apis::Core::Hashable @@ -1074,7 +1074,7 @@ module Google end end - # A resource message representing a Google Analytics App+Web property. + # A resource message representing a Google Analytics GA4 property. class GoogleAnalyticsAdminV1alphaProperty include Google::Apis::Core::Hashable @@ -1152,7 +1152,7 @@ module Google end end - # A virtual resource representing metadata for an App+Web property. + # A virtual resource representing metadata for an GA4 property. class GoogleAnalyticsAdminV1alphaPropertySummary include Google::Apis::Core::Hashable diff --git a/generated/google/apis/analyticsadmin_v1alpha/service.rb b/generated/google/apis/analyticsadmin_v1alpha/service.rb index 2467ba97c..e1340c0ff 100644 --- a/generated/google/apis/analyticsadmin_v1alpha/service.rb +++ b/generated/google/apis/analyticsadmin_v1alpha/service.rb @@ -187,9 +187,8 @@ module Google end # Returns all accounts accessible by the caller. Note that these accounts might - # not currently have App+Web properties. Soft-deleted (ie: "trashed") accounts - # are excluded by default. Returns an empty list if no relevant accounts are - # found. + # not currently have GA4 properties. Soft-deleted (ie: "trashed") accounts are + # excluded by default. Returns an empty list if no relevant accounts are found. # @param [Fixnum] page_size # 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 @@ -653,7 +652,7 @@ module Google execute_or_queue_command(command, &block) 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 [String] fields # 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, # Streams, UserLinks) will be permanently purged. https://support.google.com/ # 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 # Required. The name of the Property to soft-delete. Format: properties/` # property_id` Example: "properties/1000" @@ -720,9 +719,9 @@ module Google execute_or_queue_command(command, &block) end - # Lookup for a single "App+Web" Property. Throws "Target not found" if no such - # property found, if property is not of the type "App+Web", or if caller does - # not have permissions to access it. + # Lookup for a single "GA4" Property. Throws "Target not found" if no such + # property found, if property is not of the type "GA4", or if caller does not + # have permissions to access it. # @param [String] name # Required. The name of the property to lookup. Format: properties/`property_id` # Example: "properties/1000" @@ -753,7 +752,7 @@ module Google execute_or_queue_command(command, &block) 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 # not have access. Soft-deleted (ie: "trashed") properties are excluded by # default. Returns an empty list if no relevant properties are found. diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index 8da3adf54..6e0782bcb 100644 --- a/generated/google/apis/bigquery_v2.rb +++ b/generated/google/apis/bigquery_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigqueryV2 VERSION = 'V2' - REVISION = '20200925' + REVISION = '20201007' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquery_v2/classes.rb b/generated/google/apis/bigquery_v2/classes.rb index 5859b4d7f..e97a177cb 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -4069,6 +4069,31 @@ module Google 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] + 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. # location.Location.metadata in Cloud Location API responses. class LocationMetadata @@ -5294,6 +5319,56 @@ module Google 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 include Google::Apis::Core::Hashable @@ -5798,11 +5873,11 @@ module Google attr_accessor :time_partitioning # [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. [ - # TrustedTester] SNAPSHOT: An immutable, read-only table that is a copy of - # another table. [TrustedTester] MATERIALIZED_VIEW: SQL query whose result is - # persisted. EXTERNAL: A table that references data stored in an external - # storage system, such as Google Cloud Storage. The default value is TABLE. + # TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query. + # SNAPSHOT: An immutable, read-only table that is a copy of another table. [ + # TrustedTester] MATERIALIZED_VIEW: SQL query whose result is persisted. + # EXTERNAL: A table that references data stored in an external storage system, + # such as Google Cloud Storage. The default value is TABLE. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index 7bd5a93bb..a319cafad 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -454,6 +454,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ListRowAccessPoliciesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class LocationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end @@ -604,6 +610,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class RowAccessPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RowAccessPolicyReference class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1763,6 +1775,15 @@ module Google 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 # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2064,6 +2085,18 @@ module Google 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 # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/bigquery_v2/service.rb b/generated/google/apis/bigquery_v2/service.rb index 21731ecaf..bc297e458 100644 --- a/generated/google/apis/bigquery_v2/service.rb +++ b/generated/google/apis/bigquery_v2/service.rb @@ -1028,6 +1028,52 @@ module Google execute_or_queue_command(command, &block) 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 # job. Requires the WRITER dataset role. # @param [String] project_id diff --git a/generated/google/apis/container_v1.rb b/generated/google/apis/container_v1.rb index 932b2da27..21d59849f 100644 --- a/generated/google/apis/container_v1.rb +++ b/generated/google/apis/container_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1 VERSION = 'V1' - REVISION = '20200828' + REVISION = '20201007' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/container_v1/classes.rb b/generated/google/apis/container_v1/classes.rb index 880cbe73d..a8da7e58d 100644 --- a/generated/google/apis/container_v1/classes.rb +++ b/generated/google/apis/container_v1/classes.rb @@ -579,7 +579,14 @@ module Google attr_accessor :location # 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` # @return [Array] attr_accessor :locations @@ -905,9 +912,9 @@ module Google # 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. - # Changing the locations a cluster is in will result in nodes being either - # created or removed from the cluster, depending on whether locations are being - # added or removed. This list must always include the cluster's primary zone. + # This list must always include the cluster's primary zone. Warning: changing + # cluster locations will update the locations of all node pools and will result + # in nodes being added and/or removed. # Corresponds to the JSON property `desiredLocations` # @return [Array] attr_accessor :desired_locations @@ -2240,11 +2247,12 @@ module Google # - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - " # instance-template" - "kube-env" - "startup-script" - "user-data" - "disable- # address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node- - # setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" - "serial-port-logging- - # enable" Values are free-form strings, and only have meaning as interpreted by - # the image running in the instance. The only restriction placed on them is that - # each value's size must be less than or equal to 32 KB. The total size of all - # keys and values must be less than 512 KB. + # setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" The following keys are + # reserved for Windows nodes: - "serial-port-logging-enable" Values are free- + # form strings, and only have meaning as interpreted by the image running in the + # instance. The only restriction placed on them is that each value's size must + # 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` # @return [Hash] attr_accessor :metadata @@ -2442,7 +2450,11 @@ module Google attr_accessor :instance_group_urls # 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` # @return [Array] attr_accessor :locations diff --git a/generated/google/apis/displayvideo_v1.rb b/generated/google/apis/displayvideo_v1.rb index 717c951f9..fad9355e2 100644 --- a/generated/google/apis/displayvideo_v1.rb +++ b/generated/google/apis/displayvideo_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/display-video/ module DisplayvideoV1 VERSION = 'V1' - REVISION = '20201013' + REVISION = '20201015' # Create, see, edit, and permanently delete your Display & Video 360 entities and reports AUTH_DISPLAY_VIDEO = 'https://www.googleapis.com/auth/display-video' diff --git a/generated/google/apis/displayvideo_v1/service.rb b/generated/google/apis/displayvideo_v1/service.rb index 623d10af2..ea0f1ae86 100644 --- a/generated/google/apis/displayvideo_v1/service.rb +++ b/generated/google/apis/displayvideo_v1/service.rb @@ -4617,14 +4617,14 @@ module Google # expressions are made up of one or more restrictions. * Restrictions can be # combined by `OR` logical operators. * A restriction has the form of ``field` ` # operator` `value``. * The operator must be "=" (equal sign). * Supported - # fields: - `carrier_and_isp_details.type` - `geo_region_details.geo_region_type` - # - `targetingOptionId` Examples: * All `GEO REGION` targeting options that - # belong to sub type `GEO_REGION_TYPE_COUNTRY` or `GEO_REGION_TYPE_STATE`: ` - # geo_region_details.geo_region_type="GEO_REGION_TYPE_COUNTRY" OR - # geo_region_details.geo_region_type="GEO_REGION_TYPE_STATE"` * All `CARRIER AND - # ISP` targeting options that belong to sub type `CARRIER_AND_ISP_TYPE_CARRIER`: - # `carrier_and_isp_details.type="CARRIER_AND_ISP_TYPE_CARRIER"`. The length of - # this field should be no more than 500 characters. + # fields: - `carrierAndIspDetails.type` - `geoRegionDetails.geoRegionType` - ` + # targetingOptionId` Examples: * All `GEO REGION` targeting options that belong + # to sub type `GEO_REGION_TYPE_COUNTRY` or `GEO_REGION_TYPE_STATE`: ` + # geoRegionDetails.geoRegionType="GEO_REGION_TYPE_COUNTRY" OR geoRegionDetails. + # geoRegionType="GEO_REGION_TYPE_STATE"` * All `CARRIER AND ISP` targeting + # options that belong to sub type `CARRIER_AND_ISP_TYPE_CARRIER`: ` + # carrierAndIspDetails.type="CARRIER_AND_ISP_TYPE_CARRIER"`. The length of this + # field should be no more than 500 characters. # @param [String] order_by # Field by which to sort the list. Acceptable values are: * `targetingOptionId` ( # default) The default sorting order is ascending. To specify descending order diff --git a/generated/google/apis/drive_v2.rb b/generated/google/apis/drive_v2.rb index 369f7fc87..eafebd090 100644 --- a/generated/google/apis/drive_v2.rb +++ b/generated/google/apis/drive_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/drive/ module DriveV2 VERSION = 'V2' - REVISION = '20201004' + REVISION = '20201012' # See, edit, create, and delete all of your Google Drive files AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/drive_v2/classes.rb b/generated/google/apis/drive_v2/classes.rb index 58194c82a..434538c04 100644 --- a/generated/google/apis/drive_v2/classes.rb +++ b/generated/google/apis/drive_v2/classes.rb @@ -2120,6 +2120,8 @@ module Google # 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. + # 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` # @return [String] attr_accessor :thumbnail_link diff --git a/generated/google/apis/drive_v3.rb b/generated/google/apis/drive_v3.rb index 30b672322..0a73b2c87 100644 --- a/generated/google/apis/drive_v3.rb +++ b/generated/google/apis/drive_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/drive/ module DriveV3 VERSION = 'V3' - REVISION = '20201004' + REVISION = '20201012' # See, edit, create, and delete all of your Google Drive files AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/drive_v3/classes.rb b/generated/google/apis/drive_v3/classes.rb index 5eea9677a..e7d7e2a6e 100644 --- a/generated/google/apis/drive_v3/classes.rb +++ b/generated/google/apis/drive_v3/classes.rb @@ -1278,7 +1278,8 @@ module Google # 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' - # 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` # @return [String] attr_accessor :thumbnail_link diff --git a/generated/google/apis/people_v1.rb b/generated/google/apis/people_v1.rb index 1a7363b91..96ec4b826 100644 --- a/generated/google/apis/people_v1.rb +++ b/generated/google/apis/people_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/people/ module PeopleV1 VERSION = 'V1' - REVISION = '20201006' + REVISION = '20201013' # See, edit, download, and permanently delete your contacts AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' diff --git a/generated/google/apis/people_v1/classes.rb b/generated/google/apis/people_v1/classes.rb index 883d1922a..b337fbe39 100644 --- a/generated/google/apis/people_v1/classes.rb +++ b/generated/google/apis/people_v1/classes.rb @@ -193,14 +193,14 @@ module Google class Birthday include Google::Apis::Core::Hashable - # Represents a whole or partial calendar date, e.g. a birthday. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. This can represent: * A full - # date, with non-zero year, month and day values * A month and day value, with a - # zero year, e.g. an anniversary * A year on its own, with zero month and day - # values * A year and month value, with a zero day, e.g. a credit card - # expiration date Related types are google.type.TimeOfDay and `google.protobuf. - # Timestamp`. + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values * A month + # and day value, with a zero year, such as an anniversary * A year on its own, + # with zero month and day values * A year and month value, with a zero day, such + # as a credit card expiration date Related types are google.type.TimeOfDay and ` + # google.protobuf.Timestamp`. # Corresponds to the JSON property `date` # @return [Google::Apis::PeopleV1::Date] attr_accessor :date @@ -580,31 +580,31 @@ module Google end end - # Represents a whole or partial calendar date, e.g. a birthday. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. This can represent: * A full - # date, with non-zero year, month and day values * A month and day value, with a - # zero year, e.g. an anniversary * A year on its own, with zero month and day - # values * A year and month value, with a zero day, e.g. a credit card - # expiration date Related types are google.type.TimeOfDay and `google.protobuf. - # Timestamp`. + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values * A month + # and day value, with a zero year, such as an anniversary * A year on its own, + # with zero month and day values * A year and month value, with a zero day, such + # as a credit card expiration date Related types are google.type.TimeOfDay and ` + # google.protobuf.Timestamp`. class Date include Google::Apis::Core::Hashable - # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if - # specifying a year by itself or a year and month where the day is not - # significant. + # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to + # specify a year by itself or a year and month where the day isn't significant. # Corresponds to the JSON property `day` # @return [Fixnum] 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. # Corresponds to the JSON property `month` # @return [Fixnum] 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` # @return [Fixnum] attr_accessor :year @@ -729,14 +729,14 @@ module Google class Event include Google::Apis::Core::Hashable - # Represents a whole or partial calendar date, e.g. a birthday. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. This can represent: * A full - # date, with non-zero year, month and day values * A month and day value, with a - # zero year, e.g. an anniversary * A year on its own, with zero month and day - # values * A year and month value, with a zero day, e.g. a credit card - # expiration date Related types are google.type.TimeOfDay and `google.protobuf. - # Timestamp`. + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values * A month + # and day value, with a zero year, such as an anniversary * A year on its own, + # with zero month and day values * A year and month value, with a zero day, such + # as a credit card expiration date Related types are google.type.TimeOfDay and ` + # google.protobuf.Timestamp`. # Corresponds to the JSON property `date` # @return [Google::Apis::PeopleV1::Date] attr_accessor :date @@ -1559,14 +1559,14 @@ module Google # @return [String] attr_accessor :domain - # Represents a whole or partial calendar date, e.g. a birthday. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. This can represent: * A full - # date, with non-zero year, month and day values * A month and day value, with a - # zero year, e.g. an anniversary * A year on its own, with zero month and day - # values * A year and month value, with a zero day, e.g. a credit card - # expiration date Related types are google.type.TimeOfDay and `google.protobuf. - # Timestamp`. + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values * A month + # and day value, with a zero year, such as an anniversary * A year on its own, + # with zero month and day values * A year and month value, with a zero day, such + # as a credit card expiration date Related types are google.type.TimeOfDay and ` + # google.protobuf.Timestamp`. # Corresponds to the JSON property `endDate` # @return [Google::Apis::PeopleV1::Date] attr_accessor :end_date @@ -1602,14 +1602,14 @@ module Google # @return [String] attr_accessor :phonetic_name - # Represents a whole or partial calendar date, e.g. a birthday. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. This can represent: * A full - # date, with non-zero year, month and day values * A month and day value, with a - # zero year, e.g. an anniversary * A year on its own, with zero month and day - # values * A year and month value, with a zero day, e.g. a credit card - # expiration date Related types are google.type.TimeOfDay and `google.protobuf. - # Timestamp`. + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values * A month + # and day value, with a zero year, such as an anniversary * A year on its own, + # with zero month and day values * A year and month value, with a zero day, such + # as a credit card expiration date Related types are google.type.TimeOfDay and ` + # google.protobuf.Timestamp`. # Corresponds to the JSON property `startDate` # @return [Google::Apis::PeopleV1::Date] attr_accessor :start_date diff --git a/generated/google/apis/servicenetworking_v1.rb b/generated/google/apis/servicenetworking_v1.rb index 9efffb225..5b0cb9cc9 100644 --- a/generated/google/apis/servicenetworking_v1.rb +++ b/generated/google/apis/servicenetworking_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started module ServicenetworkingV1 VERSION = 'V1' - REVISION = '20201012' + REVISION = '20201014' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/servicenetworking_v1/classes.rb b/generated/google/apis/servicenetworking_v1/classes.rb index 3545d1f3c..0cf24f24c 100644 --- a/generated/google/apis/servicenetworking_v1/classes.rb +++ b/generated/google/apis/servicenetworking_v1/classes.rb @@ -515,7 +515,8 @@ module Google class AuthenticationRule 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` # @return [Boolean] attr_accessor :allow_without_credential @@ -2796,7 +2797,7 @@ module Google # @return [String] 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. # hostServiceAgentUser' applied on the shared VPC host project - 'roles/compute. # securityAdmin' applied on the shared VPC host project diff --git a/generated/google/apis/servicenetworking_v1/service.rb b/generated/google/apis/servicenetworking_v1/service.rb index 401f3b3c6..4b6d582c7 100644 --- a/generated/google/apis/servicenetworking_v1/service.rb +++ b/generated/google/apis/servicenetworking_v1/service.rb @@ -816,8 +816,8 @@ module Google # 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 - # from within a whitelisted set of roles. Each role is applied at only the - # granularity specified in the whitelist. + # from within an allowlisted set of roles. Each role is applied at only the + # granularity specified in the allowlist. # @param [String] parent # Required. This is in a form services/`service` where `service` is the name of # the private access management service. For example 'service-peering.example. diff --git a/generated/google/apis/servicenetworking_v1beta.rb b/generated/google/apis/servicenetworking_v1beta.rb index 4f340b76d..333d37e58 100644 --- a/generated/google/apis/servicenetworking_v1beta.rb +++ b/generated/google/apis/servicenetworking_v1beta.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started module ServicenetworkingV1beta VERSION = 'V1beta' - REVISION = '20201012' + REVISION = '20201014' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/servicenetworking_v1beta/classes.rb b/generated/google/apis/servicenetworking_v1beta/classes.rb index cbd541917..a0b04d91c 100644 --- a/generated/google/apis/servicenetworking_v1beta/classes.rb +++ b/generated/google/apis/servicenetworking_v1beta/classes.rb @@ -414,7 +414,8 @@ module Google class AuthenticationRule 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` # @return [Boolean] attr_accessor :allow_without_credential @@ -2555,7 +2556,7 @@ module Google # @return [String] 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. # hostServiceAgentUser' applied on the shared VPC host project - 'roles/compute. # securityAdmin' applied on the shared VPC host project diff --git a/generated/google/apis/storagetransfer_v1.rb b/generated/google/apis/storagetransfer_v1.rb index d258778a8..0ae5d3f34 100644 --- a/generated/google/apis/storagetransfer_v1.rb +++ b/generated/google/apis/storagetransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/storage-transfer/docs module StoragetransferV1 VERSION = 'V1' - REVISION = '20201001' + REVISION = '20201013' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/storagetransfer_v1/classes.rb b/generated/google/apis/storagetransfer_v1/classes.rb index 5845ae905..79edd35ec 100644 --- a/generated/google/apis/storagetransfer_v1/classes.rb +++ b/generated/google/apis/storagetransfer_v1/classes.rb @@ -882,6 +882,13 @@ module Google # @return [String] 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. # 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 @@ -941,6 +948,7 @@ module Google @deletion_time = args[:deletion_time] if args.key?(:deletion_time) @description = args[:description] if args.key?(:description) @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) @notification_config = args[:notification_config] if args.key?(:notification_config) @project_id = args[:project_id] if args.key?(:project_id) diff --git a/generated/google/apis/storagetransfer_v1/representations.rb b/generated/google/apis/storagetransfer_v1/representations.rb index ea3dc09b5..cc5df97ad 100644 --- a/generated/google/apis/storagetransfer_v1/representations.rb +++ b/generated/google/apis/storagetransfer_v1/representations.rb @@ -407,6 +407,7 @@ module Google property :deletion_time, as: 'deletionTime' property :description, as: 'description' property :last_modification_time, as: 'lastModificationTime' + property :latest_operation_name, as: 'latestOperationName' property :name, as: 'name' property :notification_config, as: 'notificationConfig', class: Google::Apis::StoragetransferV1::NotificationConfig, decorator: Google::Apis::StoragetransferV1::NotificationConfig::Representation diff --git a/generated/google/apis/storagetransfer_v1/service.rb b/generated/google/apis/storagetransfer_v1/service.rb index 1a8201fc1..de9db02ac 100644 --- a/generated/google/apis/storagetransfer_v1/service.rb +++ b/generated/google/apis/storagetransfer_v1/service.rb @@ -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::ClientError] The request is invalid and should not be retried without modification # @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.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation command.response_class = Google::Apis::StoragetransferV1::TransferJob @@ -151,13 +151,12 @@ module Google # Lists transfer jobs. # @param [String] filter - # Required. A list of query parameters specified as JSON text in the form of: `" - # project_id":"my_project_id", "job_names":["jobid1","jobid2",...], " - # job_statuses":["status1","status2",...]`. Since `job_names` and `job_statuses` - # support multiple values, their values must be specified with array notation. ` - # project``_``id` is required. `job_names` and `job_statuses` are optional. The - # valid values for `job_statuses` are case-insensitive: ENABLED, DISABLED, and - # DELETED. + # Required. A list of query parameters specified as JSON text in the form of: ``" + # projectId":"my_project_id", "jobNames":["jobid1","jobid2",...], "jobStatuses":[ + # "status1","status2",...]`` Since `jobNames` and `jobStatuses` support multiple + # values, their values must be specified with array notation. `projectId` is + # required. `jobNames` and `jobStatuses` are optional. The valid values for ` + # jobStatuses` are case-insensitive: ENABLED, DISABLED, and DELETED. # @param [Fixnum] page_size # The list page size. The max allowed value is 256. # @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::ClientError] The request is invalid and should not be retried without modification # @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.response_representation = Google::Apis::StoragetransferV1::ListTransferJobsResponse::Representation command.response_class = Google::Apis::StoragetransferV1::ListTransferJobsResponse @@ -311,14 +310,14 @@ module Google # @param [String] name # Required. The value `transferOperations`. # @param [String] filter - # Required. A list of query parameters specified as JSON text in the form of: `" - # project_id":"my_project_id", "job_names":["jobid1","jobid2",...], " - # operation_names":["opid1","opid2",...], "transfer_statuses":["status1"," - # status2",...]`. Since `job_names`, `operation_names`, and `transfer_statuses` - # support multiple values, they must be specified with array notation. `project`` - # _``id` is required. `job_names`, `operation_names`, and `transfer_statuses` - # are optional. The valid values for `transfer_statuses` are case-insensitive: - # IN_PROGRESS, PAUSED, SUCCESS, FAILED, and ABORTED. + # Required. A list of query parameters specified as JSON text in the form of: ``" + # projectId":"my_project_id", "jobNames":["jobid1","jobid2",...], " + # operationNames":["opid1","opid2",...], "transferStatuses":["status1","status2", + # ...]`` Since `jobNames`, `operationNames`, and `transferStatuses` support + # multiple values, they must be specified with array notation. `projectId` is + # required. `jobNames`, `operationNames`, and `transferStatuses` are optional. + # The valid values for `transferStatuses` are case-insensitive: IN_PROGRESS, + # PAUSED, SUCCESS, FAILED, and ABORTED. # @param [Fixnum] page_size # The list page size. The max allowed value is 256. # @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::ClientError] The request is invalid and should not be retried without modification # @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.response_representation = Google::Apis::StoragetransferV1::ListOperationsResponse::Representation command.response_class = Google::Apis::StoragetransferV1::ListOperationsResponse diff --git a/generated/google/apis/sts_v1beta.rb b/generated/google/apis/sts_v1beta.rb index 9d92b491a..55f8774f9 100644 --- a/generated/google/apis/sts_v1beta.rb +++ b/generated/google/apis/sts_v1beta.rb @@ -26,7 +26,7 @@ module Google # @see http://cloud.google.com/iam/docs/workload-identity-federation module StsV1beta VERSION = 'V1beta' - REVISION = '20201004' + REVISION = '20201009' end end end diff --git a/generated/google/apis/sts_v1beta/classes.rb b/generated/google/apis/sts_v1beta/classes.rb index af716aa80..f0fe33835 100644 --- a/generated/google/apis/sts_v1beta/classes.rb +++ b/generated/google/apis/sts_v1beta/classes.rb @@ -69,17 +69,18 @@ module Google # be `RS256`. The following payload fields are required. For more information, # 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 - # `/.well-known/openid-configuration`, formatted according to section 4.2 of the - # [OIDC 1.0 Discovery specification](https://openid.net/specs/openid-connect- - # discovery-1_0.html#ProviderConfigurationResponse). - `iat`: The issue time, in - # seconds, since the Unix epoch. Must be in the past. - `exp`: The expiration - # time, in seconds, since the Unix epoch. Must be less than 48 hours after `iat`. - # Shorter expiration times are more secure. If possible, we recommend setting - # an expiration time less than 6 hours. - `sub`: The identity asserted in the - # JWT. - `aud`: Configured by the mapper policy. The default value is the - # service account's unique ID. Example header: ``` ` "alg": "RS256", "kid": "us- - # east-11" ` ``` Example payload: ``` ` "iss": "https://accounts.google.com", " - # iat": 1517963104, "exp": 1517966704, "aud": "113475438248934895348", "sub": " + # the URL `/.well-known/openid-configuration`, where `` is the value of this + # field. The document must be formatted according to section 4.2 of the [OIDC 1. + # 0 Discovery specification](https://openid.net/specs/openid-connect-discovery- + # 1_0.html#ProviderConfigurationResponse). - `iat`: The issue time, in seconds, + # since the Unix epoch. Must be in the past. - `exp`: The expiration time, in + # seconds, since the Unix epoch. Must be less than 48 hours after `iat`. Shorter + # expiration times are more secure. If possible, we recommend setting an + # expiration time less than 6 hours. - `sub`: The identity asserted in the JWT. - + # `aud`: Configured by the mapper policy. The default value is the service + # account's unique ID. Example header: ``` ` "alg": "RS256", "kid": "us-east-11" + # ` ``` Example payload: ``` ` "iss": "https://accounts.google.com", "iat": + # 1517963104, "exp": 1517966704, "aud": "113475438248934895348", "sub": " # 113475438248934895348", "my_claims": ` "additional_claim": "value" ` ` ``` If ` # 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