Autogenerated update (2019-11-06)

Update:
- dlp_v2
- recommender_v1beta1
- redis_v1
- vision_v1p2beta1
This commit is contained in:
Google APIs 2019-11-06 00:37:09 +00:00
parent bd830fc05a
commit 1f467e9f09
11 changed files with 212 additions and 63 deletions

View File

@ -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 = '20191027' REVISION = '20191102'
# 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'

View File

@ -70,6 +70,14 @@ module Google
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc] # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc]
attr_accessor :publish_summary_to_cscc attr_accessor :publish_summary_to_cscc
# Enable Stackdriver metric dlp.googleapis.com/finding_count. This
# will publish a metric to stack driver on each infotype requested and
# how many findings were found for it. CustomDetectors will be bucketed
# as 'Custom' under the Stackdriver label 'info_type'.
# Corresponds to the JSON property `publishToStackdriver`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToStackdriver]
attr_accessor :publish_to_stackdriver
# If set, the detailed findings will be persisted to the specified # If set, the detailed findings will be persisted to the specified
# OutputStorageConfig. Only a single instance of this action can be # OutputStorageConfig. Only a single instance of this action can be
# specified. # specified.
@ -88,6 +96,7 @@ module Google
@pub_sub = args[:pub_sub] if args.key?(:pub_sub) @pub_sub = args[:pub_sub] if args.key?(:pub_sub)
@publish_findings_to_cloud_data_catalog = args[:publish_findings_to_cloud_data_catalog] if args.key?(:publish_findings_to_cloud_data_catalog) @publish_findings_to_cloud_data_catalog = args[:publish_findings_to_cloud_data_catalog] if args.key?(:publish_findings_to_cloud_data_catalog)
@publish_summary_to_cscc = args[:publish_summary_to_cscc] if args.key?(:publish_summary_to_cscc) @publish_summary_to_cscc = args[:publish_summary_to_cscc] if args.key?(:publish_summary_to_cscc)
@publish_to_stackdriver = args[:publish_to_stackdriver] if args.key?(:publish_to_stackdriver)
@save_findings = args[:save_findings] if args.key?(:save_findings) @save_findings = args[:save_findings] if args.key?(:save_findings)
end end
end end
@ -4427,6 +4436,22 @@ module Google
end end
end end
# Enable Stackdriver metric dlp.googleapis.com/finding_count. This
# will publish a metric to stack driver on each infotype requested and
# how many findings were found for it. CustomDetectors will be bucketed
# as 'Custom' under the Stackdriver label 'info_type'.
class GooglePrivacyDlpV2PublishToStackdriver
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# A column with a semantic tag attached. # A column with a semantic tag attached.
class GooglePrivacyDlpV2QuasiId class GooglePrivacyDlpV2QuasiId
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -742,6 +742,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GooglePrivacyDlpV2PublishToStackdriver
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GooglePrivacyDlpV2QuasiId class GooglePrivacyDlpV2QuasiId
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1083,6 +1089,8 @@ module Google
property :publish_summary_to_cscc, as: 'publishSummaryToCscc', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc::Representation property :publish_summary_to_cscc, as: 'publishSummaryToCscc', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc::Representation
property :publish_to_stackdriver, as: 'publishToStackdriver', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToStackdriver, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToStackdriver::Representation
property :save_findings, as: 'saveFindings', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SaveFindings, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SaveFindings::Representation property :save_findings, as: 'saveFindings', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SaveFindings, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SaveFindings::Representation
end end
@ -2323,6 +2331,12 @@ module Google
end end
end end
class GooglePrivacyDlpV2PublishToStackdriver
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GooglePrivacyDlpV2QuasiId class GooglePrivacyDlpV2QuasiId
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -138,7 +138,7 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
# more. # more.
# @param [String] parent # @param [String] parent
# The parent resource name, for example projects/my-project-id or # Required. The parent resource name, for example projects/my-project-id or
# organizations/my-org-id. # organizations/my-org-id.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
# @param [String] fields # @param [String] fields
@ -174,7 +174,8 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
# more. # more.
# @param [String] name # @param [String] name
# Resource name of the organization and deidentify template to be deleted, # Required. Resource name of the organization and deidentify template to be
# deleted,
# for example `organizations/433245324/deidentifyTemplates/432452342` or # for example `organizations/433245324/deidentifyTemplates/432452342` or
# projects/project-id/deidentifyTemplates/432452342. # projects/project-id/deidentifyTemplates/432452342.
# @param [String] fields # @param [String] fields
@ -208,7 +209,8 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
# more. # more.
# @param [String] name # @param [String] name
# Resource name of the organization and deidentify template to be read, for # Required. Resource name of the organization and deidentify template to be read,
# for
# example `organizations/433245324/deidentifyTemplates/432452342` or # example `organizations/433245324/deidentifyTemplates/432452342` or
# projects/project-id/deidentifyTemplates/432452342. # projects/project-id/deidentifyTemplates/432452342.
# @param [String] fields # @param [String] fields
@ -242,7 +244,7 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
# more. # more.
# @param [String] parent # @param [String] parent
# The parent resource name, for example projects/my-project-id or # Required. The parent resource name, for example projects/my-project-id or
# organizations/my-org-id. # organizations/my-org-id.
# @param [String] order_by # @param [String] order_by
# Optional comma separated list of fields to order by, # Optional comma separated list of fields to order by,
@ -295,7 +297,8 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
# more. # more.
# @param [String] name # @param [String] name
# Resource name of organization and deidentify template to be updated, for # Required. Resource name of organization and deidentify template to be updated,
# for
# example `organizations/433245324/deidentifyTemplates/432452342` or # example `organizations/433245324/deidentifyTemplates/432452342` or
# projects/project-id/deidentifyTemplates/432452342. # projects/project-id/deidentifyTemplates/432452342.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest] google_privacy_dlp_v2_update_deidentify_template_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest] google_privacy_dlp_v2_update_deidentify_template_request_object
@ -332,7 +335,7 @@ module Google
# for inspecting content, images, and storage. # for inspecting content, images, and storage.
# See https://cloud.google.com/dlp/docs/creating-templates to learn more. # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
# @param [String] parent # @param [String] parent
# The parent resource name, for example projects/my-project-id or # Required. The parent resource name, for example projects/my-project-id or
# organizations/my-org-id. # organizations/my-org-id.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
# @param [String] fields # @param [String] fields
@ -367,7 +370,8 @@ module Google
# Deletes an InspectTemplate. # Deletes an InspectTemplate.
# See https://cloud.google.com/dlp/docs/creating-templates to learn more. # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
# @param [String] name # @param [String] name
# Resource name of the organization and inspectTemplate to be deleted, for # Required. Resource name of the organization and inspectTemplate to be deleted,
# for
# example `organizations/433245324/inspectTemplates/432452342` or # example `organizations/433245324/inspectTemplates/432452342` or
# projects/project-id/inspectTemplates/432452342. # projects/project-id/inspectTemplates/432452342.
# @param [String] fields # @param [String] fields
@ -400,7 +404,8 @@ module Google
# Gets an InspectTemplate. # Gets an InspectTemplate.
# See https://cloud.google.com/dlp/docs/creating-templates to learn more. # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
# @param [String] name # @param [String] name
# Resource name of the organization and inspectTemplate to be read, for # Required. Resource name of the organization and inspectTemplate to be read,
# for
# example `organizations/433245324/inspectTemplates/432452342` or # example `organizations/433245324/inspectTemplates/432452342` or
# projects/project-id/inspectTemplates/432452342. # projects/project-id/inspectTemplates/432452342.
# @param [String] fields # @param [String] fields
@ -433,7 +438,7 @@ module Google
# Lists InspectTemplates. # Lists InspectTemplates.
# See https://cloud.google.com/dlp/docs/creating-templates to learn more. # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
# @param [String] parent # @param [String] parent
# The parent resource name, for example projects/my-project-id or # Required. The parent resource name, for example projects/my-project-id or
# organizations/my-org-id. # organizations/my-org-id.
# @param [String] order_by # @param [String] order_by
# Optional comma separated list of fields to order by, # Optional comma separated list of fields to order by,
@ -485,7 +490,7 @@ module Google
# Updates the InspectTemplate. # Updates the InspectTemplate.
# See https://cloud.google.com/dlp/docs/creating-templates to learn more. # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
# @param [String] name # @param [String] name
# Resource name of organization and inspectTemplate to be updated, for # Required. Resource name of organization and inspectTemplate to be updated, for
# example `organizations/433245324/inspectTemplates/432452342` or # example `organizations/433245324/inspectTemplates/432452342` or
# projects/project-id/inspectTemplates/432452342. # projects/project-id/inspectTemplates/432452342.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateInspectTemplateRequest] google_privacy_dlp_v2_update_inspect_template_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateInspectTemplateRequest] google_privacy_dlp_v2_update_inspect_template_request_object
@ -522,7 +527,7 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
# learn more. # learn more.
# @param [String] parent # @param [String] parent
# The parent resource name, for example projects/my-project-id or # Required. The parent resource name, for example projects/my-project-id or
# organizations/my-org-id. # organizations/my-org-id.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
# @param [String] fields # @param [String] fields
@ -558,7 +563,8 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
# learn more. # learn more.
# @param [String] name # @param [String] name
# Resource name of the organization and storedInfoType to be deleted, for # Required. Resource name of the organization and storedInfoType to be deleted,
# for
# example `organizations/433245324/storedInfoTypes/432452342` or # example `organizations/433245324/storedInfoTypes/432452342` or
# projects/project-id/storedInfoTypes/432452342. # projects/project-id/storedInfoTypes/432452342.
# @param [String] fields # @param [String] fields
@ -592,7 +598,7 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
# learn more. # learn more.
# @param [String] name # @param [String] name
# Resource name of the organization and storedInfoType to be read, for # Required. Resource name of the organization and storedInfoType to be read, for
# example `organizations/433245324/storedInfoTypes/432452342` or # example `organizations/433245324/storedInfoTypes/432452342` or
# projects/project-id/storedInfoTypes/432452342. # projects/project-id/storedInfoTypes/432452342.
# @param [String] fields # @param [String] fields
@ -626,7 +632,7 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
# learn more. # learn more.
# @param [String] parent # @param [String] parent
# The parent resource name, for example projects/my-project-id or # Required. The parent resource name, for example projects/my-project-id or
# organizations/my-org-id. # organizations/my-org-id.
# @param [String] order_by # @param [String] order_by
# Optional comma separated list of fields to order by, # Optional comma separated list of fields to order by,
@ -681,7 +687,7 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
# learn more. # learn more.
# @param [String] name # @param [String] name
# Resource name of organization and storedInfoType to be updated, for # Required. Resource name of organization and storedInfoType to be updated, for
# example `organizations/433245324/storedInfoTypes/432452342` or # example `organizations/433245324/storedInfoTypes/432452342` or
# projects/project-id/storedInfoTypes/432452342. # projects/project-id/storedInfoTypes/432452342.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateStoredInfoTypeRequest] google_privacy_dlp_v2_update_stored_info_type_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateStoredInfoTypeRequest] google_privacy_dlp_v2_update_stored_info_type_request_object
@ -798,7 +804,7 @@ module Google
# identification_in_free_text_code_example # identification_in_free_text_code_example
# to learn more. # to learn more.
# @param [String] parent # @param [String] parent
# The parent resource name. # Required. The parent resource name.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest] google_privacy_dlp_v2_reidentify_content_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest] google_privacy_dlp_v2_reidentify_content_request_object
# @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.
@ -834,7 +840,7 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
# more. # more.
# @param [String] parent # @param [String] parent
# The parent resource name, for example projects/my-project-id or # Required. The parent resource name, for example projects/my-project-id or
# organizations/my-org-id. # organizations/my-org-id.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
# @param [String] fields # @param [String] fields
@ -870,7 +876,8 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
# more. # more.
# @param [String] name # @param [String] name
# Resource name of the organization and deidentify template to be deleted, # Required. Resource name of the organization and deidentify template to be
# deleted,
# for example `organizations/433245324/deidentifyTemplates/432452342` or # for example `organizations/433245324/deidentifyTemplates/432452342` or
# projects/project-id/deidentifyTemplates/432452342. # projects/project-id/deidentifyTemplates/432452342.
# @param [String] fields # @param [String] fields
@ -904,7 +911,8 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
# more. # more.
# @param [String] name # @param [String] name
# Resource name of the organization and deidentify template to be read, for # Required. Resource name of the organization and deidentify template to be read,
# for
# example `organizations/433245324/deidentifyTemplates/432452342` or # example `organizations/433245324/deidentifyTemplates/432452342` or
# projects/project-id/deidentifyTemplates/432452342. # projects/project-id/deidentifyTemplates/432452342.
# @param [String] fields # @param [String] fields
@ -938,7 +946,7 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
# more. # more.
# @param [String] parent # @param [String] parent
# The parent resource name, for example projects/my-project-id or # Required. The parent resource name, for example projects/my-project-id or
# organizations/my-org-id. # organizations/my-org-id.
# @param [String] order_by # @param [String] order_by
# Optional comma separated list of fields to order by, # Optional comma separated list of fields to order by,
@ -991,7 +999,8 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-templates-deid to learn # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
# more. # more.
# @param [String] name # @param [String] name
# Resource name of organization and deidentify template to be updated, for # Required. Resource name of organization and deidentify template to be updated,
# for
# example `organizations/433245324/deidentifyTemplates/432452342` or # example `organizations/433245324/deidentifyTemplates/432452342` or
# projects/project-id/deidentifyTemplates/432452342. # projects/project-id/deidentifyTemplates/432452342.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest] google_privacy_dlp_v2_update_deidentify_template_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest] google_privacy_dlp_v2_update_deidentify_template_request_object
@ -1030,7 +1039,7 @@ module Google
# 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.
# @param [String] name # @param [String] name
# The name of the DlpJob resource to be cancelled. # Required. The name of the DlpJob resource to be cancelled.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CancelDlpJobRequest] google_privacy_dlp_v2_cancel_dlp_job_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CancelDlpJobRequest] google_privacy_dlp_v2_cancel_dlp_job_request_object
# @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.
@ -1068,7 +1077,7 @@ module Google
# system will automatically choose what detectors to run. By default this may # system will automatically choose what detectors to run. By default this may
# be all types, but may change over time as detectors are updated. # 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. # Required. 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
# @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.
@ -1105,7 +1114,7 @@ module Google
# 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.
# @param [String] name # @param [String] name
# The name of the DlpJob resource to be deleted. # Required. The name of the DlpJob resource to be deleted.
# @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
@ -1137,7 +1146,7 @@ module Google
# 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.
# @param [String] name # @param [String] name
# The name of the DlpJob resource. # Required. The name of the DlpJob resource.
# @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
@ -1169,7 +1178,7 @@ module Google
# 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.
# @param [String] parent # @param [String] parent
# The parent resource name, for example projects/my-project-id. # Required. The parent resource name, for example projects/my-project-id.
# @param [String] filter # @param [String] filter
# Optional. Allows filtering. # Optional. Allows filtering.
# Supported syntax: # Supported syntax:
@ -1286,7 +1295,7 @@ module Google
# for inspecting content, images, and storage. # for inspecting content, images, and storage.
# See https://cloud.google.com/dlp/docs/creating-templates to learn more. # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
# @param [String] parent # @param [String] parent
# The parent resource name, for example projects/my-project-id or # Required. The parent resource name, for example projects/my-project-id or
# organizations/my-org-id. # organizations/my-org-id.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
# @param [String] fields # @param [String] fields
@ -1321,7 +1330,8 @@ module Google
# Deletes an InspectTemplate. # Deletes an InspectTemplate.
# See https://cloud.google.com/dlp/docs/creating-templates to learn more. # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
# @param [String] name # @param [String] name
# Resource name of the organization and inspectTemplate to be deleted, for # Required. Resource name of the organization and inspectTemplate to be deleted,
# for
# example `organizations/433245324/inspectTemplates/432452342` or # example `organizations/433245324/inspectTemplates/432452342` or
# projects/project-id/inspectTemplates/432452342. # projects/project-id/inspectTemplates/432452342.
# @param [String] fields # @param [String] fields
@ -1354,7 +1364,8 @@ module Google
# Gets an InspectTemplate. # Gets an InspectTemplate.
# See https://cloud.google.com/dlp/docs/creating-templates to learn more. # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
# @param [String] name # @param [String] name
# Resource name of the organization and inspectTemplate to be read, for # Required. Resource name of the organization and inspectTemplate to be read,
# for
# example `organizations/433245324/inspectTemplates/432452342` or # example `organizations/433245324/inspectTemplates/432452342` or
# projects/project-id/inspectTemplates/432452342. # projects/project-id/inspectTemplates/432452342.
# @param [String] fields # @param [String] fields
@ -1387,7 +1398,7 @@ module Google
# Lists InspectTemplates. # Lists InspectTemplates.
# See https://cloud.google.com/dlp/docs/creating-templates to learn more. # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
# @param [String] parent # @param [String] parent
# The parent resource name, for example projects/my-project-id or # Required. The parent resource name, for example projects/my-project-id or
# organizations/my-org-id. # organizations/my-org-id.
# @param [String] order_by # @param [String] order_by
# Optional comma separated list of fields to order by, # Optional comma separated list of fields to order by,
@ -1439,7 +1450,7 @@ module Google
# Updates the InspectTemplate. # Updates the InspectTemplate.
# See https://cloud.google.com/dlp/docs/creating-templates to learn more. # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
# @param [String] name # @param [String] name
# Resource name of organization and inspectTemplate to be updated, for # Required. Resource name of organization and inspectTemplate to be updated, for
# example `organizations/433245324/inspectTemplates/432452342` or # example `organizations/433245324/inspectTemplates/432452342` or
# projects/project-id/inspectTemplates/432452342. # projects/project-id/inspectTemplates/432452342.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateInspectTemplateRequest] google_privacy_dlp_v2_update_inspect_template_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateInspectTemplateRequest] google_privacy_dlp_v2_update_inspect_template_request_object
@ -1475,7 +1486,7 @@ module Google
# Activate a job trigger. Causes the immediate execute of a trigger # Activate a job trigger. Causes the immediate execute of a trigger
# instead of waiting on the trigger event to occur. # instead of waiting on the trigger event to occur.
# @param [String] name # @param [String] name
# Resource name of the trigger to activate, for example # Required. Resource name of the trigger to activate, for example
# `projects/dlp-test-project/jobTriggers/53234423`. # `projects/dlp-test-project/jobTriggers/53234423`.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ActivateJobTriggerRequest] google_privacy_dlp_v2_activate_job_trigger_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ActivateJobTriggerRequest] google_privacy_dlp_v2_activate_job_trigger_request_object
# @param [String] fields # @param [String] fields
@ -1511,7 +1522,7 @@ module Google
# sensitive information on a set schedule. # sensitive information on a set schedule.
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
# @param [String] parent # @param [String] parent
# The parent resource name, for example projects/my-project-id. # Required. The parent resource name, for example projects/my-project-id.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object
# @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.
@ -1545,7 +1556,7 @@ module Google
# Deletes a job trigger. # Deletes a job trigger.
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
# @param [String] name # @param [String] name
# Resource name of the project and the triggeredJob, for example # Required. Resource name of the project and the triggeredJob, for example
# `projects/dlp-test-project/jobTriggers/53234423`. # `projects/dlp-test-project/jobTriggers/53234423`.
# @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.
@ -1577,7 +1588,7 @@ module Google
# Gets a job trigger. # Gets a job trigger.
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
# @param [String] name # @param [String] name
# Resource name of the project and the triggeredJob, for example # Required. Resource name of the project and the triggeredJob, for example
# `projects/dlp-test-project/jobTriggers/53234423`. # `projects/dlp-test-project/jobTriggers/53234423`.
# @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.
@ -1609,7 +1620,7 @@ module Google
# Lists job triggers. # Lists job triggers.
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
# @param [String] parent # @param [String] parent
# The parent resource name, for example `projects/my-project-id`. # Required. The parent resource name, for example `projects/my-project-id`.
# @param [String] filter # @param [String] filter
# Optional. Allows filtering. # Optional. Allows filtering.
# Supported syntax: # Supported syntax:
@ -1683,7 +1694,7 @@ module Google
# Updates a job trigger. # Updates a job trigger.
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
# @param [String] name # @param [String] name
# Resource name of the project and the triggeredJob, for example # Required. Resource name of the project and the triggeredJob, for example
# `projects/dlp-test-project/jobTriggers/53234423`. # `projects/dlp-test-project/jobTriggers/53234423`.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateJobTriggerRequest] google_privacy_dlp_v2_update_job_trigger_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateJobTriggerRequest] google_privacy_dlp_v2_update_job_trigger_request_object
# @param [String] fields # @param [String] fields
@ -1807,7 +1818,7 @@ module Google
# identification_in_free_text_code_example # identification_in_free_text_code_example
# to learn more. # to learn more.
# @param [String] parent # @param [String] parent
# The parent resource name. # Required. The parent resource name.
# @param [String] location # @param [String] location
# The geographic location to process content reidentification. Reserved for # The geographic location to process content reidentification. Reserved for
# future extensions. # future extensions.
@ -1889,7 +1900,7 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
# learn more. # learn more.
# @param [String] parent # @param [String] parent
# The parent resource name, for example projects/my-project-id or # Required. The parent resource name, for example projects/my-project-id or
# organizations/my-org-id. # organizations/my-org-id.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
# @param [String] fields # @param [String] fields
@ -1925,7 +1936,8 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
# learn more. # learn more.
# @param [String] name # @param [String] name
# Resource name of the organization and storedInfoType to be deleted, for # Required. Resource name of the organization and storedInfoType to be deleted,
# for
# example `organizations/433245324/storedInfoTypes/432452342` or # example `organizations/433245324/storedInfoTypes/432452342` or
# projects/project-id/storedInfoTypes/432452342. # projects/project-id/storedInfoTypes/432452342.
# @param [String] fields # @param [String] fields
@ -1959,7 +1971,7 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
# learn more. # learn more.
# @param [String] name # @param [String] name
# Resource name of the organization and storedInfoType to be read, for # Required. Resource name of the organization and storedInfoType to be read, for
# example `organizations/433245324/storedInfoTypes/432452342` or # example `organizations/433245324/storedInfoTypes/432452342` or
# projects/project-id/storedInfoTypes/432452342. # projects/project-id/storedInfoTypes/432452342.
# @param [String] fields # @param [String] fields
@ -1993,7 +2005,7 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
# learn more. # learn more.
# @param [String] parent # @param [String] parent
# The parent resource name, for example projects/my-project-id or # Required. The parent resource name, for example projects/my-project-id or
# organizations/my-org-id. # organizations/my-org-id.
# @param [String] order_by # @param [String] order_by
# Optional comma separated list of fields to order by, # Optional comma separated list of fields to order by,
@ -2048,7 +2060,7 @@ module Google
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
# learn more. # learn more.
# @param [String] name # @param [String] name
# Resource name of organization and storedInfoType to be updated, for # Required. Resource name of organization and storedInfoType to be updated, for
# example `organizations/433245324/storedInfoTypes/432452342` or # example `organizations/433245324/storedInfoTypes/432452342` or
# projects/project-id/storedInfoTypes/432452342. # projects/project-id/storedInfoTypes/432452342.
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateStoredInfoTypeRequest] google_privacy_dlp_v2_update_stored_info_type_request_object # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateStoredInfoTypeRequest] google_privacy_dlp_v2_update_stored_info_type_request_object

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/recommender/docs/ # @see https://cloud.google.com/recommender/docs/
module RecommenderV1beta1 module RecommenderV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190922' REVISION = '20191102'
# 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'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/memorystore/docs/redis/ # @see https://cloud.google.com/memorystore/docs/redis/
module RedisV1 module RedisV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190620' REVISION = '20191104'
# 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'

