Autogenerated update (2019-02-02)

Update:
- bigquery_v2
- cloudtasks_v2beta3
- dataflow_v1b3
- games_v1
- iamcredentials_v1
- script_v1
- serviceconsumermanagement_v1
This commit is contained in:
Google APIs 2019-02-02 00:36:56 +00:00
parent 197c6c11f2
commit bc314dbf16
15 changed files with 109 additions and 11 deletions

View File

@ -11121,6 +11121,9 @@
"/bigquery:v2/TableDataList/rows/row": row
"/bigquery:v2/TableDataList/totalRows": total_rows
"/bigquery:v2/TableFieldSchema": table_field_schema
"/bigquery:v2/TableFieldSchema/categories": categories
"/bigquery:v2/TableFieldSchema/categories/names": names
"/bigquery:v2/TableFieldSchema/categories/names/name": name
"/bigquery:v2/TableFieldSchema/description": description
"/bigquery:v2/TableFieldSchema/fields": fields
"/bigquery:v2/TableFieldSchema/fields/field": field
@ -44723,12 +44726,16 @@
"/dataflow:v1b3/LeaseWorkItemRequest/currentWorkerTime": current_worker_time
"/dataflow:v1b3/LeaseWorkItemRequest/location": location
"/dataflow:v1b3/LeaseWorkItemRequest/requestedLeaseDuration": requested_lease_duration
"/dataflow:v1b3/LeaseWorkItemRequest/unifiedWorkerRequest": unified_worker_request
"/dataflow:v1b3/LeaseWorkItemRequest/unifiedWorkerRequest/unified_worker_request": unified_worker_request
"/dataflow:v1b3/LeaseWorkItemRequest/workItemTypes": work_item_types
"/dataflow:v1b3/LeaseWorkItemRequest/workItemTypes/work_item_type": work_item_type
"/dataflow:v1b3/LeaseWorkItemRequest/workerCapabilities": worker_capabilities
"/dataflow:v1b3/LeaseWorkItemRequest/workerCapabilities/worker_capability": worker_capability
"/dataflow:v1b3/LeaseWorkItemRequest/workerId": worker_id
"/dataflow:v1b3/LeaseWorkItemResponse": lease_work_item_response
"/dataflow:v1b3/LeaseWorkItemResponse/unifiedWorkerResponse": unified_worker_response
"/dataflow:v1b3/LeaseWorkItemResponse/unifiedWorkerResponse/unified_worker_response": unified_worker_response
"/dataflow:v1b3/LeaseWorkItemResponse/workItems": work_items
"/dataflow:v1b3/LeaseWorkItemResponse/workItems/work_item": work_item
"/dataflow:v1b3/ListJobMessagesResponse": list_job_messages_response
@ -44852,10 +44859,14 @@
"/dataflow:v1b3/ReportWorkItemStatusRequest": report_work_item_status_request
"/dataflow:v1b3/ReportWorkItemStatusRequest/currentWorkerTime": current_worker_time
"/dataflow:v1b3/ReportWorkItemStatusRequest/location": location
"/dataflow:v1b3/ReportWorkItemStatusRequest/unifiedWorkerRequest": unified_worker_request
"/dataflow:v1b3/ReportWorkItemStatusRequest/unifiedWorkerRequest/unified_worker_request": unified_worker_request
"/dataflow:v1b3/ReportWorkItemStatusRequest/workItemStatuses": work_item_statuses
"/dataflow:v1b3/ReportWorkItemStatusRequest/workItemStatuses/work_item_status": work_item_status
"/dataflow:v1b3/ReportWorkItemStatusRequest/workerId": worker_id
"/dataflow:v1b3/ReportWorkItemStatusResponse": report_work_item_status_response
"/dataflow:v1b3/ReportWorkItemStatusResponse/unifiedWorkerResponse": unified_worker_response
"/dataflow:v1b3/ReportWorkItemStatusResponse/unifiedWorkerResponse/unified_worker_response": unified_worker_response
"/dataflow:v1b3/ReportWorkItemStatusResponse/workItemServiceStates": work_item_service_states
"/dataflow:v1b3/ReportWorkItemStatusResponse/workItemServiceStates/work_item_service_state": work_item_service_state
"/dataflow:v1b3/ReportedParallelism": reported_parallelism
@ -45023,6 +45034,8 @@
"/dataflow:v1b3/StreamingComputationConfig/instructions/instruction": instruction
"/dataflow:v1b3/StreamingComputationConfig/stageName": stage_name
"/dataflow:v1b3/StreamingComputationConfig/systemName": system_name
"/dataflow:v1b3/StreamingComputationConfig/transformUserNameToStateFamily": transform_user_name_to_state_family
"/dataflow:v1b3/StreamingComputationConfig/transformUserNameToStateFamily/transform_user_name_to_state_family": transform_user_name_to_state_family
"/dataflow:v1b3/StreamingComputationRanges": streaming_computation_ranges
"/dataflow:v1b3/StreamingComputationRanges/computationId": computation_id
"/dataflow:v1b3/StreamingComputationRanges/rangeAssignments": range_assignments

