Autogenerated update (2019-01-26)

Update:
- accesscontextmanager_v1beta
- appsmarket_v2
- bigquerydatatransfer_v1
- books_v1
- servicenetworking_v1beta
- toolresults_v1beta3
This commit is contained in:
Google APIs 2019-01-26 00:36:45 +00:00
parent 0b48025248
commit 396ceeb8fa
14 changed files with 142 additions and 61 deletions

View File

@ -11356,6 +11356,10 @@
"/bigquerydatatransfer:v1/Location/metadata": metadata
"/bigquerydatatransfer:v1/Location/metadata/metadatum": metadatum
"/bigquerydatatransfer:v1/Location/name": name
"/bigquerydatatransfer:v1/ScheduleOptions": schedule_options
"/bigquerydatatransfer:v1/ScheduleOptions/disableAutoScheduling": disable_auto_scheduling
"/bigquerydatatransfer:v1/ScheduleOptions/endTime": end_time
"/bigquerydatatransfer:v1/ScheduleOptions/startTime": start_time
"/bigquerydatatransfer:v1/ScheduleTransferRunsRequest": schedule_transfer_runs_request
"/bigquerydatatransfer:v1/ScheduleTransferRunsRequest/endTime": end_time
"/bigquerydatatransfer:v1/ScheduleTransferRunsRequest/rangeEndTime": range_end_time
@ -11386,6 +11390,7 @@
"/bigquerydatatransfer:v1/TransferConfig/params": params
"/bigquerydatatransfer:v1/TransferConfig/params/param": param
"/bigquerydatatransfer:v1/TransferConfig/schedule": schedule
"/bigquerydatatransfer:v1/TransferConfig/scheduleOptions": schedule_options
"/bigquerydatatransfer:v1/TransferConfig/state": state
"/bigquerydatatransfer:v1/TransferConfig/status": status
"/bigquerydatatransfer:v1/TransferConfig/updateTime": update_time
@ -12638,6 +12643,7 @@
"/books:v1/Notification/reason": reason
"/books:v1/Notification/show_notification_settings_action": show_notification_settings_action
"/books:v1/Notification/targetUrl": target_url
"/books:v1/Notification/timeToExpireMs": time_to_expire_ms
"/books:v1/Notification/title": title
"/books:v1/Offers": offers
"/books:v1/Offers/items": items
@ -87370,6 +87376,10 @@
"/servicenetworking:v1beta/servicenetworking.services.patch/updateMask": update_mask
"/servicenetworking:v1beta/servicenetworking.services.searchRange": search_service_range
"/servicenetworking:v1beta/servicenetworking.services.searchRange/parent": parent
"/servicenetworking:v1beta/servicenetworking.services.updateConnections": update_service_connections
"/servicenetworking:v1beta/servicenetworking.services.updateConnections/force": force
"/servicenetworking:v1beta/servicenetworking.services.updateConnections/name": name
"/servicenetworking:v1beta/servicenetworking.services.updateConnections/updateMask": update_mask
"/serviceusage:v1/Api": api
"/serviceusage:v1/Api/methods": methods_prop
"/serviceusage:v1/Api/methods/methods_prop": methods_prop

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
module AccesscontextmanagerV1beta
VERSION = 'V1beta'
REVISION = '20181219'
REVISION = '20190121'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -560,8 +560,8 @@ module Google
# `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed
# must be in the same policy as this `ServicePerimeter`. Referencing a
# nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are
# listed, resources within the perimeter can only be accessed via GCP calls with
# request origins within the perimeter. Example:
# listed, resources within the perimeter can only be accessed via GCP calls
# with request origins within the perimeter. Example:
# `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`.
# For Service Perimeter Bridge, must be empty.
# Corresponds to the JSON property `accessLevels`
@ -592,9 +592,8 @@ module Google
# GCP services that are not subject to the Service Perimeter restrictions.
# May contain a list of services or a single wildcard "*". For example, if
# `logging.googleapis.com` is unrestricted, users can access logs inside the
# perimeter as if the perimeter doesn't exist, and it also means VMs inside the
# perimeter
# can access logs outside the perimeter.
# perimeter as if the perimeter doesn't exist, and it also means VMs inside
# the perimeter can access logs outside the perimeter.
# The wildcard means that unless explicitly specified by
# "restricted_services" list, any service is treated as unrestricted. One of
# the fields "restricted_services", "unrestricted_services" must contain a

