Autogenerated update (2019-03-28)
Update: - androidenterprise_v1 - bigquerydatatransfer_v1 - cloudbuild_v1 - cloudshell_v1alpha1 - container_v1 - dlp_v2 - iap_v1beta1 - ml_v1 - oauth2_v2 - plus_domains_v1 - plus_v1 - servicebroker_v1 - servicebroker_v1alpha1 - servicebroker_v1beta1
This commit is contained in:
1 parent
9eb7402fd8
commit
37ab788a8c
32 files changed
+385
-29
No files matched your search
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/android/work/play/emm-api
|
||||
module AndroidenterpriseV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190313'
|
||||
REVISION = '20190320'
|
||||
|
||||
# Manage corporate Android devices
|
||||
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
||||
|
||||
@@ -2977,11 +2977,23 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# WebApp resource info.
|
||||
# A WebApps resource represents a web app created for an enterprise. Web apps
|
||||
# are published to managed Google Play and can be distributed like other Android
|
||||
# apps. On a user's device, a web app opens its specified URL.
|
||||
class WebApp
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The display mode of the web app.
|
||||
# Possible values include:
|
||||
# - "minimalUi", the device's status bar, navigation bar, the app's URL, and a
|
||||
# refresh button are visible when the app is open. For HTTP URLs, you can only
|
||||
# select this option.
|
||||
# - "standalone", the device's status bar and navigation bar are visible when
|
||||
# the app is open.
|
||||
# - "fullScreen", the app opens in full screen mode, hiding the device's status
|
||||
# and navigation bars. All browser UI elements, page URL, system status bar and
|
||||
# back button are not visible, and the web app takes up the entirety of the
|
||||
# available display area.
|
||||
# Corresponds to the JSON property `displayMode`
|
||||
# @return [String]
|
||||
attr_accessor :display_mode
|
||||
@@ -3004,8 +3016,8 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :start_url
|
||||
|
||||
# The title of the web application as displayed to the user (e.g., amongst a
|
||||
# list of other applications, or as a label for an icon).
|
||||
# The title of the web app as displayed to the user (e.g., amongst a list of
|
||||
# other applications, or as a label for an icon).
|
||||
# Corresponds to the JSON property `title`
|
||||
# @return [String]
|
||||
attr_accessor :title
|
||||
@@ -3018,7 +3030,9 @@ module Google
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version_code
|
||||
|
||||
# The ID of the application.
|
||||
# The ID of the application. A string of the form "app:<package name>" where the
|
||||
# package name always starts with the prefix "com.google.enterprise.webapp."
|
||||
# followed by a random id.
|
||||
# Corresponds to the JSON property `webAppId`
|
||||
# @return [String]
|
||||
attr_accessor :web_app_id
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/bigquery/
|
||||
module BigquerydatatransferV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190309'
|
||||
REVISION = '20190323'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
||||
@@ -603,6 +603,52 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# A request to start manual transfer runs.
|
||||
class StartManualTransferRunsRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specific run_time for a transfer run to be started. The
|
||||
# requested_run_time must not be in the future.
|
||||
# Corresponds to the JSON property `requestedRunTime`
|
||||
# @return [String]
|
||||
attr_accessor :requested_run_time
|
||||
|
||||
# A specification for a time range, this will request transfer runs with
|
||||
# run_time between start_time (inclusive) and end_time (exclusive).
|
||||
# Corresponds to the JSON property `requestedTimeRange`
|
||||
# @return [Google::Apis::BigquerydatatransferV1::TimeRange]
|
||||
attr_accessor :requested_time_range
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@requested_run_time = args[:requested_run_time] if args.key?(:requested_run_time)
|
||||
@requested_time_range = args[:requested_time_range] if args.key?(:requested_time_range)
|
||||
end
|
||||
end
|
||||
|
||||
# A response to start manual transfer runs.
|
||||
class StartManualTransferRunsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The transfer runs that were created.
|
||||
# Corresponds to the JSON property `runs`
|
||||
# @return [Array<Google::Apis::BigquerydatatransferV1::TransferRun>]
|
||||
attr_accessor :runs
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@runs = args[:runs] if args.key?(:runs)
|
||||
end
|
||||
end
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
@@ -675,6 +721,38 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# A specification for a time range, this will request transfer runs with
|
||||
# run_time between start_time (inclusive) and end_time (exclusive).
|
||||
class TimeRange
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# End time of the range of transfer runs. For example,
|
||||
# `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
|
||||
# Creates transfer runs where run_time is in the range betwen start_time
|
||||
# (inclusive) and end_time (exlusive).
|
||||
# Corresponds to the JSON property `endTime`
|
||||
# @return [String]
|
||||
attr_accessor :end_time
|
||||
|
||||
# Start time of the range of transfer runs. For example,
|
||||
# `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
|
||||
# the end_time. Creates transfer runs where run_time is in the range betwen
|
||||
# start_time (inclusive) and end_time (exlusive).
|
||||
# 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)
|
||||
@end_time = args[:end_time] if args.key?(:end_time)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a data transfer configuration. A transfer configuration
|
||||
# contains all metadata needed to perform a data transfer. For example,
|
||||
# `destination_dataset_id` specifies where data should be stored.
|
||||
|
||||
@@ -106,12 +106,30 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StartManualTransferRunsRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StartManualTransferRunsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Status
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TimeRange
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TransferConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -277,6 +295,23 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class StartManualTransferRunsRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :requested_run_time, as: 'requestedRunTime'
|
||||
property :requested_time_range, as: 'requestedTimeRange', class: Google::Apis::BigquerydatatransferV1::TimeRange, decorator: Google::Apis::BigquerydatatransferV1::TimeRange::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class StartManualTransferRunsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :runs, as: 'runs', class: Google::Apis::BigquerydatatransferV1::TransferRun, decorator: Google::Apis::BigquerydatatransferV1::TransferRun::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Status
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -286,6 +321,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class TimeRange
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :end_time, as: 'endTime'
|
||||
property :start_time, as: 'startTime'
|
||||
end
|
||||
end
|
||||
|
||||
class TransferConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
@@ -585,6 +585,7 @@ module Google
|
||||
# For each date - or whatever granularity the data source supports - in the
|
||||
# range, one transfer run is created.
|
||||
# Note that runs are created per UTC time in the time range.
|
||||
# DEPRECATED: use StartManualTransferRuns instead.
|
||||
# @param [String] parent
|
||||
# Transfer configuration name in the form:
|
||||
# `projects/`project_id`/transferConfigs/`config_id``.
|
||||
@@ -618,6 +619,43 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Start manual transfer runs to be executed now with schedule_time equal to
|
||||
# current time. The transfer runs can be created for a time range where the
|
||||
# run_time is between start_time (inclusive) and end_time (exclusive), or for
|
||||
# a specific run_time.
|
||||
# @param [String] parent
|
||||
# Transfer configuration name in the form:
|
||||
# `projects/`project_id`/transferConfigs/`config_id``.
|
||||
# @param [Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest] start_manual_transfer_runs_request_object
|
||||
# @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::BigquerydatatransferV1::StartManualTransferRunsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::BigquerydatatransferV1::StartManualTransferRunsResponse]
|
||||
#
|
||||
# @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 start_project_location_transfer_config_manual_runs(parent, start_manual_transfer_runs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}:startManualRuns', options)
|
||||
command.request_representation = Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest::Representation
|
||||
command.request_object = start_manual_transfer_runs_request_object
|
||||
command.response_representation = Google::Apis::BigquerydatatransferV1::StartManualTransferRunsResponse::Representation
|
||||
command.response_class = Google::Apis::BigquerydatatransferV1::StartManualTransferRunsResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes the specified transfer run.
|
||||
# @param [String] name
|
||||
# The field will contain name of the resource requested, for example:
|
||||
@@ -1015,6 +1053,7 @@ module Google
|
||||
# For each date - or whatever granularity the data source supports - in the
|
||||
# range, one transfer run is created.
|
||||
# Note that runs are created per UTC time in the time range.
|
||||
# DEPRECATED: use StartManualTransferRuns instead.
|
||||
# @param [String] parent
|
||||
# Transfer configuration name in the form:
|
||||
# `projects/`project_id`/transferConfigs/`config_id``.
|
||||
@@ -1048,6 +1087,43 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Start manual transfer runs to be executed now with schedule_time equal to
|
||||
# current time. The transfer runs can be created for a time range where the
|
||||
# run_time is between start_time (inclusive) and end_time (exclusive), or for
|
||||
# a specific run_time.
|
||||
# @param [String] parent
|
||||
# Transfer configuration name in the form:
|
||||
# `projects/`project_id`/transferConfigs/`config_id``.
|
||||
# @param [Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest] start_manual_transfer_runs_request_object
|
||||
# @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::BigquerydatatransferV1::StartManualTransferRunsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::BigquerydatatransferV1::StartManualTransferRunsResponse]
|
||||
#
|
||||
# @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 start_project_transfer_config_manual_runs(parent, start_manual_transfer_runs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}:startManualRuns', options)
|
||||
command.request_representation = Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest::Representation
|
||||
command.request_object = start_manual_transfer_runs_request_object
|
||||
command.response_representation = Google::Apis::BigquerydatatransferV1::StartManualTransferRunsResponse::Representation
|
||||
command.response_class = Google::Apis::BigquerydatatransferV1::StartManualTransferRunsResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes the specified transfer run.
|
||||
# @param [String] name
|
||||
# The field will contain name of the resource requested, for example:
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/cloud-build/docs/
|
||||
module CloudbuildV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190312'
|
||||
REVISION = '20190323'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -873,6 +873,11 @@ module Google
|
||||
class ListBuildTriggersResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Token to receive the next page of results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# `BuildTriggers` for the project, sorted by `create_time` descending.
|
||||
# Corresponds to the JSON property `triggers`
|
||||
# @return [Array<Google::Apis::CloudbuildV1::BuildTrigger>]
|
||||
@@ -884,6 +889,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@triggers = args[:triggers] if args.key?(:triggers)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -414,6 +414,7 @@ module Google
|
||||
class ListBuildTriggersResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :triggers, as: 'triggers', class: Google::Apis::CloudbuildV1::BuildTrigger, decorator: Google::Apis::CloudbuildV1::BuildTrigger::Representation
|
||||
|
||||
end
|
||||
|
||||
@@ -477,6 +477,10 @@ module Google
|
||||
# This API is experimental.
|
||||
# @param [String] project_id
|
||||
# ID of the project for which to list BuildTriggers.
|
||||
# @param [Fixnum] page_size
|
||||
# Number of results to return in the list.
|
||||
# @param [String] page_token
|
||||
# Token to provide to skip to a particular spot in the list.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -494,11 +498,13 @@ module Google
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_project_triggers(project_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def list_project_triggers(project_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/projects/{projectId}/triggers', options)
|
||||
command.response_representation = Google::Apis::CloudbuildV1::ListBuildTriggersResponse::Representation
|
||||
command.response_class = Google::Apis::CloudbuildV1::ListBuildTriggersResponse
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/shell/docs/
|
||||
module CloudshellV1alpha1
|
||||
VERSION = 'V1alpha1'
|
||||
REVISION = '20190318'
|
||||
REVISION = '20190323'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -31,12 +31,17 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :access_token
|
||||
|
||||
# The time when the token expires. If not set, defaults to one hour from when
|
||||
# the server received the request.
|
||||
# The time when the credentials expire. If not set, defaults to one hour from
|
||||
# when the server received the request.
|
||||
# Corresponds to the JSON property `expireTime`
|
||||
# @return [String]
|
||||
attr_accessor :expire_time
|
||||
|
||||
# The OAuth ID token that should be sent to the environment.
|
||||
# Corresponds to the JSON property `idToken`
|
||||
# @return [String]
|
||||
attr_accessor :id_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -45,6 +50,7 @@ module Google
|
||||
def update!(**args)
|
||||
@access_token = args[:access_token] if args.key?(:access_token)
|
||||
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
||||
@id_token = args[:id_token] if args.key?(:id_token)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -87,6 +87,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :access_token, as: 'accessToken'
|
||||
property :expire_time, as: 'expireTime'
|
||||
property :id_token, as: 'idToken'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -48,11 +48,12 @@ module Google
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Sends an access token to a running environment on behalf of a user. When
|
||||
# this completes, the environment will be authorized to run gcloud commands
|
||||
# without requiring the user to manually authenticate.
|
||||
# Sends OAuth credentials to a running environment on behalf of a user. When
|
||||
# this completes, the environment will be authorized to run various Google
|
||||
# Cloud command line tools without requiring the user to manually
|
||||
# authenticate.
|
||||
# @param [String] name
|
||||
# Name of the resource that should receive the token, for example
|
||||
# Name of the resource that should receive the credentials, for example
|
||||
# `users/me/environments/default` or
|
||||
# `users/someone@example.com/environments/default`.
|
||||
# @param [Google::Apis::CloudshellV1alpha1::AuthorizeEnvironmentRequest] authorize_environment_request_object
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/container-engine/
|
||||
module ContainerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190206'
|
||||
REVISION = '20190316'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -274,6 +274,12 @@ module Google
|
||||
attr_accessor :enable_kubernetes_alpha
|
||||
alias_method :enable_kubernetes_alpha?, :enable_kubernetes_alpha
|
||||
|
||||
# Enable the ability to use Cloud TPUs in this cluster.
|
||||
# Corresponds to the JSON property `enableTpu`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable_tpu
|
||||
alias_method :enable_tpu?, :enable_tpu
|
||||
|
||||
# [Output only] The IP address of this cluster's master endpoint.
|
||||
# The endpoint can be accessed from the internet at
|
||||
# `https://username:password@endpoint/`.
|
||||
@@ -480,6 +486,13 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :subnetwork
|
||||
|
||||
# [Output only] The IP address range of the Cloud TPUs in this cluster, in
|
||||
# [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
|
||||
# notation (e.g. `1.2.3.4/29`).
|
||||
# Corresponds to the JSON property `tpuIpv4CidrBlock`
|
||||
# @return [String]
|
||||
attr_accessor :tpu_ipv4_cidr_block
|
||||
|
||||
# [Output only] The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
@@ -503,6 +516,7 @@ module Google
|
||||
@current_node_version = args[:current_node_version] if args.key?(:current_node_version)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha)
|
||||
@enable_tpu = args[:enable_tpu] if args.key?(:enable_tpu)
|
||||
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
||||
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
||||
@initial_cluster_version = args[:initial_cluster_version] if args.key?(:initial_cluster_version)
|
||||
@@ -532,6 +546,7 @@ module Google
|
||||
@status = args[:status] if args.key?(:status)
|
||||
@status_message = args[:status_message] if args.key?(:status_message)
|
||||
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
||||
@tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
|
||||
@zone = args[:zone] if args.key?(:zone)
|
||||
end
|
||||
end
|
||||
@@ -1049,6 +1064,21 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :subnetwork_name
|
||||
|
||||
# The IP address range of the Cloud TPUs in this cluster. If unspecified, a
|
||||
# range will be automatically chosen with the default size.
|
||||
# This field is only applicable when `use_ip_aliases` is true.
|
||||
# If unspecified, the range will use the default size.
|
||||
# Set to /netmask (e.g. `/14`) to have a range chosen with a specific
|
||||
# netmask.
|
||||
# Set to a
|
||||
# [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
|
||||
# notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
|
||||
# `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
|
||||
# to use.
|
||||
# Corresponds to the JSON property `tpuIpv4CidrBlock`
|
||||
# @return [String]
|
||||
attr_accessor :tpu_ipv4_cidr_block
|
||||
|
||||
# Whether alias IPs will be used for pod IPs in the cluster.
|
||||
# Corresponds to the JSON property `useIpAliases`
|
||||
# @return [Boolean]
|
||||
@@ -1071,6 +1101,7 @@ module Google
|
||||
@services_ipv4_cidr_block = args[:services_ipv4_cidr_block] if args.key?(:services_ipv4_cidr_block)
|
||||
@services_secondary_range_name = args[:services_secondary_range_name] if args.key?(:services_secondary_range_name)
|
||||
@subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
|
||||
@tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
|
||||
@use_ip_aliases = args[:use_ip_aliases] if args.key?(:use_ip_aliases)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -433,6 +433,7 @@ module Google
|
||||
property :current_node_version, as: 'currentNodeVersion'
|
||||
property :description, as: 'description'
|
||||
property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha'
|
||||
property :enable_tpu, as: 'enableTpu'
|
||||
property :endpoint, as: 'endpoint'
|
||||
property :expire_time, as: 'expireTime'
|
||||
property :initial_cluster_version, as: 'initialClusterVersion'
|
||||
@@ -472,6 +473,7 @@ module Google
|
||||
property :status, as: 'status'
|
||||
property :status_message, as: 'statusMessage'
|
||||
property :subnetwork, as: 'subnetwork'
|
||||
property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
|
||||
property :zone, as: 'zone'
|
||||
end
|
||||
end
|
||||
@@ -589,6 +591,7 @@ module Google
|
||||
property :services_ipv4_cidr_block, as: 'servicesIpv4CidrBlock'
|
||||
property :services_secondary_range_name, as: 'servicesSecondaryRangeName'
|
||||
property :subnetwork_name, as: 'subnetworkName'
|
||||
property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
|
||||
property :use_ip_aliases, as: 'useIpAliases'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -27,7 +27,7 @@ module Google
|
||||
# @see https://cloud.google.com/dlp/docs/
|
||||
module DlpV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20190312'
|
||||
REVISION = '20190326'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -1180,6 +1180,43 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Pseudonymization method that generates deterministic encryption for the given
|
||||
# input. Outputs a base64 encoded representation of the encrypted output.
|
||||
# Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.
|
||||
class GooglePrivacyDlpV2CryptoDeterministicConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# General identifier of a data field in a storage service.
|
||||
# Corresponds to the JSON property `context`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
|
||||
attr_accessor :context
|
||||
|
||||
# This is a data encryption key (DEK) (as opposed to
|
||||
# a key encryption key (KEK) stored by KMS).
|
||||
# When using KMS to wrap/unwrap DEKs, be sure to set an appropriate
|
||||
# IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
|
||||
# unwrap the data crypto key.
|
||||
# Corresponds to the JSON property `cryptoKey`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoKey]
|
||||
attr_accessor :crypto_key
|
||||
|
||||
# Type of information detected by the API.
|
||||
# Corresponds to the JSON property `surrogateInfoType`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
|
||||
attr_accessor :surrogate_info_type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@context = args[:context] if args.key?(:context)
|
||||
@crypto_key = args[:crypto_key] if args.key?(:crypto_key)
|
||||
@surrogate_info_type = args[:surrogate_info_type] if args.key?(:surrogate_info_type)
|
||||
end
|
||||
end
|
||||
|
||||
# Pseudonymization method that generates surrogates via cryptographic hashing.
|
||||
# Uses SHA-256.
|
||||
# The key size must be either 32 or 64 bytes.
|
||||
@@ -4107,6 +4144,13 @@ module Google
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CharacterMaskConfig]
|
||||
attr_accessor :character_mask_config
|
||||
|
||||
# Pseudonymization method that generates deterministic encryption for the given
|
||||
# input. Outputs a base64 encoded representation of the encrypted output.
|
||||
# Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.
|
||||
# Corresponds to the JSON property `cryptoDeterministicConfig`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoDeterministicConfig]
|
||||
attr_accessor :crypto_deterministic_config
|
||||
|
||||
# Pseudonymization method that generates surrogates via cryptographic hashing.
|
||||
# Uses SHA-256.
|
||||
# The key size must be either 32 or 64 bytes.
|
||||
@@ -4179,6 +4223,7 @@ module Google
|
||||
def update!(**args)
|
||||
@bucketing_config = args[:bucketing_config] if args.key?(:bucketing_config)
|
||||
@character_mask_config = args[:character_mask_config] if args.key?(:character_mask_config)
|
||||
@crypto_deterministic_config = args[:crypto_deterministic_config] if args.key?(:crypto_deterministic_config)
|
||||
@crypto_hash_config = args[:crypto_hash_config] if args.key?(:crypto_hash_config)
|
||||
@crypto_replace_ffx_fpe_config = args[:crypto_replace_ffx_fpe_config] if args.key?(:crypto_replace_ffx_fpe_config)
|
||||
@date_shift_config = args[:date_shift_config] if args.key?(:date_shift_config)
|
||||
|
||||
@@ -214,6 +214,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2CryptoDeterministicConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2CryptoHashConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -1373,6 +1379,18 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2CryptoDeterministicConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :context, as: 'context', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
|
||||
|
||||
property :crypto_key, as: 'cryptoKey', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoKey, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoKey::Representation
|
||||
|
||||
property :surrogate_info_type, as: 'surrogateInfoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2CryptoHashConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -2210,6 +2228,8 @@ module Google
|
||||
|
||||
property :character_mask_config, as: 'characterMaskConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CharacterMaskConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CharacterMaskConfig::Representation
|
||||
|
||||
property :crypto_deterministic_config, as: 'cryptoDeterministicConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoDeterministicConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoDeterministicConfig::Representation
|
||||
|
||||
property :crypto_hash_config, as: 'cryptoHashConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoHashConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoHashConfig::Representation
|
||||
|
||||
property :crypto_replace_ffx_fpe_config, as: 'cryptoReplaceFfxFpeConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig::Representation
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/iap
|
||||
module IapV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190306'
|
||||
REVISION = '20190323'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/ml/
|
||||
module MlV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190316'
|
||||
REVISION = '20190326'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -33,7 +33,7 @@ module Google
|
||||
# View your email address
|
||||
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
||||
|
||||
# See your personal info, including any personal info you've made publically available
|
||||
# See your personal info, including any personal info you've made publicly available
|
||||
AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -51,7 +51,7 @@ module Google
|
||||
# View your email address
|
||||
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
||||
|
||||
# See your personal info, including any personal info you've made publically available
|
||||
# See your personal info, including any personal info you've made publicly available
|
||||
AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/+/api/
|
||||
module PlusV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190313'
|
||||
REVISION = '20190322'
|
||||
|
||||
# View your basic profile info, including your age range and language
|
||||
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
||||
@@ -36,7 +36,7 @@ module Google
|
||||
# View your email address
|
||||
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
||||
|
||||
# See your personal info, including any personal info you've made publically available
|
||||
# See your personal info, including any personal info you've made publicly available
|
||||
AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -27,7 +27,7 @@ module Google
|
||||
# @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
|
||||
module ServicebrokerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180713'
|
||||
REVISION = '20190325'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -46,7 +46,7 @@ module Google
|
||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
# * `group:`emailid``: An email address that represents a Google group.
|
||||
# For example, `admins@example.com`.
|
||||
# * `domain:`domain``: A Google Apps domain name that represents all the
|
||||
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
||||
# users of that domain. For example, `google.com` or `example.com`.
|
||||
# Corresponds to the JSON property `members`
|
||||
# @return [Array<String>]
|
||||
|
||||
@@ -27,7 +27,7 @@ module Google
|
||||
# @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
|
||||
module ServicebrokerV1alpha1
|
||||
VERSION = 'V1alpha1'
|
||||
REVISION = '20180713'
|
||||
REVISION = '20190325'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -753,7 +753,7 @@ module Google
|
||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
# * `group:`emailid``: An email address that represents a Google group.
|
||||
# For example, `admins@example.com`.
|
||||
# * `domain:`domain``: A Google Apps domain name that represents all the
|
||||
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
||||
# users of that domain. For example, `google.com` or `example.com`.
|
||||
# Corresponds to the JSON property `members`
|
||||
# @return [Array<String>]
|
||||
|
||||
@@ -27,7 +27,7 @@ module Google
|
||||
# @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
|
||||
module ServicebrokerV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20180713'
|
||||
REVISION = '20190325'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -874,7 +874,7 @@ module Google
|
||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
# * `group:`emailid``: An email address that represents a Google group.
|
||||
# For example, `admins@example.com`.
|
||||
# * `domain:`domain``: A Google Apps domain name that represents all the
|
||||
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
||||
# users of that domain. For example, `google.com` or `example.com`.
|
||||
# Corresponds to the JSON property `members`
|
||||
# @return [Array<String>]
|
||||
|
||||
Reference in new issue
Block a user