Autogenerated update (2018-09-20)
Update: - cloudkms_v1 - dataproc_v1 - dataproc_v1beta2 - dialogflow_v2 - dialogflow_v2beta1 - dlp_v2 - kgsearch_v1 - ml_v1 - people_v1 - testing_v1
This commit is contained in:
parent
d2dc369860
commit
1ee4f225c8
|
@ -40232,6 +40232,8 @@
|
||||||
"/dataproc:v1beta2/SetIamPolicyRequest/policy": policy
|
"/dataproc:v1beta2/SetIamPolicyRequest/policy": policy
|
||||||
"/dataproc:v1beta2/SoftwareConfig": software_config
|
"/dataproc:v1beta2/SoftwareConfig": software_config
|
||||||
"/dataproc:v1beta2/SoftwareConfig/imageVersion": image_version
|
"/dataproc:v1beta2/SoftwareConfig/imageVersion": image_version
|
||||||
|
"/dataproc:v1beta2/SoftwareConfig/optionalComponents": optional_components
|
||||||
|
"/dataproc:v1beta2/SoftwareConfig/optionalComponents/optional_component": optional_component
|
||||||
"/dataproc:v1beta2/SoftwareConfig/properties": properties
|
"/dataproc:v1beta2/SoftwareConfig/properties": properties
|
||||||
"/dataproc:v1beta2/SoftwareConfig/properties/property": property
|
"/dataproc:v1beta2/SoftwareConfig/properties/property": property
|
||||||
"/dataproc:v1beta2/SparkJob": spark_job
|
"/dataproc:v1beta2/SparkJob": spark_job
|
||||||
|
@ -40338,6 +40340,7 @@
|
||||||
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.instantiateInline": instantiate_project_location_workflow_template_inline
|
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.instantiateInline": instantiate_project_location_workflow_template_inline
|
||||||
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.instantiateInline/instanceId": instance_id
|
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.instantiateInline/instanceId": instance_id
|
||||||
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.instantiateInline/parent": parent
|
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.instantiateInline/parent": parent
|
||||||
|
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.instantiateInline/requestId": request_id
|
||||||
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.list": list_project_location_workflow_templates
|
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.list": list_project_location_workflow_templates
|
||||||
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.list/pageSize": page_size
|
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.list/pageSize": page_size
|
||||||
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.list/pageToken": page_token
|
"/dataproc:v1beta2/dataproc.projects.locations.workflowTemplates.list/pageToken": page_token
|
||||||
|
@ -40451,6 +40454,7 @@
|
||||||
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.instantiateInline": instantiate_project_region_workflow_template_inline
|
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.instantiateInline": instantiate_project_region_workflow_template_inline
|
||||||
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.instantiateInline/instanceId": instance_id
|
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.instantiateInline/instanceId": instance_id
|
||||||
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.instantiateInline/parent": parent
|
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.instantiateInline/parent": parent
|
||||||
|
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.instantiateInline/requestId": request_id
|
||||||
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.list": list_project_region_workflow_templates
|
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.list": list_project_region_workflow_templates
|
||||||
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.list/pageSize": page_size
|
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.list/pageSize": page_size
|
||||||
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.list/pageToken": page_token
|
"/dataproc:v1beta2/dataproc.projects.regions.workflowTemplates.list/pageToken": page_token
|
||||||
|
@ -57618,6 +57622,7 @@
|
||||||
"/dlp:v2/GooglePrivacyDlpV2CustomInfoType/detectionRules": detection_rules
|
"/dlp:v2/GooglePrivacyDlpV2CustomInfoType/detectionRules": detection_rules
|
||||||
"/dlp:v2/GooglePrivacyDlpV2CustomInfoType/detectionRules/detection_rule": detection_rule
|
"/dlp:v2/GooglePrivacyDlpV2CustomInfoType/detectionRules/detection_rule": detection_rule
|
||||||
"/dlp:v2/GooglePrivacyDlpV2CustomInfoType/dictionary": dictionary
|
"/dlp:v2/GooglePrivacyDlpV2CustomInfoType/dictionary": dictionary
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2CustomInfoType/exclusionType": exclusion_type
|
||||||
"/dlp:v2/GooglePrivacyDlpV2CustomInfoType/infoType": info_type
|
"/dlp:v2/GooglePrivacyDlpV2CustomInfoType/infoType": info_type
|
||||||
"/dlp:v2/GooglePrivacyDlpV2CustomInfoType/likelihood": likelihood
|
"/dlp:v2/GooglePrivacyDlpV2CustomInfoType/likelihood": likelihood
|
||||||
"/dlp:v2/GooglePrivacyDlpV2CustomInfoType/regex": regex
|
"/dlp:v2/GooglePrivacyDlpV2CustomInfoType/regex": regex
|
||||||
|
@ -57702,6 +57707,14 @@
|
||||||
"/dlp:v2/GooglePrivacyDlpV2Error/details": details
|
"/dlp:v2/GooglePrivacyDlpV2Error/details": details
|
||||||
"/dlp:v2/GooglePrivacyDlpV2Error/timestamps": timestamps
|
"/dlp:v2/GooglePrivacyDlpV2Error/timestamps": timestamps
|
||||||
"/dlp:v2/GooglePrivacyDlpV2Error/timestamps/timestamp": timestamp
|
"/dlp:v2/GooglePrivacyDlpV2Error/timestamps/timestamp": timestamp
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2ExcludeInfoTypes": google_privacy_dlp_v2_exclude_info_types
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2ExcludeInfoTypes/infoTypes": info_types
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2ExcludeInfoTypes/infoTypes/info_type": info_type
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2ExclusionRule": google_privacy_dlp_v2_exclusion_rule
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2ExclusionRule/dictionary": dictionary
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2ExclusionRule/excludeInfoTypes": exclude_info_types
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2ExclusionRule/matchingType": matching_type
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2ExclusionRule/regex": regex
|
||||||
"/dlp:v2/GooglePrivacyDlpV2Expressions": google_privacy_dlp_v2_expressions
|
"/dlp:v2/GooglePrivacyDlpV2Expressions": google_privacy_dlp_v2_expressions
|
||||||
"/dlp:v2/GooglePrivacyDlpV2Expressions/conditions": conditions
|
"/dlp:v2/GooglePrivacyDlpV2Expressions/conditions": conditions
|
||||||
"/dlp:v2/GooglePrivacyDlpV2Expressions/logicalOperator": logical_operator
|
"/dlp:v2/GooglePrivacyDlpV2Expressions/logicalOperator": logical_operator
|
||||||
|
@ -57773,6 +57786,8 @@
|
||||||
"/dlp:v2/GooglePrivacyDlpV2InspectConfig/infoTypes/info_type": info_type
|
"/dlp:v2/GooglePrivacyDlpV2InspectConfig/infoTypes/info_type": info_type
|
||||||
"/dlp:v2/GooglePrivacyDlpV2InspectConfig/limits": limits
|
"/dlp:v2/GooglePrivacyDlpV2InspectConfig/limits": limits
|
||||||
"/dlp:v2/GooglePrivacyDlpV2InspectConfig/minLikelihood": min_likelihood
|
"/dlp:v2/GooglePrivacyDlpV2InspectConfig/minLikelihood": min_likelihood
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2InspectConfig/ruleSet": rule_set
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2InspectConfig/ruleSet/rule_set": rule_set
|
||||||
"/dlp:v2/GooglePrivacyDlpV2InspectContentRequest": google_privacy_dlp_v2_inspect_content_request
|
"/dlp:v2/GooglePrivacyDlpV2InspectContentRequest": google_privacy_dlp_v2_inspect_content_request
|
||||||
"/dlp:v2/GooglePrivacyDlpV2InspectContentRequest/inspectConfig": inspect_config
|
"/dlp:v2/GooglePrivacyDlpV2InspectContentRequest/inspectConfig": inspect_config
|
||||||
"/dlp:v2/GooglePrivacyDlpV2InspectContentRequest/inspectTemplateName": inspect_template_name
|
"/dlp:v2/GooglePrivacyDlpV2InspectContentRequest/inspectTemplateName": inspect_template_name
|
||||||
|
@ -57799,6 +57814,14 @@
|
||||||
"/dlp:v2/GooglePrivacyDlpV2InspectTemplate/inspectConfig": inspect_config
|
"/dlp:v2/GooglePrivacyDlpV2InspectTemplate/inspectConfig": inspect_config
|
||||||
"/dlp:v2/GooglePrivacyDlpV2InspectTemplate/name": name
|
"/dlp:v2/GooglePrivacyDlpV2InspectTemplate/name": name
|
||||||
"/dlp:v2/GooglePrivacyDlpV2InspectTemplate/updateTime": update_time
|
"/dlp:v2/GooglePrivacyDlpV2InspectTemplate/updateTime": update_time
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2InspectionRule": google_privacy_dlp_v2_inspection_rule
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2InspectionRule/exclusionRule": exclusion_rule
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2InspectionRule/hotwordRule": hotword_rule
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2InspectionRuleSet": google_privacy_dlp_v2_inspection_rule_set
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2InspectionRuleSet/infoTypes": info_types
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2InspectionRuleSet/infoTypes/info_type": info_type
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2InspectionRuleSet/rules": rules
|
||||||
|
"/dlp:v2/GooglePrivacyDlpV2InspectionRuleSet/rules/rule": rule
|
||||||
"/dlp:v2/GooglePrivacyDlpV2JobTrigger": google_privacy_dlp_v2_job_trigger
|
"/dlp:v2/GooglePrivacyDlpV2JobTrigger": google_privacy_dlp_v2_job_trigger
|
||||||
"/dlp:v2/GooglePrivacyDlpV2JobTrigger/createTime": create_time
|
"/dlp:v2/GooglePrivacyDlpV2JobTrigger/createTime": create_time
|
||||||
"/dlp:v2/GooglePrivacyDlpV2JobTrigger/description": description
|
"/dlp:v2/GooglePrivacyDlpV2JobTrigger/description": description
|
||||||
|
@ -69350,6 +69373,7 @@
|
||||||
"/ml:v1/GoogleCloudMlV1__PredictionInput/inputPaths/input_path": input_path
|
"/ml:v1/GoogleCloudMlV1__PredictionInput/inputPaths/input_path": input_path
|
||||||
"/ml:v1/GoogleCloudMlV1__PredictionInput/maxWorkerCount": max_worker_count
|
"/ml:v1/GoogleCloudMlV1__PredictionInput/maxWorkerCount": max_worker_count
|
||||||
"/ml:v1/GoogleCloudMlV1__PredictionInput/modelName": model_name
|
"/ml:v1/GoogleCloudMlV1__PredictionInput/modelName": model_name
|
||||||
|
"/ml:v1/GoogleCloudMlV1__PredictionInput/outputDataFormat": output_data_format
|
||||||
"/ml:v1/GoogleCloudMlV1__PredictionInput/outputPath": output_path
|
"/ml:v1/GoogleCloudMlV1__PredictionInput/outputPath": output_path
|
||||||
"/ml:v1/GoogleCloudMlV1__PredictionInput/region": region
|
"/ml:v1/GoogleCloudMlV1__PredictionInput/region": region
|
||||||
"/ml:v1/GoogleCloudMlV1__PredictionInput/runtimeVersion": runtime_version
|
"/ml:v1/GoogleCloudMlV1__PredictionInput/runtimeVersion": runtime_version
|
||||||
|
|
|
@ -20,16 +20,13 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Cloud Key Management Service (KMS) API
|
# Cloud Key Management Service (KMS) API
|
||||||
#
|
#
|
||||||
# Cloud KMS allows you to keep cryptographic keys in one central cloud service,
|
# Manages keys and performs cryptographic operations in a central cloud service,
|
||||||
# for direct use by other cloud resources and applications. With Cloud KMS you
|
# for direct use by other cloud resources and applications.
|
||||||
# are the ultimate custodian of your data, you can manage encryption in the
|
|
||||||
# cloud the same way you do on-premises, and you have a provable and monitorable
|
|
||||||
# root of trust over your data.
|
|
||||||
#
|
#
|
||||||
# @see https://cloud.google.com/kms/
|
# @see https://cloud.google.com/kms/
|
||||||
module CloudkmsV1
|
module CloudkmsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180830'
|
REVISION = '20180918'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -22,11 +22,8 @@ module Google
|
||||||
module CloudkmsV1
|
module CloudkmsV1
|
||||||
# Cloud Key Management Service (KMS) API
|
# Cloud Key Management Service (KMS) API
|
||||||
#
|
#
|
||||||
# Cloud KMS allows you to keep cryptographic keys in one central cloud service,
|
# Manages keys and performs cryptographic operations in a central cloud service,
|
||||||
# for direct use by other cloud resources and applications. With Cloud KMS you
|
# for direct use by other cloud resources and applications.
|
||||||
# are the ultimate custodian of your data, you can manage encryption in the
|
|
||||||
# cloud the same way you do on-premises, and you have a provable and monitorable
|
|
||||||
# root of trust over your data.
|
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# require 'google/apis/cloudkms_v1'
|
# require 'google/apis/cloudkms_v1'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dataproc/
|
# @see https://cloud.google.com/dataproc/
|
||||||
module DataprocV1
|
module DataprocV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180910'
|
REVISION = '20180914'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -977,7 +977,7 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Optional. Map from parameter names to values that should be used for those
|
# Optional. Map from parameter names to values that should be used for those
|
||||||
# parameters.
|
# parameters. Values may not exceed 100 characters.
|
||||||
# Corresponds to the JSON property `parameters`
|
# Corresponds to the JSON property `parameters`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :parameters
|
attr_accessor :parameters
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dataproc/
|
# @see https://cloud.google.com/dataproc/
|
||||||
module DataprocV1beta2
|
module DataprocV1beta2
|
||||||
VERSION = 'V1beta2'
|
VERSION = 'V1beta2'
|
||||||
REVISION = '20180824'
|
REVISION = '20180914'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -995,7 +995,7 @@ module Google
|
||||||
attr_accessor :instance_id
|
attr_accessor :instance_id
|
||||||
|
|
||||||
# Optional. Map from parameter names to values that should be used for those
|
# Optional. Map from parameter names to values that should be used for those
|
||||||
# parameters.
|
# parameters. Values may not exceed 100 characters.
|
||||||
# Corresponds to the JSON property `parameters`
|
# Corresponds to the JSON property `parameters`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :parameters
|
attr_accessor :parameters
|
||||||
|
@ -2053,6 +2053,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :image_version
|
attr_accessor :image_version
|
||||||
|
|
||||||
|
# The set of optional components to activate on the cluster.
|
||||||
|
# Corresponds to the JSON property `optionalComponents`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :optional_components
|
||||||
|
|
||||||
# Optional. The properties to set on daemon config files.Property keys are
|
# Optional. The properties to set on daemon config files.Property keys are
|
||||||
# specified in prefix:property format, such as core:fs.defaultFS. The following
|
# specified in prefix:property format, such as core:fs.defaultFS. The following
|
||||||
# are supported prefixes and their mappings:
|
# are supported prefixes and their mappings:
|
||||||
|
@ -2076,6 +2081,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@image_version = args[:image_version] if args.key?(:image_version)
|
@image_version = args[:image_version] if args.key?(:image_version)
|
||||||
|
@optional_components = args[:optional_components] if args.key?(:optional_components)
|
||||||
@properties = args[:properties] if args.key?(:properties)
|
@properties = args[:properties] if args.key?(:properties)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -890,6 +890,7 @@ module Google
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :image_version, as: 'imageVersion'
|
property :image_version, as: 'imageVersion'
|
||||||
|
collection :optional_components, as: 'optionalComponents'
|
||||||
hash :properties, as: 'properties'
|
hash :properties, as: 'properties'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -243,6 +243,8 @@ module Google
|
||||||
# project_id`/regions/`region`
|
# project_id`/regions/`region`
|
||||||
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
|
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
|
||||||
# @param [String] instance_id
|
# @param [String] instance_id
|
||||||
|
# Deprecated. Please use request_id field instead.
|
||||||
|
# @param [String] request_id
|
||||||
# Optional. A tag that prevents multiple concurrent workflow instances with the
|
# Optional. A tag that prevents multiple concurrent workflow instances with the
|
||||||
# same tag from running. This mitigates risk of concurrent instances started due
|
# same tag from running. This mitigates risk of concurrent instances started due
|
||||||
# to retries.It is recommended to always set this value to a UUID (https://en.
|
# to retries.It is recommended to always set this value to a UUID (https://en.
|
||||||
|
@ -266,7 +268,7 @@ module Google
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
# @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::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
def instantiate_project_location_workflow_template_inline(parent, workflow_template_object = nil, instance_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
def instantiate_project_location_workflow_template_inline(parent, workflow_template_object = nil, instance_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, 'v1beta2/{+parent}/workflowTemplates:instantiateInline', options)
|
command = make_simple_command(:post, 'v1beta2/{+parent}/workflowTemplates:instantiateInline', options)
|
||||||
command.request_representation = Google::Apis::DataprocV1beta2::WorkflowTemplate::Representation
|
command.request_representation = Google::Apis::DataprocV1beta2::WorkflowTemplate::Representation
|
||||||
command.request_object = workflow_template_object
|
command.request_object = workflow_template_object
|
||||||
|
@ -274,6 +276,7 @@ module Google
|
||||||
command.response_class = Google::Apis::DataprocV1beta2::Operation
|
command.response_class = Google::Apis::DataprocV1beta2::Operation
|
||||||
command.params['parent'] = parent unless parent.nil?
|
command.params['parent'] = parent unless parent.nil?
|
||||||
command.query['instanceId'] = instance_id unless instance_id.nil?
|
command.query['instanceId'] = instance_id unless instance_id.nil?
|
||||||
|
command.query['requestId'] = request_id unless request_id.nil?
|
||||||
command.query['fields'] = fields unless fields.nil?
|
command.query['fields'] = fields unless fields.nil?
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
|
@ -1670,6 +1673,8 @@ module Google
|
||||||
# project_id`/regions/`region`
|
# project_id`/regions/`region`
|
||||||
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
|
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
|
||||||
# @param [String] instance_id
|
# @param [String] instance_id
|
||||||
|
# Deprecated. Please use request_id field instead.
|
||||||
|
# @param [String] request_id
|
||||||
# Optional. A tag that prevents multiple concurrent workflow instances with the
|
# Optional. A tag that prevents multiple concurrent workflow instances with the
|
||||||
# same tag from running. This mitigates risk of concurrent instances started due
|
# same tag from running. This mitigates risk of concurrent instances started due
|
||||||
# to retries.It is recommended to always set this value to a UUID (https://en.
|
# to retries.It is recommended to always set this value to a UUID (https://en.
|
||||||
|
@ -1693,7 +1698,7 @@ module Google
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
# @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::ClientError] The request is invalid and should not be retried without modification
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
def instantiate_project_region_workflow_template_inline(parent, workflow_template_object = nil, instance_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
def instantiate_project_region_workflow_template_inline(parent, workflow_template_object = nil, instance_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
command = make_simple_command(:post, 'v1beta2/{+parent}/workflowTemplates:instantiateInline', options)
|
command = make_simple_command(:post, 'v1beta2/{+parent}/workflowTemplates:instantiateInline', options)
|
||||||
command.request_representation = Google::Apis::DataprocV1beta2::WorkflowTemplate::Representation
|
command.request_representation = Google::Apis::DataprocV1beta2::WorkflowTemplate::Representation
|
||||||
command.request_object = workflow_template_object
|
command.request_object = workflow_template_object
|
||||||
|
@ -1701,6 +1706,7 @@ module Google
|
||||||
command.response_class = Google::Apis::DataprocV1beta2::Operation
|
command.response_class = Google::Apis::DataprocV1beta2::Operation
|
||||||
command.params['parent'] = parent unless parent.nil?
|
command.params['parent'] = parent unless parent.nil?
|
||||||
command.query['instanceId'] = instance_id unless instance_id.nil?
|
command.query['instanceId'] = instance_id unless instance_id.nil?
|
||||||
|
command.query['requestId'] = request_id unless request_id.nil?
|
||||||
command.query['fields'] = fields unless fields.nil?
|
command.query['fields'] = fields unless fields.nil?
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dialogflow-enterprise/
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
||||||
module DialogflowV2
|
module DialogflowV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20180814'
|
REVISION = '20180918'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -116,7 +116,7 @@ module Google
|
||||||
class GoogleCloudDialogflowV2BatchCreateEntitiesRequest
|
class GoogleCloudDialogflowV2BatchCreateEntitiesRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Required. The collection of entities to create.
|
# Required. The entities to create.
|
||||||
# Corresponds to the JSON property `entities`
|
# Corresponds to the JSON property `entities`
|
||||||
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityTypeEntity>]
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityTypeEntity>]
|
||||||
attr_accessor :entities
|
attr_accessor :entities
|
||||||
|
@ -212,11 +212,11 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The response message for EntityTypes.BatchCreateEntities.
|
# The request message for EntityTypes.BatchUpdateEntities.
|
||||||
class GoogleCloudDialogflowV2BatchUpdateEntitiesRequest
|
class GoogleCloudDialogflowV2BatchUpdateEntitiesRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Required. The collection of new entities to replace the existing entities.
|
# Required. The entities to update or create.
|
||||||
# Corresponds to the JSON property `entities`
|
# Corresponds to the JSON property `entities`
|
||||||
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityTypeEntity>]
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityTypeEntity>]
|
||||||
attr_accessor :entities
|
attr_accessor :entities
|
||||||
|
|
|
@ -545,8 +545,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates multiple new entities in the specified entity type (extends the
|
# Creates multiple new entities in the specified entity type.
|
||||||
# existing collection of entries).
|
|
||||||
# Operation <response: google.protobuf.Empty>
|
# Operation <response: google.protobuf.Empty>
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The name of the entity type to create entities in. Format:
|
# Required. The name of the entity type to create entities in. Format:
|
||||||
|
@ -617,13 +616,14 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates entities in the specified entity type (replaces the existing
|
# Updates or creates multiple entities in the specified entity type. This
|
||||||
# collection of entries).
|
# method does not affect entities in the entity type that aren't explicitly
|
||||||
|
# specified in the request.
|
||||||
# Operation <response: google.protobuf.Empty,
|
# Operation <response: google.protobuf.Empty,
|
||||||
# metadata: google.protobuf.Struct>
|
# metadata: google.protobuf.Struct>
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The name of the entity type to update the entities in. Format:
|
# Required. The name of the entity type to update or create entities in.
|
||||||
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
# Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
||||||
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2_batch_update_entities_request_object
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2_batch_update_entities_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dialogflow-enterprise/
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
||||||
module DialogflowV2beta1
|
module DialogflowV2beta1
|
||||||
VERSION = 'V2beta1'
|
VERSION = 'V2beta1'
|
||||||
REVISION = '20180828'
|
REVISION = '20180918'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -1561,7 +1561,7 @@ module Google
|
||||||
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Required. The collection of entities to create.
|
# Required. The entities to create.
|
||||||
# Corresponds to the JSON property `entities`
|
# Corresponds to the JSON property `entities`
|
||||||
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity>]
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity>]
|
||||||
attr_accessor :entities
|
attr_accessor :entities
|
||||||
|
@ -1657,11 +1657,11 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The response message for EntityTypes.BatchCreateEntities.
|
# The request message for EntityTypes.BatchUpdateEntities.
|
||||||
class GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Required. The collection of new entities to replace the existing entities.
|
# Required. The entities to update or create.
|
||||||
# Corresponds to the JSON property `entities`
|
# Corresponds to the JSON property `entities`
|
||||||
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity>]
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity>]
|
||||||
attr_accessor :entities
|
attr_accessor :entities
|
||||||
|
|
|
@ -545,8 +545,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates multiple new entities in the specified entity type (extends the
|
# Creates multiple new entities in the specified entity type.
|
||||||
# existing collection of entries).
|
|
||||||
# Operation <response: google.protobuf.Empty>
|
# Operation <response: google.protobuf.Empty>
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The name of the entity type to create entities in. Format:
|
# Required. The name of the entity type to create entities in. Format:
|
||||||
|
@ -617,13 +616,14 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates entities in the specified entity type (replaces the existing
|
# Updates or creates multiple entities in the specified entity type. This
|
||||||
# collection of entries).
|
# method does not affect entities in the entity type that aren't explicitly
|
||||||
|
# specified in the request.
|
||||||
# Operation <response: google.protobuf.Empty,
|
# Operation <response: google.protobuf.Empty,
|
||||||
# metadata: google.protobuf.Struct>
|
# metadata: google.protobuf.Struct>
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The name of the entity type to update the entities in. Format:
|
# Required. The name of the entity type to update or create entities in.
|
||||||
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
# Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
||||||
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_update_entities_request_object
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_update_entities_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dlp/docs/
|
# @see https://cloud.google.com/dlp/docs/
|
||||||
module DlpV2
|
module DlpV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20180911'
|
REVISION = '20180918'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -1252,6 +1252,11 @@ module Google
|
||||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
|
||||||
attr_accessor :dictionary
|
attr_accessor :dictionary
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `exclusionType`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :exclusion_type
|
||||||
|
|
||||||
# Type of information detected by the API.
|
# Type of information detected by the API.
|
||||||
# Corresponds to the JSON property `infoType`
|
# Corresponds to the JSON property `infoType`
|
||||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
|
||||||
|
@ -1295,6 +1300,7 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@detection_rules = args[:detection_rules] if args.key?(:detection_rules)
|
@detection_rules = args[:detection_rules] if args.key?(:detection_rules)
|
||||||
@dictionary = args[:dictionary] if args.key?(:dictionary)
|
@dictionary = args[:dictionary] if args.key?(:dictionary)
|
||||||
|
@exclusion_type = args[:exclusion_type] if args.key?(:exclusion_type)
|
||||||
@info_type = args[:info_type] if args.key?(:info_type)
|
@info_type = args[:info_type] if args.key?(:info_type)
|
||||||
@likelihood = args[:likelihood] if args.key?(:likelihood)
|
@likelihood = args[:likelihood] if args.key?(:likelihood)
|
||||||
@regex = args[:regex] if args.key?(:regex)
|
@regex = args[:regex] if args.key?(:regex)
|
||||||
|
@ -1406,13 +1412,14 @@ module Google
|
||||||
class GooglePrivacyDlpV2DateTime
|
class GooglePrivacyDlpV2DateTime
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Represents a whole calendar date, for example date of birth. The time of day
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
||||||
# and time zone are either specified elsewhere or are not significant. The date
|
# and time zone are either specified elsewhere or are not significant. The date
|
||||||
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to
|
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
||||||
# represent a year and month where the day is not significant, for example
|
# * A full date, with non-zero year, month and day values
|
||||||
# credit card expiration date. The year can be 0 to represent a month and day
|
# * A month and day value, with a zero year, e.g. an anniversary
|
||||||
# independent of year, for example anniversary date. Related types are
|
# * A year on its own, with zero month and day values
|
||||||
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
||||||
|
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
||||||
# Corresponds to the JSON property `date`
|
# Corresponds to the JSON property `date`
|
||||||
# @return [Google::Apis::DlpV2::GoogleTypeDate]
|
# @return [Google::Apis::DlpV2::GoogleTypeDate]
|
||||||
attr_accessor :date
|
attr_accessor :date
|
||||||
|
@ -2007,6 +2014,91 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# List of exclude infoTypes.
|
||||||
|
class GooglePrivacyDlpV2ExcludeInfoTypes
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# InfoType list in ExclusionRule rule drops a finding when it overlaps or
|
||||||
|
# contained within with a finding of an infoType from this list. For
|
||||||
|
# example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
|
||||||
|
# `exclusion_rule` containing `exclude_info_types.info_types` with
|
||||||
|
# "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
|
||||||
|
# with EMAIL_ADDRESS finding.
|
||||||
|
# That leads to "555-222-2222@example.org" to generate only a single
|
||||||
|
# finding, namely email address.
|
||||||
|
# Corresponds to the JSON property `infoTypes`
|
||||||
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
|
||||||
|
attr_accessor :info_types
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@info_types = args[:info_types] if args.key?(:info_types)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# The rule that specifies conditions when findings of infoTypes specified in
|
||||||
|
# `InspectionRuleSet` are removed from results.
|
||||||
|
class GooglePrivacyDlpV2ExclusionRule
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Custom information type based on a dictionary of words or phrases. This can
|
||||||
|
# be used to match sensitive information specific to the data, such as a list
|
||||||
|
# of employee IDs or job titles.
|
||||||
|
# Dictionary words are case-insensitive and all characters other than letters
|
||||||
|
# and digits in the unicode [Basic Multilingual
|
||||||
|
# Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#
|
||||||
|
# Basic_Multilingual_Plane)
|
||||||
|
# will be replaced with whitespace when scanning for matches, so the
|
||||||
|
# dictionary phrase "Sam Johnson" will match all three phrases "sam johnson",
|
||||||
|
# "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters
|
||||||
|
# surrounding any match must be of a different type than the adjacent
|
||||||
|
# characters within the word, so letters must be next to non-letters and
|
||||||
|
# digits next to non-digits. For example, the dictionary word "jen" will
|
||||||
|
# match the first three letters of the text "jen123" but will return no
|
||||||
|
# matches for "jennifer".
|
||||||
|
# Dictionary words containing a large number of characters that are not
|
||||||
|
# letters or digits may result in unexpected findings because such characters
|
||||||
|
# are treated as whitespace. The
|
||||||
|
# [limits](https://cloud.google.com/dlp/limits) page contains details about
|
||||||
|
# the size limits of dictionaries. For dictionaries that do not fit within
|
||||||
|
# these constraints, consider using `LargeCustomDictionaryConfig` in the
|
||||||
|
# `StoredInfoType` API.
|
||||||
|
# Corresponds to the JSON property `dictionary`
|
||||||
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
|
||||||
|
attr_accessor :dictionary
|
||||||
|
|
||||||
|
# List of exclude infoTypes.
|
||||||
|
# Corresponds to the JSON property `excludeInfoTypes`
|
||||||
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes]
|
||||||
|
attr_accessor :exclude_info_types
|
||||||
|
|
||||||
|
# How the rule is applied, see MatchingType documentation for details.
|
||||||
|
# Corresponds to the JSON property `matchingType`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :matching_type
|
||||||
|
|
||||||
|
# Message defining a custom regular expression.
|
||||||
|
# Corresponds to the JSON property `regex`
|
||||||
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Regex]
|
||||||
|
attr_accessor :regex
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@dictionary = args[:dictionary] if args.key?(:dictionary)
|
||||||
|
@exclude_info_types = args[:exclude_info_types] if args.key?(:exclude_info_types)
|
||||||
|
@matching_type = args[:matching_type] if args.key?(:matching_type)
|
||||||
|
@regex = args[:regex] if args.key?(:regex)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# An expression, consisting or an operator and conditions.
|
# An expression, consisting or an operator and conditions.
|
||||||
class GooglePrivacyDlpV2Expressions
|
class GooglePrivacyDlpV2Expressions
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -2555,6 +2647,13 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :min_likelihood
|
attr_accessor :min_likelihood
|
||||||
|
|
||||||
|
# Set of rules to apply to the findings for this InspectConfig.
|
||||||
|
# Exclusion rules, contained in the set are executed in the end, other
|
||||||
|
# rules are executed in the order they are specified for each info type.
|
||||||
|
# Corresponds to the JSON property `ruleSet`
|
||||||
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRuleSet>]
|
||||||
|
attr_accessor :rule_set
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -2568,6 +2667,7 @@ module Google
|
||||||
@info_types = args[:info_types] if args.key?(:info_types)
|
@info_types = args[:info_types] if args.key?(:info_types)
|
||||||
@limits = args[:limits] if args.key?(:limits)
|
@limits = args[:limits] if args.key?(:limits)
|
||||||
@min_likelihood = args[:min_likelihood] if args.key?(:min_likelihood)
|
@min_likelihood = args[:min_likelihood] if args.key?(:min_likelihood)
|
||||||
|
@rule_set = args[:rule_set] if args.key?(:rule_set)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -2782,6 +2882,60 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# A single inspection rule to be applied to infoTypes, specified in
|
||||||
|
# `InspectionRuleSet`.
|
||||||
|
class GooglePrivacyDlpV2InspectionRule
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The rule that specifies conditions when findings of infoTypes specified in
|
||||||
|
# `InspectionRuleSet` are removed from results.
|
||||||
|
# Corresponds to the JSON property `exclusionRule`
|
||||||
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ExclusionRule]
|
||||||
|
attr_accessor :exclusion_rule
|
||||||
|
|
||||||
|
# The rule that adjusts the likelihood of findings within a certain
|
||||||
|
# proximity of hotwords.
|
||||||
|
# Corresponds to the JSON property `hotwordRule`
|
||||||
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HotwordRule]
|
||||||
|
attr_accessor :hotword_rule
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@exclusion_rule = args[:exclusion_rule] if args.key?(:exclusion_rule)
|
||||||
|
@hotword_rule = args[:hotword_rule] if args.key?(:hotword_rule)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Rule set for modifying a set of infoTypes to alter behavior under certain
|
||||||
|
# circumstances, depending on the specific details of the rules within the set.
|
||||||
|
class GooglePrivacyDlpV2InspectionRuleSet
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# List of infoTypes this rule set is applied to.
|
||||||
|
# Corresponds to the JSON property `infoTypes`
|
||||||
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
|
||||||
|
attr_accessor :info_types
|
||||||
|
|
||||||
|
# Set of rules to be applied to infoTypes. The rules are applied in order.
|
||||||
|
# Corresponds to the JSON property `rules`
|
||||||
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRule>]
|
||||||
|
attr_accessor :rules
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@info_types = args[:info_types] if args.key?(:info_types)
|
||||||
|
@rules = args[:rules] if args.key?(:rules)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Contains a configuration to make dlp api calls on a repeating basis.
|
# Contains a configuration to make dlp api calls on a repeating basis.
|
||||||
# See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
|
# See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
|
||||||
class GooglePrivacyDlpV2JobTrigger
|
class GooglePrivacyDlpV2JobTrigger
|
||||||
|
@ -5394,13 +5548,14 @@ module Google
|
||||||
attr_accessor :boolean_value
|
attr_accessor :boolean_value
|
||||||
alias_method :boolean_value?, :boolean_value
|
alias_method :boolean_value?, :boolean_value
|
||||||
|
|
||||||
# Represents a whole calendar date, for example date of birth. The time of day
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
||||||
# and time zone are either specified elsewhere or are not significant. The date
|
# and time zone are either specified elsewhere or are not significant. The date
|
||||||
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to
|
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
||||||
# represent a year and month where the day is not significant, for example
|
# * A full date, with non-zero year, month and day values
|
||||||
# credit card expiration date. The year can be 0 to represent a month and day
|
# * A month and day value, with a zero year, e.g. an anniversary
|
||||||
# independent of year, for example anniversary date. Related types are
|
# * A year on its own, with zero month and day values
|
||||||
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
||||||
|
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
||||||
# Corresponds to the JSON property `dateValue`
|
# Corresponds to the JSON property `dateValue`
|
||||||
# @return [Google::Apis::DlpV2::GoogleTypeDate]
|
# @return [Google::Apis::DlpV2::GoogleTypeDate]
|
||||||
attr_accessor :date_value
|
attr_accessor :date_value
|
||||||
|
@ -5596,24 +5751,26 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a whole calendar date, for example date of birth. The time of day
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
||||||
# and time zone are either specified elsewhere or are not significant. The date
|
# and time zone are either specified elsewhere or are not significant. The date
|
||||||
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to
|
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
||||||
# represent a year and month where the day is not significant, for example
|
# * A full date, with non-zero year, month and day values
|
||||||
# credit card expiration date. The year can be 0 to represent a month and day
|
# * A month and day value, with a zero year, e.g. an anniversary
|
||||||
# independent of year, for example anniversary date. Related types are
|
# * A year on its own, with zero month and day values
|
||||||
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
||||||
|
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
||||||
class GoogleTypeDate
|
class GoogleTypeDate
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
||||||
# if specifying a year/month where the day is not significant.
|
# if specifying a year by itself or a year and month where the day is not
|
||||||
|
# significant.
|
||||||
# Corresponds to the JSON property `day`
|
# Corresponds to the JSON property `day`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :day
|
attr_accessor :day
|
||||||
|
|
||||||
# Month of year. Must be from 1 to 12, or 0 if specifying a date without a
|
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
||||||
# month.
|
# month and day.
|
||||||
# Corresponds to the JSON property `month`
|
# Corresponds to the JSON property `month`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :month
|
attr_accessor :month
|
||||||
|
|
|
@ -334,6 +334,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GooglePrivacyDlpV2ExcludeInfoTypes
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GooglePrivacyDlpV2ExclusionRule
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GooglePrivacyDlpV2Expressions
|
class GooglePrivacyDlpV2Expressions
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -472,6 +484,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GooglePrivacyDlpV2InspectionRule
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GooglePrivacyDlpV2InspectionRuleSet
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GooglePrivacyDlpV2JobTrigger
|
class GooglePrivacyDlpV2JobTrigger
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1354,6 +1378,7 @@ module Google
|
||||||
|
|
||||||
property :dictionary, as: 'dictionary', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary::Representation
|
property :dictionary, as: 'dictionary', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary::Representation
|
||||||
|
|
||||||
|
property :exclusion_type, as: 'exclusionType'
|
||||||
property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
|
property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
|
||||||
|
|
||||||
property :likelihood, as: 'likelihood'
|
property :likelihood, as: 'likelihood'
|
||||||
|
@ -1557,6 +1582,27 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GooglePrivacyDlpV2ExcludeInfoTypes
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :info_types, as: 'infoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GooglePrivacyDlpV2ExclusionRule
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :dictionary, as: 'dictionary', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary::Representation
|
||||||
|
|
||||||
|
property :exclude_info_types, as: 'excludeInfoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes::Representation
|
||||||
|
|
||||||
|
property :matching_type, as: 'matchingType'
|
||||||
|
property :regex, as: 'regex', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Regex, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Regex::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GooglePrivacyDlpV2Expressions
|
class GooglePrivacyDlpV2Expressions
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1726,6 +1772,8 @@ module Google
|
||||||
property :limits, as: 'limits', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FindingLimits, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FindingLimits::Representation
|
property :limits, as: 'limits', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FindingLimits, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FindingLimits::Representation
|
||||||
|
|
||||||
property :min_likelihood, as: 'minLikelihood'
|
property :min_likelihood, as: 'minLikelihood'
|
||||||
|
collection :rule_set, as: 'ruleSet', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRuleSet, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRuleSet::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1793,6 +1841,26 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GooglePrivacyDlpV2InspectionRule
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :exclusion_rule, as: 'exclusionRule', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ExclusionRule, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ExclusionRule::Representation
|
||||||
|
|
||||||
|
property :hotword_rule, as: 'hotwordRule', class: Google::Apis::DlpV2::GooglePrivacyDlpV2HotwordRule, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2HotwordRule::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GooglePrivacyDlpV2InspectionRuleSet
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :info_types, as: 'infoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
|
||||||
|
|
||||||
|
collection :rules, as: 'rules', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRule, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRule::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GooglePrivacyDlpV2JobTrigger
|
class GooglePrivacyDlpV2JobTrigger
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/knowledge-graph/
|
# @see https://developers.google.com/knowledge-graph/
|
||||||
module KgsearchV1
|
module KgsearchV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170925'
|
REVISION = '20180809'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/ml/
|
# @see https://cloud.google.com/ml/
|
||||||
module MlV1
|
module MlV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180903'
|
REVISION = '20180918'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -968,6 +968,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :model_name
|
attr_accessor :model_name
|
||||||
|
|
||||||
|
# Optional. Format of the output data files, defaults to JSON.
|
||||||
|
# Corresponds to the JSON property `outputDataFormat`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :output_data_format
|
||||||
|
|
||||||
# Required. The output Google Cloud Storage location.
|
# Required. The output Google Cloud Storage location.
|
||||||
# Corresponds to the JSON property `outputPath`
|
# Corresponds to the JSON property `outputPath`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1027,6 +1032,7 @@ module Google
|
||||||
@input_paths = args[:input_paths] if args.key?(:input_paths)
|
@input_paths = args[:input_paths] if args.key?(:input_paths)
|
||||||
@max_worker_count = args[:max_worker_count] if args.key?(:max_worker_count)
|
@max_worker_count = args[:max_worker_count] if args.key?(:max_worker_count)
|
||||||
@model_name = args[:model_name] if args.key?(:model_name)
|
@model_name = args[:model_name] if args.key?(:model_name)
|
||||||
|
@output_data_format = args[:output_data_format] if args.key?(:output_data_format)
|
||||||
@output_path = args[:output_path] if args.key?(:output_path)
|
@output_path = args[:output_path] if args.key?(:output_path)
|
||||||
@region = args[:region] if args.key?(:region)
|
@region = args[:region] if args.key?(:region)
|
||||||
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
|
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
|
||||||
|
@ -1406,9 +1412,10 @@ module Google
|
||||||
|
|
||||||
# Optional. The machine learning framework Cloud ML Engine uses to train
|
# Optional. The machine learning framework Cloud ML Engine uses to train
|
||||||
# this version of the model. Valid values are `TENSORFLOW`, `SCIKIT_LEARN`,
|
# this version of the model. Valid values are `TENSORFLOW`, `SCIKIT_LEARN`,
|
||||||
# and `XGBOOST`. If you do not specify a framework, Cloud ML Engine uses
|
# `XGBOOST`. If you do not specify a framework, Cloud ML Engine
|
||||||
# TensorFlow. If you choose `SCIKIT_LEARN` or `XGBOOST`, you must also set
|
# will analyze files in the deployment_uri to determine a framework. If you
|
||||||
# the runtime version of the model to 1.4 or greater.
|
# choose `SCIKIT_LEARN` or `XGBOOST`, you must also set the runtime version
|
||||||
|
# of the model to 1.4 or greater.
|
||||||
# Corresponds to the JSON property `framework`
|
# Corresponds to the JSON property `framework`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :framework
|
attr_accessor :framework
|
||||||
|
|
|
@ -482,6 +482,7 @@ module Google
|
||||||
collection :input_paths, as: 'inputPaths'
|
collection :input_paths, as: 'inputPaths'
|
||||||
property :max_worker_count, :numeric_string => true, as: 'maxWorkerCount'
|
property :max_worker_count, :numeric_string => true, as: 'maxWorkerCount'
|
||||||
property :model_name, as: 'modelName'
|
property :model_name, as: 'modelName'
|
||||||
|
property :output_data_format, as: 'outputDataFormat'
|
||||||
property :output_path, as: 'outputPath'
|
property :output_path, as: 'outputPath'
|
||||||
property :region, as: 'region'
|
property :region, as: 'region'
|
||||||
property :runtime_version, as: 'runtimeVersion'
|
property :runtime_version, as: 'runtimeVersion'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/people/
|
# @see https://developers.google.com/people/
|
||||||
module PeopleV1
|
module PeopleV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180601'
|
REVISION = '20180918'
|
||||||
|
|
||||||
# Manage your contacts
|
# Manage your contacts
|
||||||
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
|
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
|
||||||
|
|
|
@ -510,13 +510,14 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
||||||
# if specifying a year/month where the day is not significant.
|
# if specifying a year by itself or a year and month where the day is not
|
||||||
|
# significant.
|
||||||
# Corresponds to the JSON property `day`
|
# Corresponds to the JSON property `day`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :day
|
attr_accessor :day
|
||||||
|
|
||||||
# Month of year. Must be from 1 to 12, or 0 if specifying a date without a
|
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
||||||
# month.
|
# month and day.
|
||||||
# Corresponds to the JSON property `month`
|
# Corresponds to the JSON property `month`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :month
|
attr_accessor :month
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/cloud-test-lab/
|
# @see https://developers.google.com/cloud-test-lab/
|
||||||
module TestingV1
|
module TestingV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180914'
|
REVISION = '20180919'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -581,13 +581,14 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :id
|
attr_accessor :id
|
||||||
|
|
||||||
# Represents a whole calendar date, for example date of birth. The time of day
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
||||||
# and time zone are either specified elsewhere or are not significant. The date
|
# and time zone are either specified elsewhere or are not significant. The date
|
||||||
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to
|
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
||||||
# represent a year and month where the day is not significant, for example
|
# * A full date, with non-zero year, month and day values
|
||||||
# credit card expiration date. The year can be 0 to represent a month and day
|
# * A month and day value, with a zero year, e.g. an anniversary
|
||||||
# independent of year, for example anniversary date. Related types are
|
# * A year on its own, with zero month and day values
|
||||||
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
||||||
|
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
||||||
# Corresponds to the JSON property `releaseDate`
|
# Corresponds to the JSON property `releaseDate`
|
||||||
# @return [Google::Apis::TestingV1::Date]
|
# @return [Google::Apis::TestingV1::Date]
|
||||||
attr_accessor :release_date
|
attr_accessor :release_date
|
||||||
|
@ -788,24 +789,26 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a whole calendar date, for example date of birth. The time of day
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
||||||
# and time zone are either specified elsewhere or are not significant. The date
|
# and time zone are either specified elsewhere or are not significant. The date
|
||||||
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to
|
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
||||||
# represent a year and month where the day is not significant, for example
|
# * A full date, with non-zero year, month and day values
|
||||||
# credit card expiration date. The year can be 0 to represent a month and day
|
# * A month and day value, with a zero year, e.g. an anniversary
|
||||||
# independent of year, for example anniversary date. Related types are
|
# * A year on its own, with zero month and day values
|
||||||
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
||||||
|
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
||||||
class Date
|
class Date
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
||||||
# if specifying a year/month where the day is not significant.
|
# if specifying a year by itself or a year and month where the day is not
|
||||||
|
# significant.
|
||||||
# Corresponds to the JSON property `day`
|
# Corresponds to the JSON property `day`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :day
|
attr_accessor :day
|
||||||
|
|
||||||
# Month of year. Must be from 1 to 12, or 0 if specifying a date without a
|
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
||||||
# month.
|
# month and day.
|
||||||
# Corresponds to the JSON property `month`
|
# Corresponds to the JSON property `month`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :month
|
attr_accessor :month
|
||||||
|
|
Loading…
Reference in New Issue