Autogenerated update (2018-05-03)
Delete: - dlp_v2beta1 - dlp_v2beta2 Update: - adsensehost_v4_1 - dataproc_v1 - dataproc_v1beta2 - dialogflow_v2 - dialogflow_v2beta1 - dlp_v2 - firebasedynamiclinks_v1 - games_v1 - genomics_v1 - genomics_v1alpha2 - genomics_v2alpha1 - oslogin_v1alpha - script_v1 - youtube_v3
This commit is contained in:
parent
1476c31b2f
commit
bbfc0d45ac
|
@ -47584,6 +47584,8 @@
|
|||
"/dlp:v2/GooglePrivacyDlpV2DlpJob/type": type
|
||||
"/dlp:v2/GooglePrivacyDlpV2DocumentLocation": google_privacy_dlp_v2_document_location
|
||||
"/dlp:v2/GooglePrivacyDlpV2DocumentLocation/fileOffset": file_offset
|
||||
"/dlp:v2/GooglePrivacyDlpV2EntityId": google_privacy_dlp_v2_entity_id
|
||||
"/dlp:v2/GooglePrivacyDlpV2EntityId/field": field
|
||||
"/dlp:v2/GooglePrivacyDlpV2Error": google_privacy_dlp_v2_error
|
||||
"/dlp:v2/GooglePrivacyDlpV2Error/details": details
|
||||
"/dlp:v2/GooglePrivacyDlpV2Error/timestamps": timestamps
|
||||
|
@ -47699,6 +47701,7 @@
|
|||
"/dlp:v2/GooglePrivacyDlpV2JobTrigger/triggers/trigger": trigger
|
||||
"/dlp:v2/GooglePrivacyDlpV2JobTrigger/updateTime": update_time
|
||||
"/dlp:v2/GooglePrivacyDlpV2KAnonymityConfig": google_privacy_dlp_v2_k_anonymity_config
|
||||
"/dlp:v2/GooglePrivacyDlpV2KAnonymityConfig/entityId": entity_id
|
||||
"/dlp:v2/GooglePrivacyDlpV2KAnonymityConfig/quasiIds": quasi_ids
|
||||
"/dlp:v2/GooglePrivacyDlpV2KAnonymityConfig/quasiIds/quasi_id": quasi_id
|
||||
"/dlp:v2/GooglePrivacyDlpV2KAnonymityEquivalenceClass": google_privacy_dlp_v2_k_anonymity_equivalence_class
|
||||
|
@ -54195,6 +54198,7 @@
|
|||
"/genomics:v1/ContainerStoppedEvent": container_stopped_event
|
||||
"/genomics:v1/ContainerStoppedEvent/actionId": action_id
|
||||
"/genomics:v1/ContainerStoppedEvent/exitStatus": exit_status
|
||||
"/genomics:v1/ContainerStoppedEvent/stderr": stderr
|
||||
"/genomics:v1/CoverageBucket": coverage_bucket
|
||||
"/genomics:v1/CoverageBucket/meanCoverage": mean_coverage
|
||||
"/genomics:v1/CoverageBucket/range": range
|
||||
|
@ -54745,6 +54749,7 @@
|
|||
"/genomics:v1alpha2/ContainerStoppedEvent": container_stopped_event
|
||||
"/genomics:v1alpha2/ContainerStoppedEvent/actionId": action_id
|
||||
"/genomics:v1alpha2/ContainerStoppedEvent/exitStatus": exit_status
|
||||
"/genomics:v1alpha2/ContainerStoppedEvent/stderr": stderr
|
||||
"/genomics:v1alpha2/ControllerConfig": controller_config
|
||||
"/genomics:v1alpha2/ControllerConfig/cmd": cmd
|
||||
"/genomics:v1alpha2/ControllerConfig/disks": disks
|
||||
|
@ -55001,6 +55006,7 @@
|
|||
"/genomics:v2alpha1/ContainerStoppedEvent": container_stopped_event
|
||||
"/genomics:v2alpha1/ContainerStoppedEvent/actionId": action_id
|
||||
"/genomics:v2alpha1/ContainerStoppedEvent/exitStatus": exit_status
|
||||
"/genomics:v2alpha1/ContainerStoppedEvent/stderr": stderr
|
||||
"/genomics:v2alpha1/DelayedEvent": delayed_event
|
||||
"/genomics:v2alpha1/DelayedEvent/cause": cause
|
||||
"/genomics:v2alpha1/DelayedEvent/metrics": metrics
|
||||
|
@ -59219,6 +59225,7 @@
|
|||
"/oslogin:v1alpha/oslogin.users.importSshPublicKey/projectId": project_id
|
||||
"/oslogin:v1alpha/oslogin.users.projects.delete": delete_user_project
|
||||
"/oslogin:v1alpha/oslogin.users.projects.delete/name": name
|
||||
"/oslogin:v1alpha/oslogin.users.projects.delete/operatingSystemType": operating_system_type
|
||||
"/oslogin:v1alpha/oslogin.users.sshPublicKeys.delete": delete_user_ssh_public_key
|
||||
"/oslogin:v1alpha/oslogin.users.sshPublicKeys.delete/name": name
|
||||
"/oslogin:v1alpha/oslogin.users.sshPublicKeys.get": get_user_ssh_public_key
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/adsense/host/
|
||||
module AdsensehostV4_1
|
||||
VERSION = 'V4_1'
|
||||
REVISION = '20180429'
|
||||
REVISION = '20180501'
|
||||
|
||||
# View and manage your AdSense host data and associated accounts
|
||||
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/dataproc/
|
||||
module DataprocV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180409'
|
||||
REVISION = '20180502'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -721,9 +721,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :image_uri
|
||||
|
||||
# Optional. The list of instance names. Cloud Dataproc derives the names from
|
||||
# cluster_name, num_instances, and the instance group if not set by user (
|
||||
# recommended practice is to let Cloud Dataproc derive the name).
|
||||
# Output only. The list of instance names. Cloud Dataproc derives the names from
|
||||
# cluster_name, num_instances, and the instance group.
|
||||
# Corresponds to the JSON property `instanceNames`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :instance_names
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/dataproc/
|
||||
module DataprocV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20180424'
|
||||
REVISION = '20180502'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -846,9 +846,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :image_uri
|
||||
|
||||
# Optional. The list of instance names. Cloud Dataproc derives the names from
|
||||
# cluster_name, num_instances, and the instance group if not set by user (
|
||||
# recommended practice is to let Cloud Dataproc derive the name).
|
||||
# Output only. The list of instance names. Cloud Dataproc derives the names from
|
||||
# cluster_name, num_instances, and the instance group.
|
||||
# Corresponds to the JSON property `instanceNames`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :instance_names
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/dialogflow-enterprise/
|
||||
module DialogflowV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180422'
|
||||
REVISION = '20180430'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2067,10 +2067,10 @@ module Google
|
|||
# indicates an estimated greater likelihood that the recognized words are
|
||||
# correct. The default of 0.0 is a sentinel value indicating that confidence
|
||||
# was not set.
|
||||
# You should not rely on this field as it isn't guaranteed to be accurate, or
|
||||
# even set. In particular this field isn't set in Webhook calls and for
|
||||
# StreamingDetectIntent since the streaming endpoint has separate confidence
|
||||
# estimates per portion of the audio in StreamingRecognitionResult.
|
||||
# This field is not guaranteed to be accurate or set. In particular this
|
||||
# field isn't set for StreamingDetectIntent since the streaming endpoint has
|
||||
# separate confidence estimates per portion of the audio in
|
||||
# StreamingRecognitionResult.
|
||||
# Corresponds to the JSON property `speechRecognitionConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :speech_recognition_confidence
|
||||
|
@ -3680,10 +3680,10 @@ module Google
|
|||
# indicates an estimated greater likelihood that the recognized words are
|
||||
# correct. The default of 0.0 is a sentinel value indicating that confidence
|
||||
# was not set.
|
||||
# You should not rely on this field as it isn't guaranteed to be accurate, or
|
||||
# even set. In particular this field isn't set in Webhook calls and for
|
||||
# StreamingDetectIntent since the streaming endpoint has separate confidence
|
||||
# estimates per portion of the audio in StreamingRecognitionResult.
|
||||
# This field is not guaranteed to be accurate or set. In particular this
|
||||
# field isn't set for StreamingDetectIntent since the streaming endpoint has
|
||||
# separate confidence estimates per portion of the audio in
|
||||
# StreamingRecognitionResult.
|
||||
# Corresponds to the JSON property `speechRecognitionConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :speech_recognition_confidence
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/dialogflow-enterprise/
|
||||
module DialogflowV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20180422'
|
||||
REVISION = '20180430'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1284,10 +1284,10 @@ module Google
|
|||
# indicates an estimated greater likelihood that the recognized words are
|
||||
# correct. The default of 0.0 is a sentinel value indicating that confidence
|
||||
# was not set.
|
||||
# You should not rely on this field as it isn't guaranteed to be accurate, or
|
||||
# even set. In particular this field isn't set in Webhook calls and for
|
||||
# StreamingDetectIntent since the streaming endpoint has separate confidence
|
||||
# estimates per portion of the audio in StreamingRecognitionResult.
|
||||
# This field is not guaranteed to be accurate or set. In particular this
|
||||
# field isn't set for StreamingDetectIntent since the streaming endpoint has
|
||||
# separate confidence estimates per portion of the audio in
|
||||
# StreamingRecognitionResult.
|
||||
# Corresponds to the JSON property `speechRecognitionConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :speech_recognition_confidence
|
||||
|
@ -3535,10 +3535,10 @@ module Google
|
|||
# indicates an estimated greater likelihood that the recognized words are
|
||||
# correct. The default of 0.0 is a sentinel value indicating that confidence
|
||||
# was not set.
|
||||
# You should not rely on this field as it isn't guaranteed to be accurate, or
|
||||
# even set. In particular this field isn't set in Webhook calls and for
|
||||
# StreamingDetectIntent since the streaming endpoint has separate confidence
|
||||
# estimates per portion of the audio in StreamingRecognitionResult.
|
||||
# This field is not guaranteed to be accurate or set. In particular this
|
||||
# field isn't set for StreamingDetectIntent since the streaming endpoint has
|
||||
# separate confidence estimates per portion of the audio in
|
||||
# StreamingRecognitionResult.
|
||||
# Corresponds to the JSON property `speechRecognitionConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :speech_recognition_confidence
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/dlp/docs/
|
||||
module DlpV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180424'
|
||||
REVISION = '20180501'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -280,6 +280,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2EntityId
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2Error
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -874,300 +880,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1AuxiliaryTable
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1BigQueryOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1BigQueryTable
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1CategoricalStatsConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1CategoricalStatsResult
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1CloudStorageOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1CloudStoragePath
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1CustomInfoType
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1DatastoreOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1Dictionary
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1EntityId
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1FieldId
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1FileSet
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1InfoType
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1InfoTypeLimit
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1InfoTypeStatistics
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1InspectConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1InspectOperationMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1InspectOperationResult
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KAnonymityConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KAnonymityHistogramBucket
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KAnonymityResult
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KMapEstimationConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KMapEstimationQuasiIdValues
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KMapEstimationResult
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KindExpression
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1LDiversityConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1LDiversityEquivalenceClass
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1LDiversityHistogramBucket
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1LDiversityResult
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1NumericalStatsConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1NumericalStatsResult
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1OutputStorageConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1PartitionId
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1PrivacyMetric
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1Projection
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1PropertyReference
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1QuasiIdField
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1RiskAnalysisOperationResult
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1StorageConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1SurrogateType
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1TaggedField
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1Value
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1ValueFrequency
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1WordList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleProtobufEmpty
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1651,6 +1363,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2EntityId
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :field, as: 'field', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2Error
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1918,6 +1638,8 @@ module Google
|
|||
class GooglePrivacyDlpV2KAnonymityConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :entity_id, as: 'entityId', class: Google::Apis::DlpV2::GooglePrivacyDlpV2EntityId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2EntityId::Representation
|
||||
|
||||
collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
|
||||
|
||||
end
|
||||
|
@ -2624,490 +2346,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1AuxiliaryTable
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1QuasiIdField, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1QuasiIdField::Representation
|
||||
|
||||
property :relative_frequency, as: 'relativeFrequency', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId::Representation
|
||||
|
||||
property :table, as: 'table', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1BigQueryTable::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1BigQueryOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :identifying_fields, as: 'identifyingFields', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId::Representation
|
||||
|
||||
property :table_reference, as: 'tableReference', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1BigQueryTable::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1BigQueryTable
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :dataset_id, as: 'datasetId'
|
||||
property :project_id, as: 'projectId'
|
||||
property :table_id, as: 'tableId'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1CategoricalStatsConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :field, as: 'field', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bucket_size, :numeric_string => true, as: 'bucketSize'
|
||||
collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1ValueFrequency, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1ValueFrequency::Representation
|
||||
|
||||
property :value_frequency_lower_bound, :numeric_string => true, as: 'valueFrequencyLowerBound'
|
||||
property :value_frequency_upper_bound, :numeric_string => true, as: 'valueFrequencyUpperBound'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1CategoricalStatsResult
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :value_frequency_histogram_buckets, as: 'valueFrequencyHistogramBuckets', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1CategoricalStatsHistogramBucket::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1CloudStorageOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :file_set, as: 'fileSet', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FileSet, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FileSet::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1CloudStoragePath
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :path, as: 'path'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1CustomInfoType
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :dictionary, as: 'dictionary', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Dictionary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Dictionary::Representation
|
||||
|
||||
property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InfoType::Representation
|
||||
|
||||
property :surrogate_type, as: 'surrogateType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1SurrogateType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1SurrogateType::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1DatastoreOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KindExpression, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KindExpression::Representation
|
||||
|
||||
property :partition_id, as: 'partitionId', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1PartitionId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1PartitionId::Representation
|
||||
|
||||
collection :projection, as: 'projection', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Projection, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Projection::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1Dictionary
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :word_list, as: 'wordList', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1WordList, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1WordList::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1EntityId
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :field, as: 'field', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1FieldId
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :column_name, as: 'columnName'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1FileSet
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :url, as: 'url'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1InfoType
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1InfoTypeLimit
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InfoType::Representation
|
||||
|
||||
property :max_findings, as: 'maxFindings'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1InfoTypeStatistics
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :count, :numeric_string => true, as: 'count'
|
||||
property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InfoType::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1InspectConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :custom_info_types, as: 'customInfoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1CustomInfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1CustomInfoType::Representation
|
||||
|
||||
property :exclude_types, as: 'excludeTypes'
|
||||
property :include_quote, as: 'includeQuote'
|
||||
collection :info_type_limits, as: 'infoTypeLimits', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InfoTypeLimit, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InfoTypeLimit::Representation
|
||||
|
||||
collection :info_types, as: 'infoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InfoType::Representation
|
||||
|
||||
property :max_findings, as: 'maxFindings'
|
||||
property :min_likelihood, as: 'minLikelihood'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1InspectOperationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :create_time, as: 'createTime'
|
||||
collection :info_type_stats, as: 'infoTypeStats', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InfoTypeStatistics, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InfoTypeStatistics::Representation
|
||||
|
||||
property :processed_bytes, :numeric_string => true, as: 'processedBytes'
|
||||
property :request_inspect_config, as: 'requestInspectConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InspectConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InspectConfig::Representation
|
||||
|
||||
property :request_output_config, as: 'requestOutputConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1OutputStorageConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1OutputStorageConfig::Representation
|
||||
|
||||
property :request_storage_config, as: 'requestStorageConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1StorageConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1StorageConfig::Representation
|
||||
|
||||
property :total_estimated_bytes, :numeric_string => true, as: 'totalEstimatedBytes'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1InspectOperationResult
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KAnonymityConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :entity_id, as: 'entityId', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1EntityId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1EntityId::Representation
|
||||
|
||||
collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :equivalence_class_size, :numeric_string => true, as: 'equivalenceClassSize'
|
||||
collection :quasi_ids_values, as: 'quasiIdsValues', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Value::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KAnonymityHistogramBucket
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bucket_size, :numeric_string => true, as: 'bucketSize'
|
||||
collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KAnonymityEquivalenceClass::Representation
|
||||
|
||||
property :equivalence_class_size_lower_bound, :numeric_string => true, as: 'equivalenceClassSizeLowerBound'
|
||||
property :equivalence_class_size_upper_bound, :numeric_string => true, as: 'equivalenceClassSizeUpperBound'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KAnonymityResult
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :equivalence_class_histogram_buckets, as: 'equivalenceClassHistogramBuckets', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KAnonymityHistogramBucket, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KAnonymityHistogramBucket::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KMapEstimationConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :auxiliary_tables, as: 'auxiliaryTables', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1AuxiliaryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1AuxiliaryTable::Representation
|
||||
|
||||
collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1TaggedField, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1TaggedField::Representation
|
||||
|
||||
property :region_code, as: 'regionCode'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bucket_size, :numeric_string => true, as: 'bucketSize'
|
||||
collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KMapEstimationQuasiIdValues, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KMapEstimationQuasiIdValues::Representation
|
||||
|
||||
property :max_anonymity, :numeric_string => true, as: 'maxAnonymity'
|
||||
property :min_anonymity, :numeric_string => true, as: 'minAnonymity'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KMapEstimationQuasiIdValues
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :estimated_anonymity, :numeric_string => true, as: 'estimatedAnonymity'
|
||||
collection :quasi_ids_values, as: 'quasiIdsValues', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Value::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KMapEstimationResult
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :k_map_estimation_histogram, as: 'kMapEstimationHistogram', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KMapEstimationHistogramBucket::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1KindExpression
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1LDiversityConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :quasi_ids, as: 'quasiIds', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId::Representation
|
||||
|
||||
property :sensitive_attribute, as: 'sensitiveAttribute', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1LDiversityEquivalenceClass
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :equivalence_class_size, :numeric_string => true, as: 'equivalenceClassSize'
|
||||
property :num_distinct_sensitive_values, :numeric_string => true, as: 'numDistinctSensitiveValues'
|
||||
collection :quasi_ids_values, as: 'quasiIdsValues', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Value::Representation
|
||||
|
||||
collection :top_sensitive_values, as: 'topSensitiveValues', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1ValueFrequency, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1ValueFrequency::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1LDiversityHistogramBucket
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bucket_size, :numeric_string => true, as: 'bucketSize'
|
||||
collection :bucket_values, as: 'bucketValues', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1LDiversityEquivalenceClass, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1LDiversityEquivalenceClass::Representation
|
||||
|
||||
property :sensitive_value_frequency_lower_bound, :numeric_string => true, as: 'sensitiveValueFrequencyLowerBound'
|
||||
property :sensitive_value_frequency_upper_bound, :numeric_string => true, as: 'sensitiveValueFrequencyUpperBound'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1LDiversityResult
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :sensitive_value_frequency_histogram_buckets, as: 'sensitiveValueFrequencyHistogramBuckets', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1LDiversityHistogramBucket, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1LDiversityHistogramBucket::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1NumericalStatsConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :field, as: 'field', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1NumericalStatsResult
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :max_value, as: 'maxValue', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Value::Representation
|
||||
|
||||
property :min_value, as: 'minValue', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Value::Representation
|
||||
|
||||
collection :quantile_values, as: 'quantileValues', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Value::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1OutputStorageConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :storage_path, as: 'storagePath', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1CloudStoragePath, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1CloudStoragePath::Representation
|
||||
|
||||
property :table, as: 'table', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1BigQueryTable::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1PartitionId
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :namespace_id, as: 'namespaceId'
|
||||
property :project_id, as: 'projectId'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1PrivacyMetric
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :categorical_stats_config, as: 'categoricalStatsConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1CategoricalStatsConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1CategoricalStatsConfig::Representation
|
||||
|
||||
property :k_anonymity_config, as: 'kAnonymityConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KAnonymityConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KAnonymityConfig::Representation
|
||||
|
||||
property :k_map_estimation_config, as: 'kMapEstimationConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KMapEstimationConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KMapEstimationConfig::Representation
|
||||
|
||||
property :l_diversity_config, as: 'lDiversityConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1LDiversityConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1LDiversityConfig::Representation
|
||||
|
||||
property :numerical_stats_config, as: 'numericalStatsConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1NumericalStatsConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1NumericalStatsConfig::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1Projection
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :property, as: 'property', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1PropertyReference, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1PropertyReference::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1PropertyReference
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1QuasiIdField
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :custom_tag, as: 'customTag'
|
||||
property :field, as: 'field', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1RiskAnalysisOperationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :create_time, as: 'createTime'
|
||||
property :requested_privacy_metric, as: 'requestedPrivacyMetric', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1PrivacyMetric, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1PrivacyMetric::Representation
|
||||
|
||||
property :requested_source_table, as: 'requestedSourceTable', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1BigQueryTable::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1RiskAnalysisOperationResult
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :categorical_stats_result, as: 'categoricalStatsResult', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1CategoricalStatsResult, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1CategoricalStatsResult::Representation
|
||||
|
||||
property :k_anonymity_result, as: 'kAnonymityResult', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KAnonymityResult, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KAnonymityResult::Representation
|
||||
|
||||
property :k_map_estimation_result, as: 'kMapEstimationResult', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KMapEstimationResult, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1KMapEstimationResult::Representation
|
||||
|
||||
property :l_diversity_result, as: 'lDiversityResult', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1LDiversityResult, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1LDiversityResult::Representation
|
||||
|
||||
property :numerical_stats_result, as: 'numericalStatsResult', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1NumericalStatsResult, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1NumericalStatsResult::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1StorageConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :big_query_options, as: 'bigQueryOptions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1BigQueryOptions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1BigQueryOptions::Representation
|
||||
|
||||
property :cloud_storage_options, as: 'cloudStorageOptions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1CloudStorageOptions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1CloudStorageOptions::Representation
|
||||
|
||||
property :datastore_options, as: 'datastoreOptions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1DatastoreOptions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1DatastoreOptions::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1SurrogateType
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1TaggedField
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :custom_tag, as: 'customTag'
|
||||
property :field, as: 'field', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1FieldId::Representation
|
||||
|
||||
property :inferred, as: 'inferred', class: Google::Apis::DlpV2::GoogleProtobufEmpty, decorator: Google::Apis::DlpV2::GoogleProtobufEmpty::Representation
|
||||
|
||||
property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InfoType::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1Value
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :boolean_value, as: 'booleanValue'
|
||||
property :date_value, as: 'dateValue', class: Google::Apis::DlpV2::GoogleTypeDate, decorator: Google::Apis::DlpV2::GoogleTypeDate::Representation
|
||||
|
||||
property :float_value, as: 'floatValue'
|
||||
property :integer_value, :numeric_string => true, as: 'integerValue'
|
||||
property :string_value, as: 'stringValue'
|
||||
property :time_value, as: 'timeValue', class: Google::Apis::DlpV2::GoogleTypeTimeOfDay, decorator: Google::Apis::DlpV2::GoogleTypeTimeOfDay::Representation
|
||||
|
||||
property :timestamp_value, as: 'timestampValue'
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1ValueFrequency
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :count, :numeric_string => true, as: 'count'
|
||||
property :value, as: 'value', class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Value, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1Value::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GooglePrivacyDlpV2beta1WordList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :words, as: 'words'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleProtobufEmpty
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/dlp_v2beta1/service.rb'
|
||||
require 'google/apis/dlp_v2beta1/classes.rb'
|
||||
require 'google/apis/dlp_v2beta1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Cloud Data Loss Prevention (DLP) API
|
||||
#
|
||||
# Provides methods for detection, risk analysis, and de-identification of
|
||||
# privacy-sensitive fragments in text, images, and Google Cloud Platform storage
|
||||
# repositories.
|
||||
#
|
||||
# @see https://cloud.google.com/dlp/docs/
|
||||
module DlpV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20180404'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
end
|
||||
end
|
||||
end
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,603 +0,0 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/core/base_service'
|
||||
require 'google/apis/core/json_representation'
|
||||
require 'google/apis/core/hashable'
|
||||
require 'google/apis/errors'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
module DlpV2beta1
|
||||
# Cloud Data Loss Prevention (DLP) API
|
||||
#
|
||||
# Provides methods for detection, risk analysis, and de-identification of
|
||||
# privacy-sensitive fragments in text, images, and Google Cloud Platform storage
|
||||
# repositories.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/dlp_v2beta1'
|
||||
#
|
||||
# Dlp = Google::Apis::DlpV2beta1 # Alias the module
|
||||
# service = Dlp::DLPService.new
|
||||
#
|
||||
# @see https://cloud.google.com/dlp/docs/
|
||||
class DLPService < Google::Apis::Core::BaseService
|
||||
# @return [String]
|
||||
# API key. Your API key identifies your project and provides you with API access,
|
||||
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
||||
attr_accessor :key
|
||||
|
||||
# @return [String]
|
||||
# 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.
|
||||
attr_accessor :quota_user
|
||||
|
||||
def initialize
|
||||
super('https://dlp.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# De-identifies potentially sensitive info from a list of strings.
|
||||
# This method has limits on input size and output size.
|
||||
# @param [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentRequest] google_privacy_dlp_v2beta1_deidentify_content_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::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentResponse]
|
||||
#
|
||||
# @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 deidentify_content(google_privacy_dlp_v2beta1_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v2beta1/content:deidentify', options)
|
||||
command.request_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentRequest::Representation
|
||||
command.request_object = google_privacy_dlp_v2beta1_deidentify_content_request_object
|
||||
command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentResponse::Representation
|
||||
command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentResponse
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Finds potentially sensitive info in a list of strings.
|
||||
# This method has limits on input size, processing time, and output size.
|
||||
# @param [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentRequest] google_privacy_dlp_v2beta1_inspect_content_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::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentResponse]
|
||||
#
|
||||
# @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 inspect_content(google_privacy_dlp_v2beta1_inspect_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v2beta1/content:inspect', options)
|
||||
command.request_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentRequest::Representation
|
||||
command.request_object = google_privacy_dlp_v2beta1_inspect_content_request_object
|
||||
command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentResponse::Representation
|
||||
command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentResponse
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Redacts potentially sensitive info from a list of strings.
|
||||
# This method has limits on input size, processing time, and output size.
|
||||
# @param [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentRequest] google_privacy_dlp_v2beta1_redact_content_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::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentResponse]
|
||||
#
|
||||
# @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 redact_content(google_privacy_dlp_v2beta1_redact_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v2beta1/content:redact', options)
|
||||
command.request_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentRequest::Representation
|
||||
command.request_object = google_privacy_dlp_v2beta1_redact_content_request_object
|
||||
command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentResponse::Representation
|
||||
command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RedactContentResponse
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Schedules a job to compute risk analysis metrics over content in a Google
|
||||
# Cloud Platform repository.
|
||||
# @param [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1AnalyzeDataSourceRiskRequest] google_privacy_dlp_v2beta1_analyze_data_source_risk_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::DlpV2beta1::GoogleLongrunningOperation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2beta1::GoogleLongrunningOperation]
|
||||
#
|
||||
# @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 analyze_data_source(google_privacy_dlp_v2beta1_analyze_data_source_risk_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v2beta1/dataSource:analyze', options)
|
||||
command.request_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1AnalyzeDataSourceRiskRequest::Representation
|
||||
command.request_object = google_privacy_dlp_v2beta1_analyze_data_source_risk_request_object
|
||||
command.response_representation = Google::Apis::DlpV2beta1::GoogleLongrunningOperation::Representation
|
||||
command.response_class = Google::Apis::DlpV2beta1::GoogleLongrunningOperation
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Cancels an operation. Use the `inspect.operations.get` to check whether the
|
||||
# cancellation succeeded or the operation completed despite cancellation.
|
||||
# @param [String] name
|
||||
# The name of the operation resource to be cancelled.
|
||||
# @param [Google::Apis::DlpV2beta1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_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::DlpV2beta1::GoogleProtobufEmpty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2beta1::GoogleProtobufEmpty]
|
||||
#
|
||||
# @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 cancel_inspect_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v2beta1/{+name}:cancel', options)
|
||||
command.request_representation = Google::Apis::DlpV2beta1::GoogleLongrunningCancelOperationRequest::Representation
|
||||
command.request_object = google_longrunning_cancel_operation_request_object
|
||||
command.response_representation = Google::Apis::DlpV2beta1::GoogleProtobufEmpty::Representation
|
||||
command.response_class = Google::Apis::DlpV2beta1::GoogleProtobufEmpty
|
||||
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
|
||||
|
||||
# Schedules a job scanning content in a Google Cloud Platform data
|
||||
# repository.
|
||||
# @param [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CreateInspectOperationRequest] google_privacy_dlp_v2beta1_create_inspect_operation_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::DlpV2beta1::GoogleLongrunningOperation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2beta1::GoogleLongrunningOperation]
|
||||
#
|
||||
# @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 create_inspect_operation(google_privacy_dlp_v2beta1_create_inspect_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v2beta1/inspect/operations', options)
|
||||
command.request_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CreateInspectOperationRequest::Representation
|
||||
command.request_object = google_privacy_dlp_v2beta1_create_inspect_operation_request_object
|
||||
command.response_representation = Google::Apis::DlpV2beta1::GoogleLongrunningOperation::Representation
|
||||
command.response_class = Google::Apis::DlpV2beta1::GoogleLongrunningOperation
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# This method is not supported and the server returns `UNIMPLEMENTED`.
|
||||
# @param [String] name
|
||||
# The name of the operation resource to be deleted.
|
||||
# @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::DlpV2beta1::GoogleProtobufEmpty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2beta1::GoogleProtobufEmpty]
|
||||
#
|
||||
# @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 delete_inspect_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
||||
command.response_representation = Google::Apis::DlpV2beta1::GoogleProtobufEmpty::Representation
|
||||
command.response_class = Google::Apis::DlpV2beta1::GoogleProtobufEmpty
|
||||
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
|
||||
|
||||
# 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::DlpV2beta1::GoogleLongrunningOperation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2beta1::GoogleLongrunningOperation]
|
||||
#
|
||||
# @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_inspect_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
||||
command.response_representation = Google::Apis::DlpV2beta1::GoogleLongrunningOperation::Representation
|
||||
command.response_class = Google::Apis::DlpV2beta1::GoogleLongrunningOperation
|
||||
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
|
||||
|
||||
# Fetches the list of long running operations.
|
||||
# @param [String] name
|
||||
# The name of the operation's parent resource.
|
||||
# @param [String] filter
|
||||
# Filters by `done`. That is, `done=true` or `done=false`.
|
||||
# @param [Fixnum] page_size
|
||||
# The list page size. The maximum allowed value is 256 and the default is 100.
|
||||
# @param [String] page_token
|
||||
# The standard list page token.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse]
|
||||
#
|
||||
# @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_inspect_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
||||
command.response_representation = Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse::Representation
|
||||
command.response_class = Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns list of results for given inspect operation result set id.
|
||||
# @param [String] name
|
||||
# Identifier of the results set returned as metadata of
|
||||
# the longrunning operation created by a call to InspectDataSource.
|
||||
# Should be in the format of `inspect/results/`id``.
|
||||
# @param [String] filter
|
||||
# Restricts findings to items that match. Supports info_type and likelihood.
|
||||
# Examples:
|
||||
# - info_type=EMAIL_ADDRESS
|
||||
# - info_type=PHONE_NUMBER,EMAIL_ADDRESS
|
||||
# - likelihood=VERY_LIKELY
|
||||
# - likelihood=VERY_LIKELY,LIKELY
|
||||
# - info_type=EMAIL_ADDRESS,likelihood=VERY_LIKELY,LIKELY
|
||||
# @param [Fixnum] page_size
|
||||
# Maximum number of results to return.
|
||||
# If 0, the implementation selects a reasonable value.
|
||||
# @param [String] page_token
|
||||
# The value returned by the last `ListInspectFindingsResponse`; indicates
|
||||
# that this is a continuation of a prior `ListInspectFindings` call, and that
|
||||
# the system should return the next page of data.
|
||||
# @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::DlpV2beta1::GooglePrivacyDlpV2beta1ListInspectFindingsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInspectFindingsResponse]
|
||||
#
|
||||
# @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_inspect_result_findings(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v2beta1/{+name}/findings', options)
|
||||
command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInspectFindingsResponse::Representation
|
||||
command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInspectFindingsResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Cancels an operation. Use the `inspect.operations.get` to check whether the
|
||||
# cancellation succeeded or the operation completed despite cancellation.
|
||||
# @param [String] name
|
||||
# The name of the operation resource to be cancelled.
|
||||
# @param [Google::Apis::DlpV2beta1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_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::DlpV2beta1::GoogleProtobufEmpty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2beta1::GoogleProtobufEmpty]
|
||||
#
|
||||
# @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 cancel_risk_analysis_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v2beta1/{+name}:cancel', options)
|
||||
command.request_representation = Google::Apis::DlpV2beta1::GoogleLongrunningCancelOperationRequest::Representation
|
||||
command.request_object = google_longrunning_cancel_operation_request_object
|
||||
command.response_representation = Google::Apis::DlpV2beta1::GoogleProtobufEmpty::Representation
|
||||
command.response_class = Google::Apis::DlpV2beta1::GoogleProtobufEmpty
|
||||
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
|
||||
|
||||
# This method is not supported and the server returns `UNIMPLEMENTED`.
|
||||
# @param [String] name
|
||||
# The name of the operation resource to be deleted.
|
||||
# @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::DlpV2beta1::GoogleProtobufEmpty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2beta1::GoogleProtobufEmpty]
|
||||
#
|
||||
# @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 delete_risk_analysis_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
||||
command.response_representation = Google::Apis::DlpV2beta1::GoogleProtobufEmpty::Representation
|
||||
command.response_class = Google::Apis::DlpV2beta1::GoogleProtobufEmpty
|
||||
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
|
||||
|
||||
# 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::DlpV2beta1::GoogleLongrunningOperation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2beta1::GoogleLongrunningOperation]
|
||||
#
|
||||
# @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_risk_analysis_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
||||
command.response_representation = Google::Apis::DlpV2beta1::GoogleLongrunningOperation::Representation
|
||||
command.response_class = Google::Apis::DlpV2beta1::GoogleLongrunningOperation
|
||||
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
|
||||
|
||||
# Fetches the list of long running operations.
|
||||
# @param [String] name
|
||||
# The name of the operation's parent resource.
|
||||
# @param [String] filter
|
||||
# Filters by `done`. That is, `done=true` or `done=false`.
|
||||
# @param [Fixnum] page_size
|
||||
# The list page size. The maximum allowed value is 256 and the default is 100.
|
||||
# @param [String] page_token
|
||||
# The standard list page token.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse]
|
||||
#
|
||||
# @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_risk_analysis_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
||||
command.response_representation = Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse::Representation
|
||||
command.response_class = Google::Apis::DlpV2beta1::GoogleLongrunningListOperationsResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns the list of root categories of sensitive information.
|
||||
# @param [String] language_code
|
||||
# Optional language code for localized friendly category names.
|
||||
# If omitted or if localized strings are not available,
|
||||
# en-US strings will be returned.
|
||||
# @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::DlpV2beta1::GooglePrivacyDlpV2beta1ListRootCategoriesResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListRootCategoriesResponse]
|
||||
#
|
||||
# @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_root_categories(language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v2beta1/rootCategories', options)
|
||||
command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListRootCategoriesResponse::Representation
|
||||
command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListRootCategoriesResponse
|
||||
command.query['languageCode'] = language_code unless language_code.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns sensitive information types for given category.
|
||||
# @param [String] category
|
||||
# Category name as returned by ListRootCategories.
|
||||
# @param [String] language_code
|
||||
# Optional BCP-47 language code for localized info type friendly
|
||||
# names. If omitted, or if localized strings are not available,
|
||||
# en-US strings will be returned.
|
||||
# @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::DlpV2beta1::GooglePrivacyDlpV2beta1ListInfoTypesResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInfoTypesResponse]
|
||||
#
|
||||
# @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_root_category_info_types(category, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v2beta1/rootCategories/{+category}/infoTypes', options)
|
||||
command.response_representation = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInfoTypesResponse::Representation
|
||||
command.response_class = Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListInfoTypesResponse
|
||||
command.params['category'] = category unless category.nil?
|
||||
command.query['languageCode'] = language_code unless language_code.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
|
||||
|
||||
def apply_command_defaults(command)
|
||||
command.query['key'] = key unless key.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -1,36 +0,0 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/dlp_v2beta2/service.rb'
|
||||
require 'google/apis/dlp_v2beta2/classes.rb'
|
||||
require 'google/apis/dlp_v2beta2/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Cloud Data Loss Prevention (DLP) API
|
||||
#
|
||||
# Provides methods for detection, risk analysis, and de-identification of
|
||||
# privacy-sensitive fragments in text, images, and Google Cloud Platform storage
|
||||
# repositories.
|
||||
#
|
||||
# @see https://cloud.google.com/dlp/docs/
|
||||
module DlpV2beta2
|
||||
VERSION = 'V2beta2'
|
||||
REVISION = '20180404'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
end
|
||||
end
|
||||
end
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://firebase.google.com/docs/dynamic-links/
|
||||
module FirebasedynamiclinksV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180425'
|
||||
REVISION = '20180502'
|
||||
|
||||
# View and administer all your Firebase data and settings
|
||||
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/games/services/
|
||||
module GamesV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180417'
|
||||
REVISION = '20180430'
|
||||
|
||||
# View and manage its own configuration data in your Google Drive
|
||||
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/genomics
|
||||
module GenomicsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180426'
|
||||
REVISION = '20180501'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -533,6 +533,17 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :exit_status
|
||||
|
||||
# The tail end of any content written to standard error by the container.
|
||||
# To prevent this from being recorded if the action is known to emit
|
||||
# large amounts of debugging noise or sensitive information, set the
|
||||
# DISABLE_STANDARD_ERROR_CAPTURE flag.
|
||||
# Note that only a small amount of the end of the stream is captured here.
|
||||
# The entire stream is stored in the /google/logs directory mounted into
|
||||
# each action, and may be copied off the machine as described elsewhere.
|
||||
# Corresponds to the JSON property `stderr`
|
||||
# @return [String]
|
||||
attr_accessor :stderr
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -541,6 +552,7 @@ module Google
|
|||
def update!(**args)
|
||||
@action_id = args[:action_id] if args.key?(:action_id)
|
||||
@exit_status = args[:exit_status] if args.key?(:exit_status)
|
||||
@stderr = args[:stderr] if args.key?(:stderr)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -666,6 +666,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :action_id, as: 'actionId'
|
||||
property :exit_status, as: 'exitStatus'
|
||||
property :stderr, as: 'stderr'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/genomics
|
||||
module GenomicsV1alpha2
|
||||
VERSION = 'V1alpha2'
|
||||
REVISION = '20180222'
|
||||
REVISION = '20180501'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -123,6 +123,17 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :exit_status
|
||||
|
||||
# The tail end of any content written to standard error by the container.
|
||||
# To prevent this from being recorded if the action is known to emit
|
||||
# large amounts of debugging noise or sensitive information, set the
|
||||
# DISABLE_STANDARD_ERROR_CAPTURE flag.
|
||||
# Note that only a small amount of the end of the stream is captured here.
|
||||
# The entire stream is stored in the /google/logs directory mounted into
|
||||
# each action, and may be copied off the machine as described elsewhere.
|
||||
# Corresponds to the JSON property `stderr`
|
||||
# @return [String]
|
||||
attr_accessor :stderr
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -131,6 +142,7 @@ module Google
|
|||
def update!(**args)
|
||||
@action_id = args[:action_id] if args.key?(:action_id)
|
||||
@exit_status = args[:exit_status] if args.key?(:exit_status)
|
||||
@stderr = args[:stderr] if args.key?(:stderr)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -268,6 +268,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :action_id, as: 'actionId'
|
||||
property :exit_status, as: 'exitStatus'
|
||||
property :stderr, as: 'stderr'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/genomics
|
||||
module GenomicsV2alpha1
|
||||
VERSION = 'V2alpha1'
|
||||
REVISION = '20180426'
|
||||
REVISION = '20180501'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -373,6 +373,17 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :exit_status
|
||||
|
||||
# The tail end of any content written to standard error by the container.
|
||||
# To prevent this from being recorded if the action is known to emit
|
||||
# large amounts of debugging noise or sensitive information, set the
|
||||
# DISABLE_STANDARD_ERROR_CAPTURE flag.
|
||||
# Note that only a small amount of the end of the stream is captured here.
|
||||
# The entire stream is stored in the /google/logs directory mounted into
|
||||
# each action, and may be copied off the machine as described elsewhere.
|
||||
# Corresponds to the JSON property `stderr`
|
||||
# @return [String]
|
||||
attr_accessor :stderr
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -381,6 +392,7 @@ module Google
|
|||
def update!(**args)
|
||||
@action_id = args[:action_id] if args.key?(:action_id)
|
||||
@exit_status = args[:exit_status] if args.key?(:exit_status)
|
||||
@stderr = args[:stderr] if args.key?(:stderr)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -300,6 +300,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :action_id, as: 'actionId'
|
||||
property :exit_status, as: 'exitStatus'
|
||||
property :stderr, as: 'stderr'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/compute/docs/oslogin/rest/
|
||||
module OsloginV1alpha
|
||||
VERSION = 'V1alpha'
|
||||
REVISION = '20180413'
|
||||
REVISION = '20180430'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -121,6 +121,8 @@ module Google
|
|||
# A reference to the POSIX account to update. POSIX accounts are identified
|
||||
# by the project ID they are associated with. A reference to the POSIX
|
||||
# account is in format `users/`user`/projects/`project``.
|
||||
# @param [String] operating_system_type
|
||||
# The type of operating system associated with the account.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -138,11 +140,12 @@ 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 delete_user_project(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def delete_user_project(name, operating_system_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
||||
command.response_representation = Google::Apis::OsloginV1alpha::Empty::Representation
|
||||
command.response_class = Google::Apis::OsloginV1alpha::Empty
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['operatingSystemType'] = operating_system_type unless operating_system_type.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
|
|
|
@ -20,12 +20,18 @@ module Google
|
|||
module Apis
|
||||
# Apps Script API
|
||||
#
|
||||
# An API for managing and executing Google Apps Script projects.
|
||||
# An API for managing and executing Google Apps Script projects. <aside class="
|
||||
# note"><b>Note</b>: In order to use this API in your apps, you must <a href="/
|
||||
# apps-script/api/how-tos/enable#using_the_apps_script_api_in_your_app"> enable
|
||||
# it for use</a>. To allow other apps to manage your scripts, you must <a href="/
|
||||
# apps-script/api/how-tos/enable#granting_third-
|
||||
# party_applications_access_to_your_script_projects"> grant them access</a>.</
|
||||
# aside>
|
||||
#
|
||||
# @see https://developers.google.com/apps-script/api/
|
||||
module ScriptV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180425'
|
||||
REVISION = '20180501'
|
||||
|
||||
# Read, send, delete, and manage your email
|
||||
AUTH_SCOPE = 'https://mail.google.com/'
|
||||
|
|
|
@ -22,7 +22,13 @@ module Google
|
|||
module ScriptV1
|
||||
# Apps Script API
|
||||
#
|
||||
# An API for managing and executing Google Apps Script projects.
|
||||
# An API for managing and executing Google Apps Script projects. <aside class="
|
||||
# note"><b>Note</b>: In order to use this API in your apps, you must <a href="/
|
||||
# apps-script/api/how-tos/enable#using_the_apps_script_api_in_your_app"> enable
|
||||
# it for use</a>. To allow other apps to manage your scripts, you must <a href="/
|
||||
# apps-script/api/how-tos/enable#granting_third-
|
||||
# party_applications_access_to_your_script_projects"> grant them access</a>.</
|
||||
# aside>
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/script_v1'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/youtube/v3
|
||||
module YoutubeV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20180417'
|
||||
REVISION = '20180430'
|
||||
|
||||
# Manage your YouTube account
|
||||
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
||||
|
|
|
@ -2752,168 +2752,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A fanFundingEvent resource represents a fan funding event on a YouTube channel.
|
||||
# Fan funding events occur when a user gives one-time monetary support to the
|
||||
# channel owner.
|
||||
class FanFundingEvent
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Etag of this resource.
|
||||
# Corresponds to the JSON property `etag`
|
||||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# The ID that YouTube assigns to uniquely identify the fan funding event.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
||||
# fanFundingEvent".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The snippet object contains basic details about the fan funding event.
|
||||
# Corresponds to the JSON property `snippet`
|
||||
# @return [Google::Apis::YoutubeV3::FanFundingEventSnippet]
|
||||
attr_accessor :snippet
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@etag = args[:etag] if args.key?(:etag)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@snippet = args[:snippet] if args.key?(:snippet)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class FanFundingEventListResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Etag of this resource.
|
||||
# Corresponds to the JSON property `etag`
|
||||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# Serialized EventId of the request which produced this response.
|
||||
# Corresponds to the JSON property `eventId`
|
||||
# @return [String]
|
||||
attr_accessor :event_id
|
||||
|
||||
# A list of fan funding events that match the request criteria.
|
||||
# Corresponds to the JSON property `items`
|
||||
# @return [Array<Google::Apis::YoutubeV3::FanFundingEvent>]
|
||||
attr_accessor :items
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
||||
# fanFundingEventListResponse".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The token that can be used as the value of the pageToken parameter to retrieve
|
||||
# the next page in the result set.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# Paging details for lists of resources, including total number of items
|
||||
# available and number of resources returned in a single page.
|
||||
# Corresponds to the JSON property `pageInfo`
|
||||
# @return [Google::Apis::YoutubeV3::PageInfo]
|
||||
attr_accessor :page_info
|
||||
|
||||
# Stub token pagination template to suppress results.
|
||||
# Corresponds to the JSON property `tokenPagination`
|
||||
# @return [Google::Apis::YoutubeV3::TokenPagination]
|
||||
attr_accessor :token_pagination
|
||||
|
||||
# The visitorId identifies the visitor.
|
||||
# Corresponds to the JSON property `visitorId`
|
||||
# @return [String]
|
||||
attr_accessor :visitor_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@etag = args[:etag] if args.key?(:etag)
|
||||
@event_id = args[:event_id] if args.key?(:event_id)
|
||||
@items = args[:items] if args.key?(:items)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@page_info = args[:page_info] if args.key?(:page_info)
|
||||
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
||||
@visitor_id = args[:visitor_id] if args.key?(:visitor_id)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class FanFundingEventSnippet
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The amount of funding in micros of fund_currency. e.g., 1 is represented
|
||||
# Corresponds to the JSON property `amountMicros`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :amount_micros
|
||||
|
||||
# Channel id where the funding event occurred.
|
||||
# Corresponds to the JSON property `channelId`
|
||||
# @return [String]
|
||||
attr_accessor :channel_id
|
||||
|
||||
# The text contents of the comment left by the user.
|
||||
# Corresponds to the JSON property `commentText`
|
||||
# @return [String]
|
||||
attr_accessor :comment_text
|
||||
|
||||
# The date and time when the funding occurred. The value is specified in ISO
|
||||
# 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
|
||||
# Corresponds to the JSON property `createdAt`
|
||||
# @return [DateTime]
|
||||
attr_accessor :created_at
|
||||
|
||||
# The currency in which the fund was made. ISO 4217.
|
||||
# Corresponds to the JSON property `currency`
|
||||
# @return [String]
|
||||
attr_accessor :currency
|
||||
|
||||
# A rendered string that displays the fund amount and currency (e.g., "$1.00").
|
||||
# The string is rendered for the given language.
|
||||
# Corresponds to the JSON property `displayString`
|
||||
# @return [String]
|
||||
attr_accessor :display_string
|
||||
|
||||
# Details about the supporter. Only filled if the event was made public by the
|
||||
# user.
|
||||
# Corresponds to the JSON property `supporterDetails`
|
||||
# @return [Google::Apis::YoutubeV3::ChannelProfileDetails]
|
||||
attr_accessor :supporter_details
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@amount_micros = args[:amount_micros] if args.key?(:amount_micros)
|
||||
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
||||
@comment_text = args[:comment_text] if args.key?(:comment_text)
|
||||
@created_at = args[:created_at] if args.key?(:created_at)
|
||||
@currency = args[:currency] if args.key?(:currency)
|
||||
@display_string = args[:display_string] if args.key?(:display_string)
|
||||
@supporter_details = args[:supporter_details] if args.key?(:supporter_details)
|
||||
end
|
||||
end
|
||||
|
||||
# Geographical coordinates of a point, in WGS84.
|
||||
class GeoPoint
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -6331,11 +6169,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# The ID that YouTube assigns to uniquely identify the sponsor.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "youtube#
|
||||
# sponsor".
|
||||
# Corresponds to the JSON property `kind`
|
||||
|
@ -6354,7 +6187,6 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@etag = args[:etag] if args.key?(:etag)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@snippet = args[:snippet] if args.key?(:snippet)
|
||||
end
|
||||
|
|
|
@ -328,24 +328,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class FanFundingEvent
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class FanFundingEventListResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class FanFundingEventSnippet
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GeoPoint
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1780,49 +1762,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class FanFundingEvent
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :etag, as: 'etag'
|
||||
property :id, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::FanFundingEventSnippet, decorator: Google::Apis::YoutubeV3::FanFundingEventSnippet::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class FanFundingEventListResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :etag, as: 'etag'
|
||||
property :event_id, as: 'eventId'
|
||||
collection :items, as: 'items', class: Google::Apis::YoutubeV3::FanFundingEvent, decorator: Google::Apis::YoutubeV3::FanFundingEvent::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :page_info, as: 'pageInfo', class: Google::Apis::YoutubeV3::PageInfo, decorator: Google::Apis::YoutubeV3::PageInfo::Representation
|
||||
|
||||
property :token_pagination, as: 'tokenPagination', class: Google::Apis::YoutubeV3::TokenPagination, decorator: Google::Apis::YoutubeV3::TokenPagination::Representation
|
||||
|
||||
property :visitor_id, as: 'visitorId'
|
||||
end
|
||||
end
|
||||
|
||||
class FanFundingEventSnippet
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :amount_micros, :numeric_string => true, as: 'amountMicros'
|
||||
property :channel_id, as: 'channelId'
|
||||
property :comment_text, as: 'commentText'
|
||||
property :created_at, as: 'createdAt', type: DateTime
|
||||
|
||||
property :currency, as: 'currency'
|
||||
property :display_string, as: 'displayString'
|
||||
property :supporter_details, as: 'supporterDetails', class: Google::Apis::YoutubeV3::ChannelProfileDetails, decorator: Google::Apis::YoutubeV3::ChannelProfileDetails::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GeoPoint
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -2738,7 +2677,6 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :etag, as: 'etag'
|
||||
property :id, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :snippet, as: 'snippet', class: Google::Apis::YoutubeV3::SponsorSnippet, decorator: Google::Apis::YoutubeV3::SponsorSnippet::Representation
|
||||
|
||||
|
|
|
@ -1367,59 +1367,6 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists fan funding events for a channel.
|
||||
# @param [String] part
|
||||
# The part parameter specifies the fanFundingEvent resource parts that the API
|
||||
# response will include. Supported values are id and snippet.
|
||||
# @param [String] hl
|
||||
# The hl parameter instructs the API to retrieve localized resource metadata for
|
||||
# a specific application language that the YouTube website supports. The
|
||||
# parameter value must be a language code included in the list returned by the
|
||||
# i18nLanguages.list method.
|
||||
# If localized resource details are available in that language, the resource's
|
||||
# snippet.localized object will contain the localized values. However, if
|
||||
# localized details are not available, the snippet.localized object will contain
|
||||
# resource details in the resource's default language.
|
||||
# @param [Fixnum] max_results
|
||||
# The maxResults parameter specifies the maximum number of items that should be
|
||||
# returned in the result set.
|
||||
# @param [String] page_token
|
||||
# The pageToken parameter identifies a specific page in the result set that
|
||||
# should be returned. In an API response, the nextPageToken and prevPageToken
|
||||
# properties identify other pages that could be retrieved.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::YoutubeV3::FanFundingEventListResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::YoutubeV3::FanFundingEventListResponse]
|
||||
#
|
||||
# @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_fan_funding_events(part, hl: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'fanFundingEvents', options)
|
||||
command.response_representation = Google::Apis::YoutubeV3::FanFundingEventListResponse::Representation
|
||||
command.response_class = Google::Apis::YoutubeV3::FanFundingEventListResponse
|
||||
command.query['hl'] = hl unless hl.nil?
|
||||
command.query['maxResults'] = max_results unless max_results.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['part'] = part unless part.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns a list of categories that can be associated with YouTube channels.
|
||||
# @param [String] part
|
||||
# The part parameter specifies the guideCategory resource properties that the
|
||||
|
|
Loading…
Reference in New Issue