Autogenerated update (2018-06-21)
Update: - appengine_v1 - appengine_v1beta - cloudresourcemanager_v2 - container_v1 - dlp_v2 - ml_v1 - oslogin_v1 - testing_v1
This commit is contained in:
parent
3c1caad9fe
commit
144cbed26d
|
@ -8512,6 +8512,7 @@
|
||||||
"/appengine:v1beta/IdentityAwareProxy": identity_aware_proxy
|
"/appengine:v1beta/IdentityAwareProxy": identity_aware_proxy
|
||||||
"/appengine:v1beta/IdentityAwareProxy/enabled": enabled
|
"/appengine:v1beta/IdentityAwareProxy/enabled": enabled
|
||||||
"/appengine:v1beta/IdentityAwareProxy/oauth2ClientId": oauth2_client_id
|
"/appengine:v1beta/IdentityAwareProxy/oauth2ClientId": oauth2_client_id
|
||||||
|
"/appengine:v1beta/IdentityAwareProxy/oauth2ClientInfo": oauth2_client_info
|
||||||
"/appengine:v1beta/IdentityAwareProxy/oauth2ClientSecret": oauth2_client_secret
|
"/appengine:v1beta/IdentityAwareProxy/oauth2ClientSecret": oauth2_client_secret
|
||||||
"/appengine:v1beta/IdentityAwareProxy/oauth2ClientSecretSha256": oauth2_client_secret_sha256
|
"/appengine:v1beta/IdentityAwareProxy/oauth2ClientSecretSha256": oauth2_client_secret_sha256
|
||||||
"/appengine:v1beta/Instance": instance
|
"/appengine:v1beta/Instance": instance
|
||||||
|
@ -8606,6 +8607,10 @@
|
||||||
"/appengine:v1beta/NetworkUtilization/targetReceivedPacketsPerSecond": target_received_packets_per_second
|
"/appengine:v1beta/NetworkUtilization/targetReceivedPacketsPerSecond": target_received_packets_per_second
|
||||||
"/appengine:v1beta/NetworkUtilization/targetSentBytesPerSecond": target_sent_bytes_per_second
|
"/appengine:v1beta/NetworkUtilization/targetSentBytesPerSecond": target_sent_bytes_per_second
|
||||||
"/appengine:v1beta/NetworkUtilization/targetSentPacketsPerSecond": target_sent_packets_per_second
|
"/appengine:v1beta/NetworkUtilization/targetSentPacketsPerSecond": target_sent_packets_per_second
|
||||||
|
"/appengine:v1beta/OAuth2ClientInfo": o_auth2_client_info
|
||||||
|
"/appengine:v1beta/OAuth2ClientInfo/applicationName": application_name
|
||||||
|
"/appengine:v1beta/OAuth2ClientInfo/clientName": client_name
|
||||||
|
"/appengine:v1beta/OAuth2ClientInfo/developerEmailAddress": developer_email_address
|
||||||
"/appengine:v1beta/Operation": operation
|
"/appengine:v1beta/Operation": operation
|
||||||
"/appengine:v1beta/Operation/done": done
|
"/appengine:v1beta/Operation/done": done
|
||||||
"/appengine:v1beta/Operation/error": error
|
"/appengine:v1beta/Operation/error": error
|
||||||
|
@ -15323,6 +15328,8 @@
|
||||||
"/cloudresourcemanager:v2/cloudresourcemanager.folders.testIamPermissions/resource": resource
|
"/cloudresourcemanager:v2/cloudresourcemanager.folders.testIamPermissions/resource": resource
|
||||||
"/cloudresourcemanager:v2/cloudresourcemanager.folders.undelete": undelete_folder
|
"/cloudresourcemanager:v2/cloudresourcemanager.folders.undelete": undelete_folder
|
||||||
"/cloudresourcemanager:v2/cloudresourcemanager.folders.undelete/name": name
|
"/cloudresourcemanager:v2/cloudresourcemanager.folders.undelete/name": name
|
||||||
|
"/cloudresourcemanager:v2/cloudresourcemanager.operations.get": get_operation
|
||||||
|
"/cloudresourcemanager:v2/cloudresourcemanager.operations.get/name": name
|
||||||
"/cloudresourcemanager:v2/fields": fields
|
"/cloudresourcemanager:v2/fields": fields
|
||||||
"/cloudresourcemanager:v2/key": key
|
"/cloudresourcemanager:v2/key": key
|
||||||
"/cloudresourcemanager:v2/quotaUser": quota_user
|
"/cloudresourcemanager:v2/quotaUser": quota_user
|
||||||
|
@ -52417,9 +52424,11 @@
|
||||||
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/byteItem": byte_item
|
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/byteItem": byte_item
|
||||||
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/imageRedactionConfigs": image_redaction_configs
|
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/imageRedactionConfigs": image_redaction_configs
|
||||||
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/imageRedactionConfigs/image_redaction_config": image_redaction_config
|
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/imageRedactionConfigs/image_redaction_config": image_redaction_config
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/includeFindings": include_findings
|
||||||
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/inspectConfig": inspect_config
|
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/inspectConfig": inspect_config
|
||||||
"/dlp:v2/GooglePrivacyDlpV2RedactImageResponse": google_privacy_dlp_v2_redact_image_response
|
"/dlp:v2/GooglePrivacyDlpV2RedactImageResponse": google_privacy_dlp_v2_redact_image_response
|
||||||
"/dlp:v2/GooglePrivacyDlpV2RedactImageResponse/extractedText": extracted_text
|
"/dlp:v2/GooglePrivacyDlpV2RedactImageResponse/extractedText": extracted_text
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2RedactImageResponse/inspectResult": inspect_result
|
||||||
"/dlp:v2/GooglePrivacyDlpV2RedactImageResponse/redactedImage": redacted_image
|
"/dlp:v2/GooglePrivacyDlpV2RedactImageResponse/redactedImage": redacted_image
|
||||||
"/dlp:v2/GooglePrivacyDlpV2Regex": google_privacy_dlp_v2_regex
|
"/dlp:v2/GooglePrivacyDlpV2Regex": google_privacy_dlp_v2_regex
|
||||||
"/dlp:v2/GooglePrivacyDlpV2Regex/pattern": pattern
|
"/dlp:v2/GooglePrivacyDlpV2Regex/pattern": pattern
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||||
module AppengineV1
|
module AppengineV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180607'
|
REVISION = '20180615'
|
||||||
|
|
||||||
# View and manage your applications deployed on Google App Engine
|
# View and manage your applications deployed on Google App Engine
|
||||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||||
|
|
|
@ -2649,7 +2649,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :auth_fail_action
|
attr_accessor :auth_fail_action
|
||||||
|
|
||||||
# Level of login required to access this resource.
|
# Level of login required to access this resource. Not supported for Node.js in
|
||||||
|
# the App Engine standard environment.
|
||||||
# Corresponds to the JSON property `login`
|
# Corresponds to the JSON property `login`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :login
|
attr_accessor :login
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||||
module AppengineV1beta
|
module AppengineV1beta
|
||||||
VERSION = 'V1beta'
|
VERSION = 'V1beta'
|
||||||
REVISION = '20180607'
|
REVISION = '20180615'
|
||||||
|
|
||||||
# View and manage your applications deployed on Google App Engine
|
# View and manage your applications deployed on Google App Engine
|
||||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||||
|
|
|
@ -1156,6 +1156,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :oauth2_client_id
|
attr_accessor :oauth2_client_id
|
||||||
|
|
||||||
|
# InputOnly OAuth client info required to generate client id to be used for IAP.
|
||||||
|
# Corresponds to the JSON property `oauth2ClientInfo`
|
||||||
|
# @return [Google::Apis::AppengineV1beta::OAuth2ClientInfo]
|
||||||
|
attr_accessor :oauth2_client_info
|
||||||
|
|
||||||
# OAuth2 client secret to use for the authentication flow.For security reasons,
|
# OAuth2 client secret to use for the authentication flow.For security reasons,
|
||||||
# this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
|
# this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
|
||||||
# value is returned in the oauth2_client_secret_sha256 field.@InputOnly
|
# value is returned in the oauth2_client_secret_sha256 field.@InputOnly
|
||||||
|
@ -1176,6 +1181,7 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@enabled = args[:enabled] if args.key?(:enabled)
|
@enabled = args[:enabled] if args.key?(:enabled)
|
||||||
@oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
|
@oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
|
||||||
|
@oauth2_client_info = args[:oauth2_client_info] if args.key?(:oauth2_client_info)
|
||||||
@oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
|
@oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
|
||||||
@oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
|
@oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
|
||||||
end
|
end
|
||||||
|
@ -1832,6 +1838,38 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class OAuth2ClientInfo
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Application name to be used in OAuth consent screen.
|
||||||
|
# Corresponds to the JSON property `applicationName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :application_name
|
||||||
|
|
||||||
|
# Nameof the client to be generated. Optional - If not provided, the name will
|
||||||
|
# be autogenerated by the backend.
|
||||||
|
# Corresponds to the JSON property `clientName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :client_name
|
||||||
|
|
||||||
|
# Developer's information to be used in OAuth consent screen.
|
||||||
|
# Corresponds to the JSON property `developerEmailAddress`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :developer_email_address
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@application_name = args[:application_name] if args.key?(:application_name)
|
||||||
|
@client_name = args[:client_name] if args.key?(:client_name)
|
||||||
|
@developer_email_address = args[:developer_email_address] if args.key?(:developer_email_address)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# This resource represents a long-running operation that is the result of a
|
# This resource represents a long-running operation that is the result of a
|
||||||
# network API call.
|
# network API call.
|
||||||
class Operation
|
class Operation
|
||||||
|
@ -2743,7 +2781,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :auth_fail_action
|
attr_accessor :auth_fail_action
|
||||||
|
|
||||||
# Level of login required to access this resource.
|
# Level of login required to access this resource. Not supported for Node.js in
|
||||||
|
# the App Engine standard environment.
|
||||||
# Corresponds to the JSON property `login`
|
# Corresponds to the JSON property `login`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :login
|
attr_accessor :login
|
||||||
|
|
|
@ -310,6 +310,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class OAuth2ClientInfo
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Operation
|
class Operation
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -747,6 +753,8 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :enabled, as: 'enabled'
|
property :enabled, as: 'enabled'
|
||||||
property :oauth2_client_id, as: 'oauth2ClientId'
|
property :oauth2_client_id, as: 'oauth2ClientId'
|
||||||
|
property :oauth2_client_info, as: 'oauth2ClientInfo', class: Google::Apis::AppengineV1beta::OAuth2ClientInfo, decorator: Google::Apis::AppengineV1beta::OAuth2ClientInfo::Representation
|
||||||
|
|
||||||
property :oauth2_client_secret, as: 'oauth2ClientSecret'
|
property :oauth2_client_secret, as: 'oauth2ClientSecret'
|
||||||
property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256'
|
property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256'
|
||||||
end
|
end
|
||||||
|
@ -931,6 +939,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class OAuth2ClientInfo
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :application_name, as: 'applicationName'
|
||||||
|
property :client_name, as: 'clientName'
|
||||||
|
property :developer_email_address, as: 'developerEmailAddress'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Operation
|
class Operation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/resource-manager
|
# @see https://cloud.google.com/resource-manager
|
||||||
module CloudresourcemanagerV2
|
module CloudresourcemanagerV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20180611'
|
REVISION = '20180618'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -522,6 +522,38 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Gets the latest state of a long-running operation. Clients can use this
|
||||||
|
# method to poll the operation result at intervals as recommended by the API
|
||||||
|
# service.
|
||||||
|
# @param [String] name
|
||||||
|
# The name of the operation resource.
|
||||||
|
# @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::CloudresourcemanagerV2::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudresourcemanagerV2::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 get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||||
|
command.response_representation = Google::Apis::CloudresourcemanagerV2::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::CloudresourcemanagerV2::Operation
|
||||||
|
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
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
def apply_command_defaults(command)
|
def apply_command_defaults(command)
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/container-engine/
|
# @see https://cloud.google.com/container-engine/
|
||||||
module ContainerV1
|
module ContainerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180504'
|
REVISION = '20180607'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dlp/docs/
|
# @see https://cloud.google.com/dlp/docs/
|
||||||
module DlpV2
|
module DlpV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20180612'
|
REVISION = '20180619'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -2015,7 +2015,7 @@ module Google
|
||||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
|
||||||
attr_accessor :info_type
|
attr_accessor :info_type
|
||||||
|
|
||||||
# Estimate of how likely it is that the `info_type` is correct.
|
# Confidence of how likely it is that the `info_type` is correct.
|
||||||
# Corresponds to the JSON property `likelihood`
|
# Corresponds to the JSON property `likelihood`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :likelihood
|
attr_accessor :likelihood
|
||||||
|
@ -2027,7 +2027,7 @@ module Google
|
||||||
|
|
||||||
# The content that was found. Even if the content is not textual, it
|
# The content that was found. Even if the content is not textual, it
|
||||||
# may be converted to a textual representation here.
|
# may be converted to a textual representation here.
|
||||||
# Provided if requested by the `InspectConfig` and the finding is
|
# Provided if `include_quote` is true and the finding is
|
||||||
# less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
|
# less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
|
||||||
# in length, the quote may be omitted.
|
# in length, the quote may be omitted.
|
||||||
# Corresponds to the JSON property `quote`
|
# Corresponds to the JSON property `quote`
|
||||||
|
@ -2420,6 +2420,9 @@ module Google
|
||||||
# Restricts what info_types to look for. The values must correspond to
|
# Restricts what info_types to look for. The values must correspond to
|
||||||
# InfoType values returned by ListInfoTypes or listed at
|
# InfoType values returned by ListInfoTypes or listed at
|
||||||
# https://cloud.google.com/dlp/docs/infotypes-reference.
|
# https://cloud.google.com/dlp/docs/infotypes-reference.
|
||||||
|
# When no InfoTypes or CustomInfoTypes are specified in a request, the
|
||||||
|
# system may automatically choose what detectors to run. By default this may
|
||||||
|
# be all types, but may change over time as detectors are updated.
|
||||||
# Corresponds to the JSON property `infoTypes`
|
# Corresponds to the JSON property `infoTypes`
|
||||||
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
|
||||||
attr_accessor :info_types
|
attr_accessor :info_types
|
||||||
|
@ -4127,6 +4130,13 @@ module Google
|
||||||
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig>]
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig>]
|
||||||
attr_accessor :image_redaction_configs
|
attr_accessor :image_redaction_configs
|
||||||
|
|
||||||
|
# Whether the response should include findings along with the redacted
|
||||||
|
# image.
|
||||||
|
# Corresponds to the JSON property `includeFindings`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :include_findings
|
||||||
|
alias_method :include_findings?, :include_findings
|
||||||
|
|
||||||
# Configuration description of the scanning process.
|
# Configuration description of the scanning process.
|
||||||
# When used with redactContent only info_types and min_likelihood are currently
|
# When used with redactContent only info_types and min_likelihood are currently
|
||||||
# used.
|
# used.
|
||||||
|
@ -4142,6 +4152,7 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@byte_item = args[:byte_item] if args.key?(:byte_item)
|
@byte_item = args[:byte_item] if args.key?(:byte_item)
|
||||||
@image_redaction_configs = args[:image_redaction_configs] if args.key?(:image_redaction_configs)
|
@image_redaction_configs = args[:image_redaction_configs] if args.key?(:image_redaction_configs)
|
||||||
|
@include_findings = args[:include_findings] if args.key?(:include_findings)
|
||||||
@inspect_config = args[:inspect_config] if args.key?(:inspect_config)
|
@inspect_config = args[:inspect_config] if args.key?(:inspect_config)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -4157,6 +4168,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :extracted_text
|
attr_accessor :extracted_text
|
||||||
|
|
||||||
|
# All the findings for a single scanned item.
|
||||||
|
# Corresponds to the JSON property `inspectResult`
|
||||||
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectResult]
|
||||||
|
attr_accessor :inspect_result
|
||||||
|
|
||||||
# The redacted image. The type will be the same as the original image.
|
# The redacted image. The type will be the same as the original image.
|
||||||
# Corresponds to the JSON property `redactedImage`
|
# Corresponds to the JSON property `redactedImage`
|
||||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
|
@ -4170,6 +4186,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@extracted_text = args[:extracted_text] if args.key?(:extracted_text)
|
@extracted_text = args[:extracted_text] if args.key?(:extracted_text)
|
||||||
|
@inspect_result = args[:inspect_result] if args.key?(:inspect_result)
|
||||||
@redacted_image = args[:redacted_image] if args.key?(:redacted_image)
|
@redacted_image = args[:redacted_image] if args.key?(:redacted_image)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -2151,6 +2151,7 @@ module Google
|
||||||
|
|
||||||
collection :image_redaction_configs, as: 'imageRedactionConfigs', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig::Representation
|
collection :image_redaction_configs, as: 'imageRedactionConfigs', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig::Representation
|
||||||
|
|
||||||
|
property :include_findings, as: 'includeFindings'
|
||||||
property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig::Representation
|
property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -2160,6 +2161,8 @@ module Google
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :extracted_text, as: 'extractedText'
|
property :extracted_text, as: 'extractedText'
|
||||||
|
property :inspect_result, as: 'inspectResult', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectResult, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectResult::Representation
|
||||||
|
|
||||||
property :redacted_image, :base64 => true, as: 'redactedImage'
|
property :redacted_image, :base64 => true, as: 'redactedImage'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -452,6 +452,9 @@ module Google
|
||||||
# This method has limits on input size and output size.
|
# This method has limits on input size and output size.
|
||||||
# See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
|
# See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
|
||||||
# learn more.
|
# learn more.
|
||||||
|
# When no InfoTypes or CustomInfoTypes are specified in this request, the
|
||||||
|
# system will automatically choose what detectors to run. By default this may
|
||||||
|
# be all types, but may change over time as detectors are updated.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent resource name, for example projects/my-project-id.
|
# The parent resource name, for example projects/my-project-id.
|
||||||
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest] google_privacy_dlp_v2_deidentify_content_request_object
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest] google_privacy_dlp_v2_deidentify_content_request_object
|
||||||
|
@ -486,6 +489,9 @@ module Google
|
||||||
|
|
||||||
# Finds potentially sensitive info in content.
|
# Finds potentially sensitive info in content.
|
||||||
# This method has limits on input size, processing time, and output size.
|
# This method has limits on input size, processing time, and output size.
|
||||||
|
# When no InfoTypes or CustomInfoTypes are specified in this request, the
|
||||||
|
# system will automatically choose what detectors to run. By default this may
|
||||||
|
# be all types, but may change over time as detectors are updated.
|
||||||
# For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
|
# For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
|
||||||
# and https://cloud.google.com/dlp/docs/inspecting-text,
|
# and https://cloud.google.com/dlp/docs/inspecting-text,
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
|
@ -780,6 +786,9 @@ module Google
|
||||||
# Creates a new job to inspect storage or calculate risk metrics.
|
# Creates a new job to inspect storage or calculate risk metrics.
|
||||||
# See https://cloud.google.com/dlp/docs/inspecting-storage and
|
# See https://cloud.google.com/dlp/docs/inspecting-storage and
|
||||||
# https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
|
# https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
|
||||||
|
# When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
|
||||||
|
# system will automatically choose what detectors to run. By default this may
|
||||||
|
# be all types, but may change over time as detectors are updated.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent resource name, for example projects/my-project-id.
|
# The parent resource name, for example projects/my-project-id.
|
||||||
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object
|
||||||
|
@ -943,6 +952,9 @@ module Google
|
||||||
# This method has limits on input size, processing time, and output size.
|
# This method has limits on input size, processing time, and output size.
|
||||||
# See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
|
# See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
|
||||||
# learn more.
|
# learn more.
|
||||||
|
# When no InfoTypes or CustomInfoTypes are specified in this request, the
|
||||||
|
# system will automatically choose what detectors to run. By default this may
|
||||||
|
# be all types, but may change over time as detectors are updated.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# The parent resource name, for example projects/my-project-id.
|
# The parent resource name, for example projects/my-project-id.
|
||||||
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest] google_privacy_dlp_v2_redact_image_request_object
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest] google_privacy_dlp_v2_redact_image_request_object
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/ml/
|
# @see https://cloud.google.com/ml/
|
||||||
module MlV1
|
module MlV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180608'
|
REVISION = '20180619'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -1322,7 +1322,7 @@ module Google
|
||||||
# mls1-highcpu-4 4 core 2 Gb RAM
|
# mls1-highcpu-4 4 core 2 Gb RAM
|
||||||
# The following are available in Beta:
|
# The following are available in Beta:
|
||||||
# mls1-c1-m2 1 core 2 Gb RAM Default
|
# mls1-c1-m2 1 core 2 Gb RAM Default
|
||||||
# mls1-c4-m2 1 core 4 Gb RAM
|
# mls1-c4-m2 4 core 2 Gb RAM
|
||||||
# Corresponds to the JSON property `machineType`
|
# Corresponds to the JSON property `machineType`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :machine_type
|
attr_accessor :machine_type
|
||||||
|
|
|
@ -917,7 +917,8 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates the specified Version resource.
|
# Updates the specified Version resource.
|
||||||
# Currently the only supported field to update is `description`.
|
# Currently the only update-able fields are `description` and
|
||||||
|
# `autoScaling.minNodes`.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The name of the model.
|
# Required. The name of the model.
|
||||||
# @param [Google::Apis::MlV1::GoogleCloudMlV1Version] google_cloud_ml_v1__version_object
|
# @param [Google::Apis::MlV1::GoogleCloudMlV1Version] google_cloud_ml_v1__version_object
|
||||||
|
@ -930,7 +931,8 @@ module Google
|
||||||
# `
|
# `
|
||||||
# "description": "foo"
|
# "description": "foo"
|
||||||
# `
|
# `
|
||||||
# Currently the only supported update mask is`description`.
|
# Currently the only supported update mask fields are `description` and
|
||||||
|
# `autoScaling.minNodes`.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/compute/docs/oslogin/rest/
|
# @see https://cloud.google.com/compute/docs/oslogin/rest/
|
||||||
module OsloginV1
|
module OsloginV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180413'
|
REVISION = '20180617'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/cloud-test-lab/
|
# @see https://developers.google.com/cloud-test-lab/
|
||||||
module TestingV1
|
module TestingV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180612'
|
REVISION = '20180619'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
Loading…
Reference in New Issue