View File

@ -18,15 +18,15 @@ require 'google/apis/appsmarket_v2/representations.rb'
module Google
module Apis
# Google Apps Marketplace API
# G Suite Marketplace API
#
# Lets your Apps Marketplace applications integrate with Google's licensing
# Lets your G Suite Marketplace applications integrate with Google's licensing
# service
#
# @see https://developers.google.com/google-apps/marketplace/v2/developers_guide
module AppsmarketV2
VERSION = 'V2'
REVISION = '20160920'
REVISION = '20190124'
# View your installed application's licensing information
AUTH_APPSMARKETPLACE_LICENSE = 'https://www.googleapis.com/auth/appsmarketplace.license'

View File

@ -20,9 +20,9 @@ require 'google/apis/errors'
module Google
module Apis
module AppsmarketV2
# Google Apps Marketplace API
# G Suite Marketplace API
#
# Lets your Apps Marketplace applications integrate with Google's licensing
# Lets your G Suite Marketplace applications integrate with Google's licensing
# service
#
# @example

View File

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

View File

@ -515,6 +515,48 @@ module Google
end
end
# Options customizing the data transfer schedule.
class ScheduleOptions
include Google::Apis::Core::Hashable
# If true, automatic scheduling of data transfer runs for this configuration
# will be disabled. The runs can be started on ad-hoc basis using
# StartManualTransferRuns API. When automatic scheduling is disabled, the
# TransferConfig.schedule field will be ignored.
# Corresponds to the JSON property `disableAutoScheduling`
# @return [Boolean]
attr_accessor :disable_auto_scheduling
alias_method :disable_auto_scheduling?, :disable_auto_scheduling
# Defines time to stop scheduling transfer runs. A transfer run cannot be
# scheduled at or after the end time. The end time can be changed at any
# moment. The time when a data transfer can be trigerred manually is not
# limited by this option.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# Specifies time to start scheduling transfer runs. The first run will be
# scheduled at or after the start time according to a recurrence pattern
# defined in the schedule string. The start time can be changed at any
# moment. The time when a data transfer can be trigerred manually is not
# limited by this option.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@disable_auto_scheduling = args[:disable_auto_scheduling] if args.key?(:disable_auto_scheduling)
@end_time = args[:end_time] if args.key?(:end_time)
@start_time = args[:start_time] if args.key?(:start_time)
end
end
# A request to schedule transfer runs for a time range.
class ScheduleTransferRunsRequest
include Google::Apis::Core::Hashable
@ -717,6 +759,11 @@ module Google
# @return [String]
attr_accessor :schedule
# Options customizing the data transfer schedule.
# Corresponds to the JSON property `scheduleOptions`
# @return [Google::Apis::BigquerydatatransferV1::ScheduleOptions]
attr_accessor :schedule_options
# Output only. State of the most recently updated transfer run.
# Corresponds to the JSON property `state`
# @return [String]
@ -748,6 +795,7 @@ module Google
@next_run_time = args[:next_run_time] if args.key?(:next_run_time)
@params = args[:params] if args.key?(:params)
@schedule = args[:schedule] if args.key?(:schedule)
@schedule_options = args[:schedule_options] if args.key?(:schedule_options)
@state = args[:state] if args.key?(:state)
@update_time = args[:update_time] if args.key?(:update_time)
@user_id = args[:user_id] if args.key?(:user_id)

View File

@ -88,6 +88,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ScheduleOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ScheduleTransferRunsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -246,6 +252,15 @@ module Google
end
end
class ScheduleOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :disable_auto_scheduling, as: 'disableAutoScheduling'
property :end_time, as: 'endTime'
property :start_time, as: 'startTime'
end
end
class ScheduleTransferRunsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -284,6 +299,8 @@ module Google
property :next_run_time, as: 'nextRunTime'
hash :params, as: 'params'
property :schedule, as: 'schedule'
property :schedule_options, as: 'scheduleOptions', class: Google::Apis::BigquerydatatransferV1::ScheduleOptions, decorator: Google::Apis::BigquerydatatransferV1::ScheduleOptions::Representation
property :state, as: 'state'
property :update_time, as: 'updateTime'
property :user_id, :numeric_string => true, as: 'userId'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/books/docs/v1/getting_started
module BooksV1
VERSION = 'V1'
REVISION = '20180824'
REVISION = '20181212'
# Manage your books
AUTH_BOOKS = 'https://www.googleapis.com/auth/books'