View File

@ -258,7 +258,7 @@ module Google
# Optional. Only applicable to STANDARD_HA tier which protects the instance # Optional. Only applicable to STANDARD_HA tier which protects the instance
# against zonal failures by provisioning it across two zones. If provided, it # against zonal failures by provisioning it across two zones. If provided, it
# must be a different zone from the one provided in [location_id]. # must be a different zone from the one provided in location_id.
# Corresponds to the JSON property `alternativeLocationId` # Corresponds to the JSON property `alternativeLocationId`
# @return [String] # @return [String]
attr_accessor :alternative_location_id attr_accessor :alternative_location_id
@ -277,9 +277,9 @@ module Google
attr_accessor :create_time attr_accessor :create_time
# Output only. The current zone where the Redis endpoint is placed. For Basic # Output only. The current zone where the Redis endpoint is placed. For Basic
# Tier instances, this will always be the same as the [location_id] # Tier instances, this will always be the same as the location_id
# provided by the user at creation time. For Standard Tier instances, # provided by the user at creation time. For Standard Tier instances,
# this can be either [location_id] or [alternative_location_id] and can # this can be either location_id or alternative_location_id and can
# change after a failover event. # change after a failover event.
# Corresponds to the JSON property `currentLocationId` # Corresponds to the JSON property `currentLocationId`
# @return [String] # @return [String]
@ -304,8 +304,8 @@ module Google
# Optional. The zone where the instance will be provisioned. If not provided, # Optional. The zone where the instance will be provisioned. If not provided,
# the service will choose a zone for the instance. For STANDARD_HA tier, # the service will choose a zone for the instance. For STANDARD_HA tier,
# instances will be created across two zones for protection against zonal # instances will be created across two zones for protection against zonal
# failures. If [alternative_location_id] is also provided, it must be # failures. If alternative_location_id is also provided, it must be
# different from [location_id]. # different from location_id.
# Corresponds to the JSON property `locationId` # Corresponds to the JSON property `locationId`
# @return [String] # @return [String]
attr_accessor :location_id attr_accessor :location_id
@ -321,8 +321,8 @@ module Google
# Note: Redis instances are managed and addressed at regional level so # Note: Redis instances are managed and addressed at regional level so
# location_id here refers to a GCP region; however, users may choose which # location_id here refers to a GCP region; however, users may choose which
# specific zone (or collection of zones for cross-zone instances) an instance # specific zone (or collection of zones for cross-zone instances) an instance
# should be provisioned in. Refer to [location_id] and # should be provisioned in. Refer to location_id and
# [alternative_location_id] fields for more details. # alternative_location_id fields for more details.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -425,10 +425,10 @@ module Google
# If the `location_id` in the parent field of the request is "-", all regions # If the `location_id` in the parent field of the request is "-", all regions
# available to the project are queried, and the results aggregated. # available to the project are queried, and the results aggregated.
# If in such an aggregated query a location is unavailable, a dummy Redis # If in such an aggregated query a location is unavailable, a dummy Redis
# entry is included in the response with the "name" field set to a value of # entry is included in the response with the `name` field set to a value of
# the form projects/`project_id`/locations/`location_id`/instances/- and the # the form `projects/`project_id`/locations/`location_id`/instances/`- and
# "status" field set to ERROR and "status_message" field set to "location not # the `status` field set to ERROR and `status_message` field set to "location
# available for ListInstances". # not available for ListInstances".
# Corresponds to the JSON property `instances` # Corresponds to the JSON property `instances`
# @return [Array<Google::Apis::RedisV1::Instance>] # @return [Array<Google::Apis::RedisV1::Instance>]
attr_accessor :instances attr_accessor :instances