View File

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

View File

@ -3642,6 +3642,12 @@ module Google
class TableFieldSchema
include Google::Apis::Core::Hashable
# [Optional] The categories attached to this field, used for field-level access
# control.
# Corresponds to the JSON property `categories`
# @return [Google::Apis::BigqueryV2::TableFieldSchema::Categories]
attr_accessor :categories
# [Optional] The field description. The maximum length is 1,024 characters.
# Corresponds to the JSON property `description`
# @return [String]
@ -3680,12 +3686,34 @@ module Google
# Update properties of this object
def update!(**args)
@categories = args[:categories] if args.key?(:categories)
@description = args[:description] if args.key?(:description)
@fields = args[:fields] if args.key?(:fields)
@mode = args[:mode] if args.key?(:mode)
@name = args[:name] if args.key?(:name)
@type = args[:type] if args.key?(:type)
end
# [Optional] The categories attached to this field, used for field-level access
# control.
class Categories
include Google::Apis::Core::Hashable
# A list of category resource names. For example, "projects/1/taxonomies/2/
# categories/3". At most 5 categories are allowed.
# Corresponds to the JSON property `names`
# @return [Array<String>]
attr_accessor :names
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@names = args[:names] if args.key?(:names)
end
end
end
#

View File

@ -390,6 +390,12 @@ module Google
class TableFieldSchema
class Representation < Google::Apis::Core::JsonRepresentation; end
class Categories
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
@ -1307,6 +1313,8 @@ module Google
class TableFieldSchema
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :categories, as: 'categories', class: Google::Apis::BigqueryV2::TableFieldSchema::Categories, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Categories::Representation
property :description, as: 'description'
collection :fields, as: 'fields', class: Google::Apis::BigqueryV2::TableFieldSchema, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Representation
@ -1314,6 +1322,13 @@ module Google
property :name, as: 'name'
property :type, as: 'type'
end
class Categories
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :names, as: 'names'
end
end
end
class TableList

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/tasks/
module CloudtasksV2beta3
VERSION = 'V2beta3'
REVISION = '20190118'
REVISION = '20190125'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataflow
module DataflowV1b3
VERSION = 'V1b3'
REVISION = '20181130'
REVISION = '20190126'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2222,6 +2222,11 @@ module Google
# @return [String]
attr_accessor :requested_lease_duration
# Untranslated bag-of-bytes WorkRequest from UnifiedWorker.
# Corresponds to the JSON property `unifiedWorkerRequest`
# @return [Hash<String,Object>]
attr_accessor :unified_worker_request
# Filter for WorkItem type.
# Corresponds to the JSON property `workItemTypes`
# @return [Array<String>]
@ -2248,6 +2253,7 @@ module Google
@current_worker_time = args[:current_worker_time] if args.key?(:current_worker_time)
@location = args[:location] if args.key?(:location)
@requested_lease_duration = args[:requested_lease_duration] if args.key?(:requested_lease_duration)
@unified_worker_request = args[:unified_worker_request] if args.key?(:unified_worker_request)
@work_item_types = args[:work_item_types] if args.key?(:work_item_types)
@worker_capabilities = args[:worker_capabilities] if args.key?(:worker_capabilities)
@worker_id = args[:worker_id] if args.key?(:worker_id)
@ -2258,6 +2264,11 @@ module Google
class LeaseWorkItemResponse
include Google::Apis::Core::Hashable
# Untranslated bag-of-bytes WorkResponse for UnifiedWorker.
# Corresponds to the JSON property `unifiedWorkerResponse`
# @return [Hash<String,Object>]
attr_accessor :unified_worker_response
# A list of the leased WorkItems.
# Corresponds to the JSON property `workItems`
# @return [Array<Google::Apis::DataflowV1b3::WorkItem>]
@ -2269,6 +2280,7 @@ module Google
# Update properties of this object
def update!(**args)
@unified_worker_response = args[:unified_worker_response] if args.key?(:unified_worker_response)
@work_items = args[:work_items] if args.key?(:work_items)
end
end
@ -3103,6 +3115,11 @@ module Google
# @return [String]
attr_accessor :location
# Untranslated bag-of-bytes WorkProgressUpdateRequest from UnifiedWorker.
# Corresponds to the JSON property `unifiedWorkerRequest`
# @return [Hash<String,Object>]
attr_accessor :unified_worker_request
# The order is unimportant, except that the order of the
# WorkItemServiceState messages in the ReportWorkItemStatusResponse
# corresponds to the order of WorkItemStatus messages here.
@ -3126,6 +3143,7 @@ module Google
def update!(**args)
@current_worker_time = args[:current_worker_time] if args.key?(:current_worker_time)
@location = args[:location] if args.key?(:location)
@unified_worker_request = args[:unified_worker_request] if args.key?(:unified_worker_request)
@work_item_statuses = args[:work_item_statuses] if args.key?(:work_item_statuses)
@worker_id = args[:worker_id] if args.key?(:worker_id)
end
@ -3135,6 +3153,11 @@ module Google
class ReportWorkItemStatusResponse
include Google::Apis::Core::Hashable
# Untranslated bag-of-bytes WorkProgressUpdateResponse for UnifiedWorker.
# Corresponds to the JSON property `unifiedWorkerResponse`
# @return [Hash<String,Object>]
attr_accessor :unified_worker_response
# A set of messages indicating the service-side state for each
# WorkItem whose status was reported, in the same order as the
# WorkItemStatus messages in the ReportWorkItemStatusRequest which
@ -3149,6 +3172,7 @@ module Google
# Update properties of this object
def update!(**args)
@unified_worker_response = args[:unified_worker_response] if args.key?(:unified_worker_response)
@work_item_service_states = args[:work_item_service_states] if args.key?(:work_item_service_states)
end
end
@ -4395,6 +4419,12 @@ module Google
# @return [String]
attr_accessor :system_name
# Map from user name of stateful transforms in this stage to their state
# family.
# Corresponds to the JSON property `transformUserNameToStateFamily`
# @return [Hash<String,String>]
attr_accessor :transform_user_name_to_state_family
def initialize(**args)
update!(**args)
end
@ -4405,6 +4435,7 @@ module Google
@instructions = args[:instructions] if args.key?(:instructions)
@stage_name = args[:stage_name] if args.key?(:stage_name)
@system_name = args[:system_name] if args.key?(:system_name)
@transform_user_name_to_state_family = args[:transform_user_name_to_state_family] if args.key?(:transform_user_name_to_state_family)
end
end