View File

@ -2133,6 +2133,11 @@ module Google
# @return [String]
attr_accessor :target_url
#
# Corresponds to the JSON property `timeToExpireMs`
# @return [Fixnum]
attr_accessor :time_to_expire_ms
#
# Corresponds to the JSON property `title`
# @return [String]
@ -2158,6 +2163,7 @@ module Google
@reason = args[:reason] if args.key?(:reason)
@show_notification_settings_action = args[:show_notification_settings_action] if args.key?(:show_notification_settings_action)
@target_url = args[:target_url] if args.key?(:target_url)
@time_to_expire_ms = args[:time_to_expire_ms] if args.key?(:time_to_expire_ms)
@title = args[:title] if args.key?(:title)
end
end

View File

@ -1269,6 +1269,7 @@ module Google
property :reason, as: 'reason'
property :show_notification_settings_action, as: 'show_notification_settings_action'
property :target_url, as: 'targetUrl'
property :time_to_expire_ms, :numeric_string => true, as: 'timeToExpireMs'
property :title, as: 'title'
end
end

View File

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

View File

@ -128,52 +128,6 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates the allocated ranges that are assigned to a connection.
# The response from the `get` operation will be of type `Connection` if the
# operation successfully completes.
# @param [String] name
# The service producer peering service that is managing peering connectivity
# for a service producer organization.
# For Google services that support this functionality, this is
# `services/servicenetworking.googleapis.com`.
# @param [Google::Apis::ServicenetworkingV1beta::Connection] connection_object
# @param [Boolean] force
# If a previously defined allocated range is removed, force flag must be
# set to true.
# @param [String] update_mask
# The update mask. If this is omitted, it defaults to "*". You can only
# update the listed peering ranges.
# @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::ServicenetworkingV1beta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServicenetworkingV1beta::Operation]
#
# @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 patch_service(name, connection_object = nil, force: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta/{+name}', options)
command.request_representation = Google::Apis::ServicenetworkingV1beta::Connection::Representation
command.request_object = connection_object
command.response_representation = Google::Apis::ServicenetworkingV1beta::Operation::Representation
command.response_class = Google::Apis::ServicenetworkingV1beta::Operation
command.params['name'] = name unless name.nil?
command.query['force'] = force unless force.nil?
command.query['updateMask'] = update_mask unless update_mask.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Service producers can use this method to find a currently unused range
# within consumer allocated ranges. This returned range is not reserved,
# and not guaranteed to remain unused.
@ -216,6 +170,52 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates the allocated ranges that are assigned to a connection.
# The response from the `get` operation will be of type `Connection` if the
# operation successfully completes.
# @param [String] name
# The service producer peering service that is managing peering connectivity
# for a service producer organization.
# For Google services that support this functionality, this is
# `services/servicenetworking.googleapis.com`.
# @param [Google::Apis::ServicenetworkingV1beta::Connection] connection_object
# @param [Boolean] force
# If a previously defined allocated range is removed, force flag must be
# set to true.
# @param [String] update_mask
# The update mask. If this is omitted, it defaults to "*". You can only
# update the listed peering ranges.
# @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::ServicenetworkingV1beta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServicenetworkingV1beta::Operation]
#
# @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 update_service_connections(name, connection_object = nil, force: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta/{+name}/connections', options)
command.request_representation = Google::Apis::ServicenetworkingV1beta::Connection::Representation
command.request_object = connection_object
command.response_representation = Google::Apis::ServicenetworkingV1beta::Operation::Representation
command.response_class = Google::Apis::ServicenetworkingV1beta::Operation
command.params['name'] = name unless name.nil?
command.query['force'] = force unless force.nil?
command.query['updateMask'] = update_mask unless update_mask.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 private connection that establishes a VPC Network Peering
# connection to a VPC network in the service producer's organization.
# The administrator of the service consumer's VPC network invokes this

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/test-lab/
module ToolresultsV1beta3
VERSION = 'V1beta3'
REVISION = '20181112'
REVISION = '20190124'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'