View File

@ -362,11 +362,11 @@ module Google
# If not specified, a default value of 1000 will be used by the service. # If not specified, a default value of 1000 will be used by the service.
# Regardless of the page_size value, the response may include a partial list # Regardless of the page_size value, the response may include a partial list
# and a caller should only rely on response's # and a caller should only rely on response's
# next_page_token # `next_page_token`
# to determine if there are more instances left to be queried. # to determine if there are more instances left to be queried.
# @param [String] page_token # @param [String] page_token
# The next_page_token value returned from a previous List request, # The `next_page_token` value returned from a previous
# if any. # ListInstances request, if any.
# @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
@ -407,8 +407,8 @@ module Google
# Note: Redis instances are managed and addressed at regional level so # Note: Redis instances are managed and addressed at regional level so
# location_id here refers to a GCP region; however, users may choose which # location_id here refers to a GCP region; however, users may choose which
# specific zone (or collection of zones for cross-zone instances) an instance # specific zone (or collection of zones for cross-zone instances) an instance
# should be provisioned in. Refer to [location_id] and # should be provisioned in. Refer to location_id and
# [alternative_location_id] fields for more details. # alternative_location_id fields for more details.
# @param [Google::Apis::RedisV1::Instance] instance_object # @param [Google::Apis::RedisV1::Instance] instance_object
# @param [String] update_mask # @param [String] update_mask
# Required. Mask of fields to update. At least one path must be supplied in # Required. Mask of fields to update. At least one path must be supplied in

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/vision/ # @see https://cloud.google.com/vision/
module VisionV1p2beta1 module VisionV1p2beta1
VERSION = 'V1p2beta1' VERSION = 'V1p2beta1'
REVISION = '20191011' REVISION = '20191105'
# 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'