View File

@ -1436,6 +1436,7 @@ module Google
property :current_worker_time, as: 'currentWorkerTime'
property :location, as: 'location'
property :requested_lease_duration, as: 'requestedLeaseDuration'
hash :unified_worker_request, as: 'unifiedWorkerRequest'
collection :work_item_types, as: 'workItemTypes'
collection :worker_capabilities, as: 'workerCapabilities'
property :worker_id, as: 'workerId'
@ -1445,6 +1446,7 @@ module Google
class LeaseWorkItemResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :unified_worker_response, as: 'unifiedWorkerResponse'
collection :work_items, as: 'workItems', class: Google::Apis::DataflowV1b3::WorkItem, decorator: Google::Apis::DataflowV1b3::WorkItem::Representation
end
@ -1675,6 +1677,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :current_worker_time, as: 'currentWorkerTime'
property :location, as: 'location'
hash :unified_worker_request, as: 'unifiedWorkerRequest'
collection :work_item_statuses, as: 'workItemStatuses', class: Google::Apis::DataflowV1b3::WorkItemStatus, decorator: Google::Apis::DataflowV1b3::WorkItemStatus::Representation
property :worker_id, as: 'workerId'
@ -1684,6 +1687,7 @@ module Google
class ReportWorkItemStatusResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :unified_worker_response, as: 'unifiedWorkerResponse'
collection :work_item_service_states, as: 'workItemServiceStates', class: Google::Apis::DataflowV1b3::WorkItemServiceState, decorator: Google::Apis::DataflowV1b3::WorkItemServiceState::Representation
end
@ -2034,6 +2038,7 @@ module Google
property :stage_name, as: 'stageName'
property :system_name, as: 'systemName'
hash :transform_user_name_to_state_family, as: 'transformUserNameToStateFamily'
end
end

View File

@ -25,13 +25,16 @@ module Google
# @see https://developers.google.com/games/services/
module GamesV1
VERSION = 'V1'
REVISION = '20181113'
REVISION = '20190131'
# View and manage its own configuration data in your Google Drive
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
# Share your Google+ profile information and view and manage your game activity
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
# Know who you are on Google
AUTH_PLUS_ME = 'https://www.googleapis.com/auth/plus.me'
end
end
end

View File

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

View File

@ -193,8 +193,8 @@ module Google
# "iss": "https://accounts.google.com",
# "iat": 1517963104,
# "exp": 1517966704,
# "aud": "https://iamcredentials.googleapis.com/google.iam.credentials.v1.
# CloudGaia",
# "aud":
# "https://iamcredentials.googleapis.com/google.iam.credentials.v1.CloudGaia",
# "sub": "113475438248934895348",
# "my_claims": `
# "additional_claim": "value"

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/apps-script/api/
module ScriptV1
VERSION = 'V1'
REVISION = '20190112'
REVISION = '20190131'
# Read, compose, send, and permanently delete all your email from Gmail
AUTH_SCOPE = 'https://mail.google.com/'

View File

@ -278,8 +278,9 @@ module Google
# @return [Array<Object>]
attr_accessor :parameters
# For Android add-ons only. An ID that represents the user's current session
# in the Android app for Google Docs or Sheets, included as extra data in the
# <b>Deprecated</b>. For use with Android add-ons only. An ID that represents
# the user's current session in the Android app for Google Docs or Sheets,
# included as extra data in the
# [Intent](https://developer.android.com/guide/components/intents-filters.html)
# that launches the add-on. When an Android add-on is run with a session
# state, it gains the privileges of a

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1
VERSION = 'V1'
REVISION = '20190119'
REVISION = '20190131'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -513,6 +513,8 @@ module Google
# It will remove project lien with 'TenantManager' origin if that was added.
# It will then attempt to delete the project. If that operation fails, this
# method fails.
# Calls to remove already removed or non-existent tenant project
# will succeed.
# After the project has been deleted, or if was already in DELETED state,
# resource metadata is permanently removed from the tenancy unit.
# Operation<response: Empty>.