Autogenerated update (2017-09-16)
Update: - adsensehost_v4_1 - appstate_v1 - bigquery_v2 - calendar_v3 - cloudtasks_v2beta2 - content_v2 - games_configuration_v1configuration - games_management_v1management - gmail_v1 - sourcerepo_v1 - streetviewpublish_v1 - toolresults_v1beta3 - youtube_analytics_v1
This commit is contained in:
parent
6f0577941e
commit
8054e03496
|
@ -8796,6 +8796,7 @@
|
||||||
"/bigquery:v2/JobStatistics2/statementType": statement_type
|
"/bigquery:v2/JobStatistics2/statementType": statement_type
|
||||||
"/bigquery:v2/JobStatistics2/totalBytesBilled": total_bytes_billed
|
"/bigquery:v2/JobStatistics2/totalBytesBilled": total_bytes_billed
|
||||||
"/bigquery:v2/JobStatistics2/totalBytesProcessed": total_bytes_processed
|
"/bigquery:v2/JobStatistics2/totalBytesProcessed": total_bytes_processed
|
||||||
|
"/bigquery:v2/JobStatistics2/totalSlotMs": total_slot_ms
|
||||||
"/bigquery:v2/JobStatistics2/undeclaredQueryParameters": undeclared_query_parameters
|
"/bigquery:v2/JobStatistics2/undeclaredQueryParameters": undeclared_query_parameters
|
||||||
"/bigquery:v2/JobStatistics2/undeclaredQueryParameters/undeclared_query_parameter": undeclared_query_parameter
|
"/bigquery:v2/JobStatistics2/undeclaredQueryParameters/undeclared_query_parameter": undeclared_query_parameter
|
||||||
"/bigquery:v2/JobStatistics3": job_statistics3
|
"/bigquery:v2/JobStatistics3": job_statistics3
|
||||||
|
@ -13127,6 +13128,10 @@
|
||||||
"/cloudtasks:v2beta2/CreateTaskRequest/task": task
|
"/cloudtasks:v2beta2/CreateTaskRequest/task": task
|
||||||
"/cloudtasks:v2beta2/Empty": empty
|
"/cloudtasks:v2beta2/Empty": empty
|
||||||
"/cloudtasks:v2beta2/GetIamPolicyRequest": get_iam_policy_request
|
"/cloudtasks:v2beta2/GetIamPolicyRequest": get_iam_policy_request
|
||||||
|
"/cloudtasks:v2beta2/ListLocationsResponse": list_locations_response
|
||||||
|
"/cloudtasks:v2beta2/ListLocationsResponse/locations": locations
|
||||||
|
"/cloudtasks:v2beta2/ListLocationsResponse/locations/location": location
|
||||||
|
"/cloudtasks:v2beta2/ListLocationsResponse/nextPageToken": next_page_token
|
||||||
"/cloudtasks:v2beta2/ListQueuesResponse": list_queues_response
|
"/cloudtasks:v2beta2/ListQueuesResponse": list_queues_response
|
||||||
"/cloudtasks:v2beta2/ListQueuesResponse/nextPageToken": next_page_token
|
"/cloudtasks:v2beta2/ListQueuesResponse/nextPageToken": next_page_token
|
||||||
"/cloudtasks:v2beta2/ListQueuesResponse/queues": queues
|
"/cloudtasks:v2beta2/ListQueuesResponse/queues": queues
|
||||||
|
@ -13135,6 +13140,13 @@
|
||||||
"/cloudtasks:v2beta2/ListTasksResponse/nextPageToken": next_page_token
|
"/cloudtasks:v2beta2/ListTasksResponse/nextPageToken": next_page_token
|
||||||
"/cloudtasks:v2beta2/ListTasksResponse/tasks": tasks
|
"/cloudtasks:v2beta2/ListTasksResponse/tasks": tasks
|
||||||
"/cloudtasks:v2beta2/ListTasksResponse/tasks/task": task
|
"/cloudtasks:v2beta2/ListTasksResponse/tasks/task": task
|
||||||
|
"/cloudtasks:v2beta2/Location": location
|
||||||
|
"/cloudtasks:v2beta2/Location/labels": labels
|
||||||
|
"/cloudtasks:v2beta2/Location/labels/label": label
|
||||||
|
"/cloudtasks:v2beta2/Location/locationId": location_id
|
||||||
|
"/cloudtasks:v2beta2/Location/metadata": metadata
|
||||||
|
"/cloudtasks:v2beta2/Location/metadata/metadatum": metadatum
|
||||||
|
"/cloudtasks:v2beta2/Location/name": name
|
||||||
"/cloudtasks:v2beta2/PauseQueueRequest": pause_queue_request
|
"/cloudtasks:v2beta2/PauseQueueRequest": pause_queue_request
|
||||||
"/cloudtasks:v2beta2/Policy": policy
|
"/cloudtasks:v2beta2/Policy": policy
|
||||||
"/cloudtasks:v2beta2/Policy/bindings": bindings
|
"/cloudtasks:v2beta2/Policy/bindings": bindings
|
||||||
|
@ -13215,6 +13227,13 @@
|
||||||
"/cloudtasks:v2beta2/ThrottleConfig/maxBurstSize": max_burst_size
|
"/cloudtasks:v2beta2/ThrottleConfig/maxBurstSize": max_burst_size
|
||||||
"/cloudtasks:v2beta2/ThrottleConfig/maxOutstandingTasks": max_outstanding_tasks
|
"/cloudtasks:v2beta2/ThrottleConfig/maxOutstandingTasks": max_outstanding_tasks
|
||||||
"/cloudtasks:v2beta2/ThrottleConfig/maxTasksDispatchedPerSecond": max_tasks_dispatched_per_second
|
"/cloudtasks:v2beta2/ThrottleConfig/maxTasksDispatchedPerSecond": max_tasks_dispatched_per_second
|
||||||
|
"/cloudtasks:v2beta2/cloudtasks.projects.locations.get": get_project_location
|
||||||
|
"/cloudtasks:v2beta2/cloudtasks.projects.locations.get/name": name
|
||||||
|
"/cloudtasks:v2beta2/cloudtasks.projects.locations.list": list_project_locations
|
||||||
|
"/cloudtasks:v2beta2/cloudtasks.projects.locations.list/filter": filter
|
||||||
|
"/cloudtasks:v2beta2/cloudtasks.projects.locations.list/name": name
|
||||||
|
"/cloudtasks:v2beta2/cloudtasks.projects.locations.list/pageSize": page_size
|
||||||
|
"/cloudtasks:v2beta2/cloudtasks.projects.locations.list/pageToken": page_token
|
||||||
"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.create": create_project_location_queue
|
"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.create": create_project_location_queue
|
||||||
"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.create/parent": parent
|
"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.create/parent": parent
|
||||||
"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.delete": delete_project_location_queue
|
"/cloudtasks:v2beta2/cloudtasks.projects.locations.queues.delete": delete_project_location_queue
|
||||||
|
@ -52886,6 +52905,7 @@
|
||||||
"/sourcerepo:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member
|
"/sourcerepo:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member
|
||||||
"/sourcerepo:v1/AuditLogConfig/logType": log_type
|
"/sourcerepo:v1/AuditLogConfig/logType": log_type
|
||||||
"/sourcerepo:v1/Binding": binding
|
"/sourcerepo:v1/Binding": binding
|
||||||
|
"/sourcerepo:v1/Binding/condition": condition
|
||||||
"/sourcerepo:v1/Binding/members": members
|
"/sourcerepo:v1/Binding/members": members
|
||||||
"/sourcerepo:v1/Binding/members/member": member
|
"/sourcerepo:v1/Binding/members/member": member
|
||||||
"/sourcerepo:v1/Binding/role": role
|
"/sourcerepo:v1/Binding/role": role
|
||||||
|
@ -52904,6 +52924,11 @@
|
||||||
"/sourcerepo:v1/CounterOptions/metric": metric
|
"/sourcerepo:v1/CounterOptions/metric": metric
|
||||||
"/sourcerepo:v1/DataAccessOptions": data_access_options
|
"/sourcerepo:v1/DataAccessOptions": data_access_options
|
||||||
"/sourcerepo:v1/Empty": empty
|
"/sourcerepo:v1/Empty": empty
|
||||||
|
"/sourcerepo:v1/Expr": expr
|
||||||
|
"/sourcerepo:v1/Expr/description": description
|
||||||
|
"/sourcerepo:v1/Expr/expression": expression
|
||||||
|
"/sourcerepo:v1/Expr/location": location
|
||||||
|
"/sourcerepo:v1/Expr/title": title
|
||||||
"/sourcerepo:v1/ListReposResponse": list_repos_response
|
"/sourcerepo:v1/ListReposResponse": list_repos_response
|
||||||
"/sourcerepo:v1/ListReposResponse/nextPageToken": next_page_token
|
"/sourcerepo:v1/ListReposResponse/nextPageToken": next_page_token
|
||||||
"/sourcerepo:v1/ListReposResponse/repos": repos
|
"/sourcerepo:v1/ListReposResponse/repos": repos
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'adexchangebuyer/v1.3/')
|
super('https://www.googleapis.com/', 'adexchangebuyer/v1.3/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/adexchangebuyer/v1.3'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets one account by ID.
|
# Gets one account by ID.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'adexchangeseller/v1/')
|
super('https://www.googleapis.com/', 'adexchangeseller/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/adexchangeseller/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# List all ad clients in this Ad Exchange account.
|
# List all ad clients in this Ad Exchange account.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'adexchangeseller/v1.1/')
|
super('https://www.googleapis.com/', 'adexchangeseller/v1.1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/adexchangeseller/v1.1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Get information about the selected Ad Exchange account.
|
# Get information about the selected Ad Exchange account.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'adexchangeseller/v2.0/')
|
super('https://www.googleapis.com/', 'adexchangeseller/v2.0/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/adexchangeseller/v2.0'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Get information about the selected Ad Exchange account.
|
# Get information about the selected Ad Exchange account.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'admin/datatransfer/v1/')
|
super('https://www.googleapis.com/', 'admin/datatransfer/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/admin/datatransfer_v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieves information about an application for the given application ID.
|
# Retrieves information about an application for the given application ID.
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'admin/directory/v1/')
|
super('https://www.googleapis.com/', 'admin/directory/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/admin/directory_v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Delete an ASP issued by a user.
|
# Delete an ASP issued by a user.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'adsense/v1.4/')
|
super('https://www.googleapis.com/', 'adsense/v1.4/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/adsense/v1.4'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Get information about the selected AdSense account.
|
# Get information about the selected AdSense account.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/adsense/host/
|
# @see https://developers.google.com/adsense/host/
|
||||||
module AdsensehostV4_1
|
module AdsensehostV4_1
|
||||||
VERSION = 'V4_1'
|
VERSION = 'V4_1'
|
||||||
REVISION = '20170910'
|
REVISION = '20170912'
|
||||||
|
|
||||||
# View and manage your AdSense host data and associated accounts
|
# View and manage your AdSense host data and associated accounts
|
||||||
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'adsensehost/v4.1/')
|
super('https://www.googleapis.com/', 'adsensehost/v4.1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/adsensehost/v4.1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Get information about the selected associated AdSense account.
|
# Get information about the selected associated AdSense account.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'analytics/v2.4/')
|
super('https://www.googleapis.com/', 'analytics/v2.4/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/analytics/v2.4'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns Analytics report data for a view (profile).
|
# Returns Analytics report data for a view (profile).
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'analytics/v3/')
|
super('https://www.googleapis.com/', 'analytics/v3/')
|
||||||
@batch_path = 'batch/analytics/v3'
|
@batch_path = 'batch'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns Analytics data for a view (profile).
|
# Returns Analytics data for a view (profile).
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'appsactivity/v1/')
|
super('https://www.googleapis.com/', 'appsactivity/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/appsactivity/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns a list of activities visible to the current logged in user. Visible
|
# Returns a list of activities visible to the current logged in user. Visible
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'appsmarket/v2/')
|
super('https://www.googleapis.com/', 'appsmarket/v2/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/appsmarket/v2'
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/games/services/web/api/states
|
# @see https://developers.google.com/games/services/web/api/states
|
||||||
module AppstateV1
|
module AppstateV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170831'
|
REVISION = '20170911'
|
||||||
|
|
||||||
# View and manage your data for this application
|
# View and manage your data for this application
|
||||||
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'appstate/v1/')
|
super('https://www.googleapis.com/', 'appstate/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/appstate/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Clears (sets to empty) the data for the passed key if and only if the passed
|
# Clears (sets to empty) the data for the passed key if and only if the passed
|
||||||
|
|
|
@ -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 = '20170903'
|
REVISION = '20170910'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -1985,6 +1985,11 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :total_bytes_processed
|
attr_accessor :total_bytes_processed
|
||||||
|
|
||||||
|
# [Output-only] Slot-milliseconds for the job.
|
||||||
|
# Corresponds to the JSON property `totalSlotMs`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :total_slot_ms
|
||||||
|
|
||||||
# [Output-only, Experimental] Standard SQL only: list of undeclared query
|
# [Output-only, Experimental] Standard SQL only: list of undeclared query
|
||||||
# parameters detected during a dry run validation.
|
# parameters detected during a dry run validation.
|
||||||
# Corresponds to the JSON property `undeclaredQueryParameters`
|
# Corresponds to the JSON property `undeclaredQueryParameters`
|
||||||
|
@ -2006,6 +2011,7 @@ module Google
|
||||||
@statement_type = args[:statement_type] if args.key?(:statement_type)
|
@statement_type = args[:statement_type] if args.key?(:statement_type)
|
||||||
@total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed)
|
@total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed)
|
||||||
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
|
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
|
||||||
|
@total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
|
||||||
@undeclared_query_parameters = args[:undeclared_query_parameters] if args.key?(:undeclared_query_parameters)
|
@undeclared_query_parameters = args[:undeclared_query_parameters] if args.key?(:undeclared_query_parameters)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -809,6 +809,7 @@ module Google
|
||||||
property :statement_type, as: 'statementType'
|
property :statement_type, as: 'statementType'
|
||||||
property :total_bytes_billed, :numeric_string => true, as: 'totalBytesBilled'
|
property :total_bytes_billed, :numeric_string => true, as: 'totalBytesBilled'
|
||||||
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
||||||
|
property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
|
||||||
collection :undeclared_query_parameters, as: 'undeclaredQueryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
|
collection :undeclared_query_parameters, as: 'undeclaredQueryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'blogger/v2/')
|
super('https://www.googleapis.com/', 'blogger/v2/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/blogger/v2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets one blog by id.
|
# Gets one blog by id.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/google-apps/calendar/firstapp
|
# @see https://developers.google.com/google-apps/calendar/firstapp
|
||||||
module CalendarV3
|
module CalendarV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20170903'
|
REVISION = '20170905'
|
||||||
|
|
||||||
# Manage your calendars
|
# Manage your calendars
|
||||||
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'calendar/v3/')
|
super('https://www.googleapis.com/', 'calendar/v3/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/calendar/v3'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes an access control rule.
|
# Deletes an access control rule.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'cloudmonitoring/v2beta2/projects/')
|
super('https://www.googleapis.com/', 'cloudmonitoring/v2beta2/projects/')
|
||||||
@batch_path = 'batch/cloudmonitoring/v2beta2'
|
@batch_path = 'batch'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Create a new metric.
|
# Create a new metric.
|
||||||
|
|
|
@ -20,13 +20,13 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Cloud Tasks API
|
# Cloud Tasks API
|
||||||
#
|
#
|
||||||
# Cloud Tasks enables developers to manage the execution of large numbers of
|
# Manages the execution of large numbers of distributed requests. Cloud Tasks is
|
||||||
# distributed requests. Cloud Tasks is in Alpha.
|
# in Alpha.
|
||||||
#
|
#
|
||||||
# @see https://cloud.google.com/cloud-tasks/
|
# @see https://cloud.google.com/cloud-tasks/
|
||||||
module CloudtasksV2beta2
|
module CloudtasksV2beta2
|
||||||
VERSION = 'V2beta2'
|
VERSION = 'V2beta2'
|
||||||
REVISION = '20170912'
|
REVISION = '20170915'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -354,38 +354,7 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# App Engine task target.
|
# Deprecated. Use AppEngineHttpRequest.
|
||||||
# An App Engine task is a task that has AppEngineTaskTarget set.
|
|
||||||
# This proto can only be used for tasks in a queue which has
|
|
||||||
# Queue.app_engine_queue_config set.
|
|
||||||
# Using this type of task target requires
|
|
||||||
# [`appengine.applications.get`](/appengine/docs/admin-api/access-control)
|
|
||||||
# Google IAM permission for the project
|
|
||||||
# and the following scope:
|
|
||||||
# `https://www.googleapis.com/auth/cloud-platform`
|
|
||||||
# The task will be delivered to the URL specified by the
|
|
||||||
# AppEngineQueueConfig and AppEngineTaskTarget in the App Engine app
|
|
||||||
# which belongs to the same project as the queue. For more information, see
|
|
||||||
# [How Requests are Routed](/appengine/docs/standard/python/how-requests-are-
|
|
||||||
# routed)
|
|
||||||
# and how routing is affected by
|
|
||||||
# [dispatch files](/appengine/docs/python/config/dispatchref).
|
|
||||||
# The AppEngineRouting used to construct the URL can be set at
|
|
||||||
# the queue-level or task-level:
|
|
||||||
# * If set, AppEngineQueueConfig.app_engine_routing_override is used for
|
|
||||||
# all tasks in the queue, no matter what the setting is for the
|
|
||||||
# task-level app_engine_routing.
|
|
||||||
# The `url` that the task will be sent to is:
|
|
||||||
# * `url =` AppEngineRouting.host `+` AppEngineTaskTarget.relative_url
|
|
||||||
# The task will be sent to a task handler by an HTTP
|
|
||||||
# request using the specified AppEngineTaskTarget.http_method (for example
|
|
||||||
# POST, HTTP GET, etc). The task attempt has succeeded if the task handler
|
|
||||||
# returns an HTTP response code in the range [200 - 299]. Error 503 is
|
|
||||||
# considered an App Engine system error instead of an application error.
|
|
||||||
# Requests returning error 503 will be retried regardless of retry
|
|
||||||
# configuration and not counted against retry counts.
|
|
||||||
# Any other response code or a failure to receive a response before the
|
|
||||||
# deadline is a failed attempt.
|
|
||||||
class AppEngineTaskTarget
|
class AppEngineTaskTarget
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -402,69 +371,23 @@ module Google
|
||||||
# @return [Google::Apis::CloudtasksV2beta2::AppEngineRouting]
|
# @return [Google::Apis::CloudtasksV2beta2::AppEngineRouting]
|
||||||
attr_accessor :app_engine_routing
|
attr_accessor :app_engine_routing
|
||||||
|
|
||||||
# HTTP request headers.
|
# Deprecated. Use AppEngineHttpRequest.headers.
|
||||||
# This map contains the header field names and values.
|
|
||||||
# Headers can be set when the
|
|
||||||
# [task is created](google.cloud.tasks.v2beta2.CloudTasks.CreateTask).
|
|
||||||
# Repeated headers are not supported but a header value can contain commas.
|
|
||||||
# Cloud Tasks sets some headers to default values:
|
|
||||||
# * `User-Agent`: By default, this header is
|
|
||||||
# `"AppEngine-Google; (+http://code.google.com/appengine)"`.
|
|
||||||
# This header can be modified, but Cloud Tasks will append
|
|
||||||
# `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
|
|
||||||
# modified `User-Agent`.
|
|
||||||
# If the task has an AppEngineTaskTarget.payload, Cloud Tasks sets the
|
|
||||||
# following headers:
|
|
||||||
# * `Content-Type`: By default, the `Content-Type` header is set to
|
|
||||||
# `"application/octet-stream"`. The default can be overridden by explictly
|
|
||||||
# setting `Content-Type` to a particular media type when the
|
|
||||||
# [task is created](google.cloud.tasks.v2beta2.CloudTasks.CreateTask).
|
|
||||||
# For example, `Content-Type` can be set to `"application/json"`.
|
|
||||||
# * `Content-Length`: This is computed by Cloud Tasks. This value is
|
|
||||||
# output only. It cannot be changed.
|
|
||||||
# The headers below cannot be set or overridden:
|
|
||||||
# * `Host`
|
|
||||||
# * `X-Google-*`
|
|
||||||
# * `X-AppEngine-*`
|
|
||||||
# In addition, some App Engine headers, which contain
|
|
||||||
# task-specific information, are also be sent to the task handler; see
|
|
||||||
# [request headers](/appengine/docs/python/taskqueue/push/creating-handlers#
|
|
||||||
# reading_request_headers).
|
|
||||||
# Corresponds to the JSON property `headers`
|
# Corresponds to the JSON property `headers`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :headers
|
attr_accessor :headers
|
||||||
|
|
||||||
# The HTTP method to use for the request. The default is POST.
|
# Deprecated. Use AppEngineHttpRequest.http_method.
|
||||||
# The app's request handler for the task's target URL must be able to handle
|
|
||||||
# HTTP requests with this http_method, otherwise the task attempt will fail
|
|
||||||
# with error code 405 "Method Not Allowed" because "the method specified in
|
|
||||||
# the Request-Line is not allowed for the resource identified by the
|
|
||||||
# Request-URI". See
|
|
||||||
# [Writing a push task request handler](/appengine/docs/java/taskqueue/push/
|
|
||||||
# creating-handlers#writing_a_push_task_request_handler)
|
|
||||||
# and the documentation for the request handlers in the language your app is
|
|
||||||
# written in e.g.
|
|
||||||
# [python RequestHandler](/appengine/docs/python/tools/webapp/
|
|
||||||
# requesthandlerclass).
|
|
||||||
# Corresponds to the JSON property `httpMethod`
|
# Corresponds to the JSON property `httpMethod`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :http_method
|
attr_accessor :http_method
|
||||||
|
|
||||||
# Payload.
|
# Deprecated. Use AppEngineHttpRequest.payload.
|
||||||
# The payload will be sent as the HTTP message body. A message
|
|
||||||
# body, and thus a payload, is allowed only if the HTTP method is
|
|
||||||
# POST or PUT. It is an error to set a data payload on a task with
|
|
||||||
# an incompatible HttpMethod.
|
|
||||||
# Corresponds to the JSON property `payload`
|
# Corresponds to the JSON property `payload`
|
||||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :payload
|
attr_accessor :payload
|
||||||
|
|
||||||
# The relative URL.
|
# Deprecated. Use AppEngineHttpRequest.relative_url.
|
||||||
# The relative URL must begin with "/" and must be a valid HTTP relative URL.
|
|
||||||
# It can contain a path, query string arguments, and `#` fragments.
|
|
||||||
# If the relative URL is empty, then the root path "/" will be used.
|
|
||||||
# No spaces are allowed, and the maximum length allowed is 2083 characters.
|
|
||||||
# Corresponds to the JSON property `relativeUrl`
|
# Corresponds to the JSON property `relativeUrl`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :relative_url
|
attr_accessor :relative_url
|
||||||
|
@ -709,6 +632,31 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# The response message for Locations.ListLocations.
|
||||||
|
class ListLocationsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# A list of locations that matches the specified filter in the request.
|
||||||
|
# Corresponds to the JSON property `locations`
|
||||||
|
# @return [Array<Google::Apis::CloudtasksV2beta2::Location>]
|
||||||
|
attr_accessor :locations
|
||||||
|
|
||||||
|
# The standard List next-page token.
|
||||||
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@locations = args[:locations] if args.key?(:locations)
|
||||||
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Response message for CloudTasks.ListQueues.
|
# Response message for CloudTasks.ListQueues.
|
||||||
class ListQueuesResponse
|
class ListQueuesResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -770,6 +718,46 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# A resource that represents Google Cloud Platform location.
|
||||||
|
class Location
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Cross-service attributes for the location. For example
|
||||||
|
# `"cloud.googleapis.com/region": "us-east1"`
|
||||||
|
# Corresponds to the JSON property `labels`
|
||||||
|
# @return [Hash<String,String>]
|
||||||
|
attr_accessor :labels
|
||||||
|
|
||||||
|
# The canonical id for this location. For example: `"us-east1"`.
|
||||||
|
# Corresponds to the JSON property `locationId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :location_id
|
||||||
|
|
||||||
|
# Service-specific metadata. For example the available capacity at the given
|
||||||
|
# location.
|
||||||
|
# Corresponds to the JSON property `metadata`
|
||||||
|
# @return [Hash<String,Object>]
|
||||||
|
attr_accessor :metadata
|
||||||
|
|
||||||
|
# Resource name for the location, which may vary between implementations.
|
||||||
|
# For example: `"projects/example-project/locations/us-east1"`
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
|
@location_id = args[:location_id] if args.key?(:location_id)
|
||||||
|
@metadata = args[:metadata] if args.key?(:metadata)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Request message for CloudTasks.PauseQueue.
|
# Request message for CloudTasks.PauseQueue.
|
||||||
class PauseQueueRequest
|
class PauseQueueRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -908,23 +896,17 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Pull task target.
|
# Deprecated. Use PullMessage.
|
||||||
# A pull task is a task that has PullTaskTarget set.
|
|
||||||
# This proto can only be used for tasks in a queue which has
|
|
||||||
# Queue.pull_queue_config set.
|
|
||||||
class PullTaskTarget
|
class PullTaskTarget
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# A data payload consumed by the task worker to execute the task.
|
# Deprecated. Use PullMessage.payload.
|
||||||
# Corresponds to the JSON property `payload`
|
# Corresponds to the JSON property `payload`
|
||||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :payload
|
attr_accessor :payload
|
||||||
|
|
||||||
# A meta-data tag for this task.
|
# Deprecated. Use PullMessage.tag.
|
||||||
# This value is used by CloudTasks.PullTasks calls when
|
|
||||||
# PullTasksRequest.filter is `tag=<tag>`.
|
|
||||||
# The tag must be less than 500 bytes.
|
|
||||||
# Corresponds to the JSON property `tag`
|
# Corresponds to the JSON property `tag`
|
||||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -948,7 +930,7 @@ module Google
|
||||||
# `filter` can be used to specify a subset of tasks to lease.
|
# `filter` can be used to specify a subset of tasks to lease.
|
||||||
# When `filter` is set to `tag=<my-tag>` then the
|
# When `filter` is set to `tag=<my-tag>` then the
|
||||||
# PullTasksResponse will contain only tasks whose
|
# PullTasksResponse will contain only tasks whose
|
||||||
# PullTaskTarget.tag is equal to `<my-tag>`. `<my-tag>` can be
|
# PullMessage.tag is equal to `<my-tag>`. `<my-tag>` can be
|
||||||
# a bytes encoded as a string and must be less than 500 bytes.
|
# a bytes encoded as a string and must be less than 500 bytes.
|
||||||
# If `<my-tag>` includes whitespace or special characters (characters which
|
# If `<my-tag>` includes whitespace or special characters (characters which
|
||||||
# aren't letters, numbers, or underscores), then it must be double-quoted.
|
# aren't letters, numbers, or underscores), then it must be double-quoted.
|
||||||
|
@ -1489,38 +1471,7 @@ module Google
|
||||||
# @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest]
|
# @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest]
|
||||||
attr_accessor :app_engine_http_request
|
attr_accessor :app_engine_http_request
|
||||||
|
|
||||||
# App Engine task target.
|
# Deprecated. Use AppEngineHttpRequest.
|
||||||
# An App Engine task is a task that has AppEngineTaskTarget set.
|
|
||||||
# This proto can only be used for tasks in a queue which has
|
|
||||||
# Queue.app_engine_queue_config set.
|
|
||||||
# Using this type of task target requires
|
|
||||||
# [`appengine.applications.get`](/appengine/docs/admin-api/access-control)
|
|
||||||
# Google IAM permission for the project
|
|
||||||
# and the following scope:
|
|
||||||
# `https://www.googleapis.com/auth/cloud-platform`
|
|
||||||
# The task will be delivered to the URL specified by the
|
|
||||||
# AppEngineQueueConfig and AppEngineTaskTarget in the App Engine app
|
|
||||||
# which belongs to the same project as the queue. For more information, see
|
|
||||||
# [How Requests are Routed](/appengine/docs/standard/python/how-requests-are-
|
|
||||||
# routed)
|
|
||||||
# and how routing is affected by
|
|
||||||
# [dispatch files](/appengine/docs/python/config/dispatchref).
|
|
||||||
# The AppEngineRouting used to construct the URL can be set at
|
|
||||||
# the queue-level or task-level:
|
|
||||||
# * If set, AppEngineQueueConfig.app_engine_routing_override is used for
|
|
||||||
# all tasks in the queue, no matter what the setting is for the
|
|
||||||
# task-level app_engine_routing.
|
|
||||||
# The `url` that the task will be sent to is:
|
|
||||||
# * `url =` AppEngineRouting.host `+` AppEngineTaskTarget.relative_url
|
|
||||||
# The task will be sent to a task handler by an HTTP
|
|
||||||
# request using the specified AppEngineTaskTarget.http_method (for example
|
|
||||||
# POST, HTTP GET, etc). The task attempt has succeeded if the task handler
|
|
||||||
# returns an HTTP response code in the range [200 - 299]. Error 503 is
|
|
||||||
# considered an App Engine system error instead of an application error.
|
|
||||||
# Requests returning error 503 will be retried regardless of retry
|
|
||||||
# configuration and not counted against retry counts.
|
|
||||||
# Any other response code or a failure to receive a response before the
|
|
||||||
# deadline is a failed attempt.
|
|
||||||
# Corresponds to the JSON property `appEngineTaskTarget`
|
# Corresponds to the JSON property `appEngineTaskTarget`
|
||||||
# @return [Google::Apis::CloudtasksV2beta2::AppEngineTaskTarget]
|
# @return [Google::Apis::CloudtasksV2beta2::AppEngineTaskTarget]
|
||||||
attr_accessor :app_engine_task_target
|
attr_accessor :app_engine_task_target
|
||||||
|
@ -1559,10 +1510,7 @@ module Google
|
||||||
# @return [Google::Apis::CloudtasksV2beta2::PullMessage]
|
# @return [Google::Apis::CloudtasksV2beta2::PullMessage]
|
||||||
attr_accessor :pull_message
|
attr_accessor :pull_message
|
||||||
|
|
||||||
# Pull task target.
|
# Deprecated. Use PullMessage.
|
||||||
# A pull task is a task that has PullTaskTarget set.
|
|
||||||
# This proto can only be used for tasks in a queue which has
|
|
||||||
# Queue.pull_queue_config set.
|
|
||||||
# Corresponds to the JSON property `pullTaskTarget`
|
# Corresponds to the JSON property `pullTaskTarget`
|
||||||
# @return [Google::Apis::CloudtasksV2beta2::PullTaskTarget]
|
# @return [Google::Apis::CloudtasksV2beta2::PullTaskTarget]
|
||||||
attr_accessor :pull_task_target
|
attr_accessor :pull_task_target
|
||||||
|
@ -1716,7 +1664,7 @@ module Google
|
||||||
# [bucket_size in queue.yaml](/appengine/docs/standard/python/config/queueref#
|
# [bucket_size in queue.yaml](/appengine/docs/standard/python/config/queueref#
|
||||||
# bucket_size).
|
# bucket_size).
|
||||||
# Corresponds to the JSON property `maxBurstSize`
|
# Corresponds to the JSON property `maxBurstSize`
|
||||||
# @return [Float]
|
# @return [Fixnum]
|
||||||
attr_accessor :max_burst_size
|
attr_accessor :max_burst_size
|
||||||
|
|
||||||
# The maximum number of outstanding tasks that Cloud Tasks allows
|
# The maximum number of outstanding tasks that Cloud Tasks allows
|
||||||
|
|
|
@ -94,6 +94,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListLocationsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ListQueuesResponse
|
class ListQueuesResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -106,6 +112,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Location
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class PauseQueueRequest
|
class PauseQueueRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -337,6 +349,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ListLocationsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :locations, as: 'locations', class: Google::Apis::CloudtasksV2beta2::Location, decorator: Google::Apis::CloudtasksV2beta2::Location::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ListQueuesResponse
|
class ListQueuesResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -355,6 +376,16 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Location
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
hash :labels, as: 'labels'
|
||||||
|
property :location_id, as: 'locationId'
|
||||||
|
hash :metadata, as: 'metadata'
|
||||||
|
property :name, as: 'name'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class PauseQueueRequest
|
class PauseQueueRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -22,8 +22,8 @@ module Google
|
||||||
module CloudtasksV2beta2
|
module CloudtasksV2beta2
|
||||||
# Cloud Tasks API
|
# Cloud Tasks API
|
||||||
#
|
#
|
||||||
# Cloud Tasks enables developers to manage the execution of large numbers of
|
# Manages the execution of large numbers of distributed requests. Cloud Tasks is
|
||||||
# distributed requests. Cloud Tasks is in Alpha.
|
# in Alpha.
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# require 'google/apis/cloudtasks_v2beta2'
|
# require 'google/apis/cloudtasks_v2beta2'
|
||||||
|
@ -48,6 +48,75 @@ module Google
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Get information about a location.
|
||||||
|
# @param [String] name
|
||||||
|
# Resource name for the location.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudtasksV2beta2::Location] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudtasksV2beta2::Location]
|
||||||
|
#
|
||||||
|
# @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_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v2beta2/{+name}', options)
|
||||||
|
command.response_representation = Google::Apis::CloudtasksV2beta2::Location::Representation
|
||||||
|
command.response_class = Google::Apis::CloudtasksV2beta2::Location
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Lists information about the supported locations for this service.
|
||||||
|
# @param [String] name
|
||||||
|
# The resource that owns the locations collection, if applicable.
|
||||||
|
# @param [String] filter
|
||||||
|
# The standard list filter.
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# The standard list page size.
|
||||||
|
# @param [String] page_token
|
||||||
|
# The standard list page token.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudtasksV2beta2::ListLocationsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudtasksV2beta2::ListLocationsResponse]
|
||||||
|
#
|
||||||
|
# @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_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v2beta2/{+name}/locations', options)
|
||||||
|
command.response_representation = Google::Apis::CloudtasksV2beta2::ListLocationsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::CloudtasksV2beta2::ListLocationsResponse
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['filter'] = filter unless filter.nil?
|
||||||
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Creates a queue.
|
# Creates a queue.
|
||||||
# WARNING: This method is only available to whitelisted
|
# WARNING: This method is only available to whitelisted
|
||||||
# users. Using this method carries some risk. Read
|
# users. Using this method carries some risk. Read
|
||||||
|
@ -740,7 +809,7 @@ module Google
|
||||||
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
|
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
|
||||||
# @param [String] order_by
|
# @param [String] order_by
|
||||||
# Sort order used for the query. The fields supported for sorting
|
# Sort order used for the query. The fields supported for sorting
|
||||||
# are Task.schedule_time and PullTaskTarget.tag. All results will be
|
# are Task.schedule_time and PullMessage.tag. All results will be
|
||||||
# returned in ascending order. The default ordering is by
|
# returned in ascending order. The default ordering is by
|
||||||
# Task.schedule_time.
|
# Task.schedule_time.
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'clouduseraccounts/vm_beta/projects/')
|
super('https://www.googleapis.com/', 'clouduseraccounts/vm_beta/projects/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/clouduseraccounts/vm_beta'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes the specified operation resource.
|
# Deletes the specified operation resource.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'compute/beta/projects/')
|
super('https://www.googleapis.com/', 'compute/beta/projects/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/compute/beta'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieves an aggregated list of accelerator types.
|
# Retrieves an aggregated list of accelerator types.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'consumersurveys/v2/')
|
super('https://www.googleapis.com/', 'consumersurveys/v2/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/consumersurveys/v2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieves a MobileAppPanel that is available to the authenticated user.
|
# Retrieves a MobileAppPanel that is available to the authenticated user.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/shopping-content
|
# @see https://developers.google.com/shopping-content
|
||||||
module ContentV2
|
module ContentV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20170912'
|
REVISION = '20170914'
|
||||||
|
|
||||||
# Manage your product listings and accounts for Google Shopping
|
# Manage your product listings and accounts for Google Shopping
|
||||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'customsearch/')
|
super('https://www.googleapis.com/', 'customsearch/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/customsearch/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns metadata about the search performed, metadata about the custom search
|
# Returns metadata about the search performed, metadata about the custom search
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'dfareporting/v2.7/')
|
super('https://www.googleapis.com/', 'dfareporting/v2.7/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/dfareporting/v2.7'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the account's active ad summary by account ID.
|
# Gets the account's active ad summary by account ID.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'dfareporting/v2.8/')
|
super('https://www.googleapis.com/', 'dfareporting/v2.8/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/dfareporting/v2.8'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the account's active ad summary by account ID.
|
# Gets the account's active ad summary by account ID.
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'discovery/v1/')
|
super('https://www.googleapis.com/', 'discovery/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/discovery/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieve the description of a particular version of an api.
|
# Retrieve the description of a particular version of an api.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'doubleclickbidmanager/v1/')
|
super('https://www.googleapis.com/', 'doubleclickbidmanager/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/doubleclickbidmanager/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieves line items in CSV format.
|
# Retrieves line items in CSV format.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'fusiontables/v1/')
|
super('https://www.googleapis.com/', 'fusiontables/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/fusiontables/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes the column.
|
# Deletes the column.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'fusiontables/v2/')
|
super('https://www.googleapis.com/', 'fusiontables/v2/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/fusiontables/v2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes the specified column.
|
# Deletes the specified column.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/games/services
|
# @see https://developers.google.com/games/services
|
||||||
module GamesConfigurationV1configuration
|
module GamesConfigurationV1configuration
|
||||||
VERSION = 'V1configuration'
|
VERSION = 'V1configuration'
|
||||||
REVISION = '20170911'
|
REVISION = '20170912'
|
||||||
|
|
||||||
# View and manage your Google Play Developer account
|
# View and manage your Google Play Developer account
|
||||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/games/services
|
# @see https://developers.google.com/games/services
|
||||||
module GamesManagementV1management
|
module GamesManagementV1management
|
||||||
VERSION = 'V1management'
|
VERSION = 'V1management'
|
||||||
REVISION = '20170831'
|
REVISION = '20170911'
|
||||||
|
|
||||||
# Share your Google+ profile information and view and manage your game activity
|
# Share your Google+ profile information and view and manage your game activity
|
||||||
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'games/v1management/')
|
super('https://www.googleapis.com/', 'games/v1management/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/gamesManagement/v1management'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Resets the achievement with the given ID for the currently authenticated
|
# Resets the achievement with the given ID for the currently authenticated
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'games/v1/')
|
super('https://www.googleapis.com/', 'games/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/games/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists all the achievement definitions for your application.
|
# Lists all the achievement definitions for your application.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/gmail/api/
|
# @see https://developers.google.com/gmail/api/
|
||||||
module GmailV1
|
module GmailV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170905'
|
REVISION = '20170913'
|
||||||
|
|
||||||
# Read, send, delete, and manage your email
|
# Read, send, delete, and manage your email
|
||||||
AUTH_SCOPE = 'https://mail.google.com/'
|
AUTH_SCOPE = 'https://mail.google.com/'
|
||||||
|
|
|
@ -485,13 +485,6 @@ module Google
|
||||||
class Label
|
class Label
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Color to assign to the label. This field is hidden behind an API server mendel
|
|
||||||
# experiment and only available for user-defined labels. Will be unset if the
|
|
||||||
# label doesn't have a color configured.
|
|
||||||
# Corresponds to the JSON property `color`
|
|
||||||
# @return [Google::Apis::GmailV1::LabelColor]
|
|
||||||
attr_accessor :color
|
|
||||||
|
|
||||||
# The immutable ID of the label.
|
# The immutable ID of the label.
|
||||||
# Corresponds to the JSON property `id`
|
# Corresponds to the JSON property `id`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -550,7 +543,6 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@color = args[:color] if args.key?(:color)
|
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@label_list_visibility = args[:label_list_visibility] if args.key?(:label_list_visibility)
|
@label_list_visibility = args[:label_list_visibility] if args.key?(:label_list_visibility)
|
||||||
@message_list_visibility = args[:message_list_visibility] if args.key?(:message_list_visibility)
|
@message_list_visibility = args[:message_list_visibility] if args.key?(:message_list_visibility)
|
||||||
|
@ -563,34 +555,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
|
||||||
class LabelColor
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# Background color represented as hex string #RRGGBB (ex #000000). Only a
|
|
||||||
# restricted predefined set of color values are allowed. See (go/gmail-api-label-
|
|
||||||
# colors).
|
|
||||||
# Corresponds to the JSON property `backgroundColor`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :background_color
|
|
||||||
|
|
||||||
# Text color represented as hex string #RRGGBB (ex #000000). Only a restricted
|
|
||||||
# predefined set of color values are allowed. See (go/gmail-api-label-colors).
|
|
||||||
# Corresponds to the JSON property `textColor`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :text_color
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@background_color = args[:background_color] if args.key?(:background_color)
|
|
||||||
@text_color = args[:text_color] if args.key?(:text_color)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
#
|
#
|
||||||
class ListDraftsResponse
|
class ListDraftsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -112,12 +112,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class LabelColor
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListDraftsResponse
|
class ListDraftsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -403,8 +397,6 @@ module Google
|
||||||
class Label
|
class Label
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :color, as: 'color', class: Google::Apis::GmailV1::LabelColor, decorator: Google::Apis::GmailV1::LabelColor::Representation
|
|
||||||
|
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
property :label_list_visibility, as: 'labelListVisibility'
|
property :label_list_visibility, as: 'labelListVisibility'
|
||||||
property :message_list_visibility, as: 'messageListVisibility'
|
property :message_list_visibility, as: 'messageListVisibility'
|
||||||
|
@ -417,14 +409,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class LabelColor
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :background_color, as: 'backgroundColor'
|
|
||||||
property :text_color, as: 'textColor'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListDraftsResponse
|
class ListDraftsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'gmail/v1/users/')
|
super('https://www.googleapis.com/', 'gmail/v1/users/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/gmail/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the current user's Gmail profile.
|
# Gets the current user's Gmail profile.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'groups/v1/groups/')
|
super('https://www.googleapis.com/', 'groups/v1/groups/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/groupssettings/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets one resource by id.
|
# Gets one resource by id.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'mirror/v1/')
|
super('https://www.googleapis.com/', 'mirror/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/mirror/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Inserts a new account for a user
|
# Inserts a new account for a user
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'pagespeedonline/v1/')
|
super('https://www.googleapis.com/', 'pagespeedonline/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/pagespeedonline/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Runs PageSpeed analysis on the page at the specified URL, and returns a
|
# Runs PageSpeed analysis on the page at the specified URL, and returns a
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'pagespeedonline/v2/')
|
super('https://www.googleapis.com/', 'pagespeedonline/v2/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/pagespeedonline/v2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Runs PageSpeed analysis on the page at the specified URL, and returns
|
# Runs PageSpeed analysis on the page at the specified URL, and returns
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'prediction/v1.2/')
|
super('https://www.googleapis.com/', 'prediction/v1.2/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/prediction/v1.2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Submit data and request a prediction
|
# Submit data and request a prediction
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'prediction/v1.3/')
|
super('https://www.googleapis.com/', 'prediction/v1.3/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/prediction/v1.3'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Submit input and request an output against a hosted model
|
# Submit input and request an output against a hosted model
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'prediction/v1.4/')
|
super('https://www.googleapis.com/', 'prediction/v1.4/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/prediction/v1.4'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Submit input and request an output against a hosted model.
|
# Submit input and request an output against a hosted model.
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'prediction/v1.5/')
|
super('https://www.googleapis.com/', 'prediction/v1.5/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/prediction/v1.5'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Submit input and request an output against a hosted model.
|
# Submit input and request an output against a hosted model.
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'replicapool/v1beta1/projects/')
|
super('https://www.googleapis.com/', 'replicapool/v1beta1/projects/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/replicapool/v1beta1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes a replica pool.
|
# Deletes a replica pool.
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'replicapool/v1beta2/projects/')
|
super('https://www.googleapis.com/', 'replicapool/v1beta2/projects/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/replicapool/v1beta2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Removes the specified instances from the managed instance group, and from any
|
# Removes the specified instances from the managed instance group, and from any
|
||||||
|
|
|
@ -52,7 +52,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'replicapoolupdater/v1beta1/projects/')
|
super('https://www.googleapis.com/', 'replicapoolupdater/v1beta1/projects/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/replicapoolupdater/v1beta1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Cancels an update. The update must be PAUSED before it can be cancelled. This
|
# Cancels an update. The update must be PAUSED before it can be cancelled. This
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'apps/reseller/v1/')
|
super('https://www.googleapis.com/', 'apps/reseller/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/reseller/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Get a customer account.
|
# Get a customer account.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'siteVerification/v1/')
|
super('https://www.googleapis.com/', 'siteVerification/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/siteVerification/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Relinquish ownership of a website or domain.
|
# Relinquish ownership of a website or domain.
|
||||||
|
|
|
@ -25,11 +25,14 @@ module Google
|
||||||
# @see https://cloud.google.com/source-repositories/docs/apis
|
# @see https://cloud.google.com/source-repositories/docs/apis
|
||||||
module SourcerepoV1
|
module SourcerepoV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170528'
|
REVISION = '20170908'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
||||||
|
# Manage your source code repositories
|
||||||
|
AUTH_SOURCE_FULL_CONTROL = 'https://www.googleapis.com/auth/source.full_control'
|
||||||
|
|
||||||
# View the contents of your source code repositories
|
# View the contents of your source code repositories
|
||||||
AUTH_SOURCE_READ_ONLY = 'https://www.googleapis.com/auth/source.read_only'
|
AUTH_SOURCE_READ_ONLY = 'https://www.googleapis.com/auth/source.read_only'
|
||||||
|
|
||||||
|
|
|
@ -149,6 +149,14 @@ module Google
|
||||||
class Binding
|
class Binding
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Represents an expression text. Example:
|
||||||
|
# title: "User account presence"
|
||||||
|
# description: "Determines whether the request has a user account"
|
||||||
|
# expression: "size(request.user) > 0"
|
||||||
|
# Corresponds to the JSON property `condition`
|
||||||
|
# @return [Google::Apis::SourcerepoV1::Expr]
|
||||||
|
attr_accessor :condition
|
||||||
|
|
||||||
# Specifies the identities requesting access for a Cloud Platform resource.
|
# Specifies the identities requesting access for a Cloud Platform resource.
|
||||||
# `members` can have the following values:
|
# `members` can have the following values:
|
||||||
# * `allUsers`: A special identifier that represents anyone who is
|
# * `allUsers`: A special identifier that represents anyone who is
|
||||||
|
@ -180,118 +188,12 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@condition = args[:condition] if args.key?(:condition)
|
||||||
@members = args[:members] if args.key?(:members)
|
@members = args[:members] if args.key?(:members)
|
||||||
@role = args[:role] if args.key?(:role)
|
@role = args[:role] if args.key?(:role)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Write a Cloud Audit log
|
|
||||||
class CloudAuditOptions
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# The log_name to populate in the Cloud Audit Record.
|
|
||||||
# Corresponds to the JSON property `logName`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :log_name
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@log_name = args[:log_name] if args.key?(:log_name)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# A condition to be met.
|
|
||||||
class Condition
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# Trusted attributes supplied by the IAM system.
|
|
||||||
# Corresponds to the JSON property `iam`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :iam
|
|
||||||
|
|
||||||
# An operator to apply the subject with.
|
|
||||||
# Corresponds to the JSON property `op`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :op
|
|
||||||
|
|
||||||
# Trusted attributes discharged by the service.
|
|
||||||
# Corresponds to the JSON property `svc`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :svc
|
|
||||||
|
|
||||||
# Trusted attributes supplied by any service that owns resources and uses
|
|
||||||
# the IAM system for access control.
|
|
||||||
# Corresponds to the JSON property `sys`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :sys
|
|
||||||
|
|
||||||
# DEPRECATED. Use 'values' instead.
|
|
||||||
# Corresponds to the JSON property `value`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :value
|
|
||||||
|
|
||||||
# The objects of the condition. This is mutually exclusive with 'value'.
|
|
||||||
# Corresponds to the JSON property `values`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :values
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@iam = args[:iam] if args.key?(:iam)
|
|
||||||
@op = args[:op] if args.key?(:op)
|
|
||||||
@svc = args[:svc] if args.key?(:svc)
|
|
||||||
@sys = args[:sys] if args.key?(:sys)
|
|
||||||
@value = args[:value] if args.key?(:value)
|
|
||||||
@values = args[:values] if args.key?(:values)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Options for counters
|
|
||||||
class CounterOptions
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# The field value to attribute.
|
|
||||||
# Corresponds to the JSON property `field`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :field
|
|
||||||
|
|
||||||
# The metric to update.
|
|
||||||
# Corresponds to the JSON property `metric`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :metric
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@field = args[:field] if args.key?(:field)
|
|
||||||
@metric = args[:metric] if args.key?(:metric)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Write a Data Access (Gin) log
|
|
||||||
class DataAccessOptions
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# A generic empty message that you can re-use to avoid defining duplicated
|
# A generic empty message that you can re-use to avoid defining duplicated
|
||||||
# empty messages in your APIs. A typical example is to use it as the request
|
# empty messages in your APIs. A typical example is to use it as the request
|
||||||
# or the response type of an API method. For instance:
|
# or the response type of an API method. For instance:
|
||||||
|
@ -311,6 +213,53 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Represents an expression text. Example:
|
||||||
|
# title: "User account presence"
|
||||||
|
# description: "Determines whether the request has a user account"
|
||||||
|
# expression: "size(request.user) > 0"
|
||||||
|
class Expr
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# An optional description of the expression. This is a longer text which
|
||||||
|
# describes the expression, e.g. when hovered over it in a UI.
|
||||||
|
# Corresponds to the JSON property `description`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :description
|
||||||
|
|
||||||
|
# Textual representation of an expression in
|
||||||
|
# Common Expression Language syntax.
|
||||||
|
# The application context of the containing message determines which
|
||||||
|
# well-known feature set of CEL is supported.
|
||||||
|
# Corresponds to the JSON property `expression`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :expression
|
||||||
|
|
||||||
|
# An optional string indicating the location of the expression for error
|
||||||
|
# reporting, e.g. a file name and a position in the file.
|
||||||
|
# Corresponds to the JSON property `location`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :location
|
||||||
|
|
||||||
|
# An optional title for the expression, i.e. a short string describing
|
||||||
|
# its purpose. This can be used e.g. in UIs which allow to enter the
|
||||||
|
# expression.
|
||||||
|
# Corresponds to the JSON property `title`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :title
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@description = args[:description] if args.key?(:description)
|
||||||
|
@expression = args[:expression] if args.key?(:expression)
|
||||||
|
@location = args[:location] if args.key?(:location)
|
||||||
|
@title = args[:title] if args.key?(:title)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Response for ListRepos. The size is not set in the returned repositories.
|
# Response for ListRepos. The size is not set in the returned repositories.
|
||||||
class ListReposResponse
|
class ListReposResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -338,37 +287,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Specifies what kind of log the caller must write
|
|
||||||
class LogConfig
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# Write a Cloud Audit log
|
|
||||||
# Corresponds to the JSON property `cloudAudit`
|
|
||||||
# @return [Google::Apis::SourcerepoV1::CloudAuditOptions]
|
|
||||||
attr_accessor :cloud_audit
|
|
||||||
|
|
||||||
# Options for counters
|
|
||||||
# Corresponds to the JSON property `counter`
|
|
||||||
# @return [Google::Apis::SourcerepoV1::CounterOptions]
|
|
||||||
attr_accessor :counter
|
|
||||||
|
|
||||||
# Write a Data Access (Gin) log
|
|
||||||
# Corresponds to the JSON property `dataAccess`
|
|
||||||
# @return [Google::Apis::SourcerepoV1::DataAccessOptions]
|
|
||||||
attr_accessor :data_access
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
|
|
||||||
@counter = args[:counter] if args.key?(:counter)
|
|
||||||
@data_access = args[:data_access] if args.key?(:data_access)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Configuration to automatically mirror a repository from another
|
# Configuration to automatically mirror a repository from another
|
||||||
# hosting service, for example GitHub or BitBucket.
|
# hosting service, for example GitHub or BitBucket.
|
||||||
class MirrorConfig
|
class MirrorConfig
|
||||||
|
@ -441,7 +359,6 @@ module Google
|
||||||
attr_accessor :audit_configs
|
attr_accessor :audit_configs
|
||||||
|
|
||||||
# Associates a list of `members` to a `role`.
|
# Associates a list of `members` to a `role`.
|
||||||
# Multiple `bindings` must not be specified for the same `role`.
|
|
||||||
# `bindings` with no members will result in an error.
|
# `bindings` with no members will result in an error.
|
||||||
# Corresponds to the JSON property `bindings`
|
# Corresponds to the JSON property `bindings`
|
||||||
# @return [Array<Google::Apis::SourcerepoV1::Binding>]
|
# @return [Array<Google::Apis::SourcerepoV1::Binding>]
|
||||||
|
@ -467,19 +384,6 @@ module Google
|
||||||
attr_accessor :iam_owned
|
attr_accessor :iam_owned
|
||||||
alias_method :iam_owned?, :iam_owned
|
alias_method :iam_owned?, :iam_owned
|
||||||
|
|
||||||
# If more than one rule is specified, the rules are applied in the following
|
|
||||||
# manner:
|
|
||||||
# - All matching LOG rules are always applied.
|
|
||||||
# - If any DENY/DENY_WITH_LOG rule matches, permission is denied.
|
|
||||||
# Logging will be applied if one or more matching rule requires logging.
|
|
||||||
# - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is
|
|
||||||
# granted.
|
|
||||||
# Logging will be applied if one or more matching rule requires logging.
|
|
||||||
# - Otherwise, if no rule applies, permission is denied.
|
|
||||||
# Corresponds to the JSON property `rules`
|
|
||||||
# @return [Array<Google::Apis::SourcerepoV1::Rule>]
|
|
||||||
attr_accessor :rules
|
|
||||||
|
|
||||||
# Version of the `Policy`. The default version is 0.
|
# Version of the `Policy`. The default version is 0.
|
||||||
# Corresponds to the JSON property `version`
|
# Corresponds to the JSON property `version`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
|
@ -495,7 +399,6 @@ module Google
|
||||||
@bindings = args[:bindings] if args.key?(:bindings)
|
@bindings = args[:bindings] if args.key?(:bindings)
|
||||||
@etag = args[:etag] if args.key?(:etag)
|
@etag = args[:etag] if args.key?(:etag)
|
||||||
@iam_owned = args[:iam_owned] if args.key?(:iam_owned)
|
@iam_owned = args[:iam_owned] if args.key?(:iam_owned)
|
||||||
@rules = args[:rules] if args.key?(:rules)
|
|
||||||
@version = args[:version] if args.key?(:version)
|
@version = args[:version] if args.key?(:version)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -541,68 +444,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A rule to be applied in a Policy.
|
|
||||||
class Rule
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# Required
|
|
||||||
# Corresponds to the JSON property `action`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :action
|
|
||||||
|
|
||||||
# Additional restrictions that must be met
|
|
||||||
# Corresponds to the JSON property `conditions`
|
|
||||||
# @return [Array<Google::Apis::SourcerepoV1::Condition>]
|
|
||||||
attr_accessor :conditions
|
|
||||||
|
|
||||||
# Human-readable description of the rule.
|
|
||||||
# Corresponds to the JSON property `description`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :description
|
|
||||||
|
|
||||||
# If one or more 'in' clauses are specified, the rule matches if
|
|
||||||
# the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
|
|
||||||
# Corresponds to the JSON property `in`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :in
|
|
||||||
|
|
||||||
# The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
|
|
||||||
# that match the LOG action.
|
|
||||||
# Corresponds to the JSON property `logConfig`
|
|
||||||
# @return [Array<Google::Apis::SourcerepoV1::LogConfig>]
|
|
||||||
attr_accessor :log_config
|
|
||||||
|
|
||||||
# If one or more 'not_in' clauses are specified, the rule matches
|
|
||||||
# if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
|
|
||||||
# The format for in and not_in entries is the same as for members in a
|
|
||||||
# Binding (see google/iam/v1/policy.proto).
|
|
||||||
# Corresponds to the JSON property `notIn`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :not_in
|
|
||||||
|
|
||||||
# A permission is a string of form '<service>.<resource type>.<verb>'
|
|
||||||
# (e.g., 'storage.buckets.list'). A value of '*' matches all permissions,
|
|
||||||
# and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
|
|
||||||
# Corresponds to the JSON property `permissions`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :permissions
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@action = args[:action] if args.key?(:action)
|
|
||||||
@conditions = args[:conditions] if args.key?(:conditions)
|
|
||||||
@description = args[:description] if args.key?(:description)
|
|
||||||
@in = args[:in] if args.key?(:in)
|
|
||||||
@log_config = args[:log_config] if args.key?(:log_config)
|
|
||||||
@not_in = args[:not_in] if args.key?(:not_in)
|
|
||||||
@permissions = args[:permissions] if args.key?(:permissions)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Request message for `SetIamPolicy` method.
|
# Request message for `SetIamPolicy` method.
|
||||||
class SetIamPolicyRequest
|
class SetIamPolicyRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -40,43 +40,19 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class CloudAuditOptions
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class Condition
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class CounterOptions
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class DataAccessOptions
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class Empty
|
class Empty
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class ListReposResponse
|
class Expr
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class LogConfig
|
class ListReposResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
@ -100,12 +76,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Rule
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class SetIamPolicyRequest
|
class SetIamPolicyRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -145,50 +115,29 @@ module Google
|
||||||
class Binding
|
class Binding
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :condition, as: 'condition', class: Google::Apis::SourcerepoV1::Expr, decorator: Google::Apis::SourcerepoV1::Expr::Representation
|
||||||
|
|
||||||
collection :members, as: 'members'
|
collection :members, as: 'members'
|
||||||
property :role, as: 'role'
|
property :role, as: 'role'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class CloudAuditOptions
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :log_name, as: 'logName'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Condition
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :iam, as: 'iam'
|
|
||||||
property :op, as: 'op'
|
|
||||||
property :svc, as: 'svc'
|
|
||||||
property :sys, as: 'sys'
|
|
||||||
property :value, as: 'value'
|
|
||||||
collection :values, as: 'values'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class CounterOptions
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :field, as: 'field'
|
|
||||||
property :metric, as: 'metric'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class DataAccessOptions
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Empty
|
class Empty
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class Expr
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :description, as: 'description'
|
||||||
|
property :expression, as: 'expression'
|
||||||
|
property :location, as: 'location'
|
||||||
|
property :title, as: 'title'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ListReposResponse
|
class ListReposResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -198,18 +147,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class LogConfig
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SourcerepoV1::CloudAuditOptions, decorator: Google::Apis::SourcerepoV1::CloudAuditOptions::Representation
|
|
||||||
|
|
||||||
property :counter, as: 'counter', class: Google::Apis::SourcerepoV1::CounterOptions, decorator: Google::Apis::SourcerepoV1::CounterOptions::Representation
|
|
||||||
|
|
||||||
property :data_access, as: 'dataAccess', class: Google::Apis::SourcerepoV1::DataAccessOptions, decorator: Google::Apis::SourcerepoV1::DataAccessOptions::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class MirrorConfig
|
class MirrorConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -228,8 +165,6 @@ module Google
|
||||||
|
|
||||||
property :etag, :base64 => true, as: 'etag'
|
property :etag, :base64 => true, as: 'etag'
|
||||||
property :iam_owned, as: 'iamOwned'
|
property :iam_owned, as: 'iamOwned'
|
||||||
collection :rules, as: 'rules', class: Google::Apis::SourcerepoV1::Rule, decorator: Google::Apis::SourcerepoV1::Rule::Representation
|
|
||||||
|
|
||||||
property :version, as: 'version'
|
property :version, as: 'version'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -245,21 +180,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Rule
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :action, as: 'action'
|
|
||||||
collection :conditions, as: 'conditions', class: Google::Apis::SourcerepoV1::Condition, decorator: Google::Apis::SourcerepoV1::Condition::Representation
|
|
||||||
|
|
||||||
property :description, as: 'description'
|
|
||||||
collection :in, as: 'in'
|
|
||||||
collection :log_config, as: 'logConfig', class: Google::Apis::SourcerepoV1::LogConfig, decorator: Google::Apis::SourcerepoV1::LogConfig::Representation
|
|
||||||
|
|
||||||
collection :not_in, as: 'notIn'
|
|
||||||
collection :permissions, as: 'permissions'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class SetIamPolicyRequest
|
class SetIamPolicyRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'spectrum/v1explorer/paws/')
|
super('https://www.googleapis.com/', 'spectrum/v1explorer/paws/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/spectrum/v1explorer'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Requests information about the available spectrum for a device at a location.
|
# Requests information about the available spectrum for a device at a location.
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'sql/v1beta3/')
|
super('https://www.googleapis.com/', 'sql/v1beta3/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/sqladmin/v1beta3'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieves information about a specified backup run for a Cloud SQL instance.
|
# Retrieves information about a specified backup run for a Cloud SQL instance.
|
||||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
||||||
# @see https://developers.google.com/streetview/publish/
|
# @see https://developers.google.com/streetview/publish/
|
||||||
module StreetviewpublishV1
|
module StreetviewpublishV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170824'
|
REVISION = '20170914'
|
||||||
|
|
||||||
# Publish and manage your 360 photos on Google Street View
|
# Publish and manage your 360 photos on Google Street View
|
||||||
AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'
|
AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'
|
||||||
|
|
|
@ -645,9 +645,11 @@ module Google
|
||||||
attr_accessor :photo
|
attr_accessor :photo
|
||||||
|
|
||||||
# Mask that identifies fields on the photo metadata to update.
|
# Mask that identifies fields on the photo metadata to update.
|
||||||
# If not present, the old Photo metadata will be entirely replaced with the
|
# If not present, the old Photo
|
||||||
# new Photo metadata in this request. The update fails if invalid fields are
|
# metadata will be entirely replaced with the
|
||||||
# specified. Multiple fields can be specified in a comma-delimited list.
|
# new Photo metadata in this request.
|
||||||
|
# The update fails if invalid fields are specified. Multiple fields can be
|
||||||
|
# specified in a comma-delimited list.
|
||||||
# The following fields are valid:
|
# The following fields are valid:
|
||||||
# * `pose.heading`
|
# * `pose.heading`
|
||||||
# * `pose.latLngPair`
|
# * `pose.latLngPair`
|
||||||
|
|
|
@ -210,7 +210,7 @@ module Google
|
||||||
# Updates the metadata of a Photo, such
|
# Updates the metadata of a Photo, such
|
||||||
# as pose, place association, connections, etc. Changing the pixels of a
|
# as pose, place association, connections, etc. Changing the pixels of a
|
||||||
# photo is not supported.
|
# photo is not supported.
|
||||||
# Only the fields specified in
|
# Only the fields specified in the
|
||||||
# updateMask
|
# updateMask
|
||||||
# field are used. If `updateMask` is not present, the update applies to all
|
# field are used. If `updateMask` is not present, the update applies to all
|
||||||
# fields.
|
# fields.
|
||||||
|
@ -228,9 +228,11 @@ module Google
|
||||||
# @param [Google::Apis::StreetviewpublishV1::Photo] photo_object
|
# @param [Google::Apis::StreetviewpublishV1::Photo] photo_object
|
||||||
# @param [String] update_mask
|
# @param [String] update_mask
|
||||||
# Mask that identifies fields on the photo metadata to update.
|
# Mask that identifies fields on the photo metadata to update.
|
||||||
# If not present, the old Photo metadata will be entirely replaced with the
|
# If not present, the old Photo
|
||||||
# new Photo metadata in this request. The update fails if invalid fields are
|
# metadata will be entirely replaced with the
|
||||||
# specified. Multiple fields can be specified in a comma-delimited list.
|
# new Photo metadata in this request.
|
||||||
|
# The update fails if invalid fields are specified. Multiple fields can be
|
||||||
|
# specified in a comma-delimited list.
|
||||||
# The following fields are valid:
|
# The following fields are valid:
|
||||||
# * `pose.heading`
|
# * `pose.heading`
|
||||||
# * `pose.latLngPair`
|
# * `pose.latLngPair`
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'surveys/v2/')
|
super('https://www.googleapis.com/', 'surveys/v2/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/surveys/v2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieves a MobileAppPanel that is available to the authenticated user.
|
# Retrieves a MobileAppPanel that is available to the authenticated user.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'tagmanager/v1/')
|
super('https://www.googleapis.com/', 'tagmanager/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/tagmanager/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets a GTM Account.
|
# Gets a GTM Account.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'tagmanager/v2/')
|
super('https://www.googleapis.com/', 'tagmanager/v2/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/tagmanager/v2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets a GTM Account.
|
# Gets a GTM Account.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'taskqueue/v1beta1/projects/')
|
super('https://www.googleapis.com/', 'taskqueue/v1beta1/projects/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/taskqueue/v1beta1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Get detailed information about a TaskQueue.
|
# Get detailed information about a TaskQueue.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://firebase.google.com/docs/test-lab/
|
# @see https://firebase.google.com/docs/test-lab/
|
||||||
module ToolresultsV1beta3
|
module ToolresultsV1beta3
|
||||||
VERSION = 'V1beta3'
|
VERSION = 'V1beta3'
|
||||||
REVISION = '20170911'
|
REVISION = '20170913'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'toolresults/v1beta3/projects/')
|
super('https://www.googleapis.com/', 'toolresults/v1beta3/projects/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/toolresults/v1beta3'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the Tool Results settings for a project.
|
# Gets the Tool Results settings for a project.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'webmasters/v3/')
|
super('https://www.googleapis.com/', 'webmasters/v3/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/webmasters/v3'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Query your data with filters and parameters that you define. Returns zero or
|
# Query your data with filters and parameters that you define. Returns zero or
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see http://developers.google.com/youtube/analytics/
|
# @see http://developers.google.com/youtube/analytics/
|
||||||
module YoutubeAnalyticsV1
|
module YoutubeAnalyticsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170906'
|
REVISION = '20170913'
|
||||||
|
|
||||||
# Manage your YouTube account
|
# Manage your YouTube account
|
||||||
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'youtube/analytics/v1/')
|
super('https://www.googleapis.com/', 'youtube/analytics/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/youtubeAnalytics/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Removes an item from a group.
|
# Removes an item from a group.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'youtube/partner/v1/')
|
super('https://www.googleapis.com/', 'youtube/partner/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/youtubePartner/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Insert an asset label for an owner.
|
# Insert an asset label for an owner.
|
||||||
|
|
Loading…
Reference in New Issue