View File

@ -7442,6 +7442,38 @@ module Google
end end
end end
# A Celebrity is a group of Faces with an identity.
class GoogleCloudVisionV1p4beta1Celebrity
include Google::Apis::Core::Hashable
# The Celebrity's description.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# The Celebrity's display name.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# The resource name of the preloaded Celebrity. Has the format
# `builtin/`mid``.
# 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)
@description = args[:description] if args.key?(:description)
@display_name = args[:display_name] if args.key?(:display_name)
@name = args[:name] if args.key?(:name)
end
end
# Color information consists of RGB channels, score, and the fraction of # Color information consists of RGB channels, score, and the fraction of
# the image that the color occupies in the image. # the image that the color occupies in the image.
class GoogleCloudVisionV1p4beta1ColorInfo class GoogleCloudVisionV1p4beta1ColorInfo
@ -7786,6 +7818,14 @@ module Google
# @return [Float] # @return [Float]
attr_accessor :pan_angle attr_accessor :pan_angle
# Additional recognition information. Only computed if
# image_context.face_recognition_params is provided, **and** a match is found
# to a Celebrity in the input CelebritySet. This field is
# sorted in order of decreasing confidence values.
# Corresponds to the JSON property `recognitionResult`
# @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1FaceRecognitionResult>]
attr_accessor :recognition_result
# Roll angle, which indicates the amount of clockwise/anti-clockwise rotation # Roll angle, which indicates the amount of clockwise/anti-clockwise rotation
# of the face relative to the image vertical about the axis perpendicular to # of the face relative to the image vertical about the axis perpendicular to
# the face. Range [-180,180]. # the face. Range [-180,180].
@ -7830,6 +7870,7 @@ module Google
@landmarking_confidence = args[:landmarking_confidence] if args.key?(:landmarking_confidence) @landmarking_confidence = args[:landmarking_confidence] if args.key?(:landmarking_confidence)
@landmarks = args[:landmarks] if args.key?(:landmarks) @landmarks = args[:landmarks] if args.key?(:landmarks)
@pan_angle = args[:pan_angle] if args.key?(:pan_angle) @pan_angle = args[:pan_angle] if args.key?(:pan_angle)
@recognition_result = args[:recognition_result] if args.key?(:recognition_result)
@roll_angle = args[:roll_angle] if args.key?(:roll_angle) @roll_angle = args[:roll_angle] if args.key?(:roll_angle)
@sorrow_likelihood = args[:sorrow_likelihood] if args.key?(:sorrow_likelihood) @sorrow_likelihood = args[:sorrow_likelihood] if args.key?(:sorrow_likelihood)
@surprise_likelihood = args[:surprise_likelihood] if args.key?(:surprise_likelihood) @surprise_likelihood = args[:surprise_likelihood] if args.key?(:surprise_likelihood)
@ -7865,6 +7906,31 @@ module Google
end end
end end
# Information about a face's identity.
class GoogleCloudVisionV1p4beta1FaceRecognitionResult
include Google::Apis::Core::Hashable
# A Celebrity is a group of Faces with an identity.
# Corresponds to the JSON property `celebrity`
# @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1Celebrity]
attr_accessor :celebrity
# Recognition confidence. Range [0, 1].
# Corresponds to the JSON property `confidence`
# @return [Float]
attr_accessor :confidence
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@celebrity = args[:celebrity] if args.key?(:celebrity)
@confidence = args[:confidence] if args.key?(:confidence)
end
end
# The Google Cloud Storage location where the output will be written to. # The Google Cloud Storage location where the output will be written to.
class GoogleCloudVisionV1p4beta1GcsDestination class GoogleCloudVisionV1p4beta1GcsDestination
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -1144,6 +1144,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVisionV1p4beta1Celebrity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p4beta1ColorInfo class GoogleCloudVisionV1p4beta1ColorInfo
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1186,6 +1192,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudVisionV1p4beta1FaceRecognitionResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudVisionV1p4beta1GcsDestination class GoogleCloudVisionV1p4beta1GcsDestination
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -3652,6 +3664,15 @@ module Google
end end
end end
class GoogleCloudVisionV1p4beta1Celebrity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :display_name, as: 'displayName'
property :name, as: 'name'
end
end
class GoogleCloudVisionV1p4beta1ColorInfo class GoogleCloudVisionV1p4beta1ColorInfo
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -3722,6 +3743,8 @@ module Google
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1FaceAnnotationLandmark, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1FaceAnnotationLandmark::Representation collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1FaceAnnotationLandmark, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1FaceAnnotationLandmark::Representation
property :pan_angle, as: 'panAngle' property :pan_angle, as: 'panAngle'
collection :recognition_result, as: 'recognitionResult', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1FaceRecognitionResult, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1FaceRecognitionResult::Representation
property :roll_angle, as: 'rollAngle' property :roll_angle, as: 'rollAngle'
property :sorrow_likelihood, as: 'sorrowLikelihood' property :sorrow_likelihood, as: 'sorrowLikelihood'
property :surprise_likelihood, as: 'surpriseLikelihood' property :surprise_likelihood, as: 'surpriseLikelihood'
@ -3739,6 +3762,15 @@ module Google
end end
end end
class GoogleCloudVisionV1p4beta1FaceRecognitionResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :celebrity, as: 'celebrity', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1Celebrity, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1Celebrity::Representation
property :confidence, as: 'confidence'
end
end
class GoogleCloudVisionV1p4beta1GcsDestination class GoogleCloudVisionV1p4beta1GcsDestination
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation