From 1ee4f225c8b132f1cf7dd3a34cfbcfcee6789a38 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Thu, 20 Sep 2018 00:36:26 +0000 Subject: [PATCH] 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 --- api_names_out.yaml | 24 +++ generated/google/apis/cloudkms_v1.rb | 9 +- generated/google/apis/cloudkms_v1/service.rb | 7 +- generated/google/apis/dataproc_v1.rb | 2 +- generated/google/apis/dataproc_v1/classes.rb | 2 +- generated/google/apis/dataproc_v1beta2.rb | 2 +- .../google/apis/dataproc_v1beta2/classes.rb | 8 +- .../apis/dataproc_v1beta2/representations.rb | 1 + .../google/apis/dataproc_v1beta2/service.rb | 10 +- generated/google/apis/dialogflow_v2.rb | 2 +- .../google/apis/dialogflow_v2/classes.rb | 6 +- .../google/apis/dialogflow_v2/service.rb | 12 +- generated/google/apis/dialogflow_v2beta1.rb | 2 +- .../google/apis/dialogflow_v2beta1/classes.rb | 6 +- .../google/apis/dialogflow_v2beta1/service.rb | 12 +- generated/google/apis/dlp_v2.rb | 2 +- generated/google/apis/dlp_v2/classes.rb | 199 ++++++++++++++++-- .../google/apis/dlp_v2/representations.rb | 68 ++++++ generated/google/apis/kgsearch_v1.rb | 2 +- generated/google/apis/ml_v1.rb | 2 +- generated/google/apis/ml_v1/classes.rb | 13 +- .../google/apis/ml_v1/representations.rb | 1 + generated/google/apis/people_v1.rb | 2 +- generated/google/apis/people_v1/classes.rb | 7 +- generated/google/apis/testing_v1.rb | 2 +- generated/google/apis/testing_v1/classes.rb | 33 +-- 26 files changed, 352 insertions(+), 84 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index d561bc62b..0ba3c6cdc 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -40232,6 +40232,8 @@ "/dataproc:v1beta2/SetIamPolicyRequest/policy": policy "/dataproc:v1beta2/SoftwareConfig": software_config "/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/property": property "/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/instanceId": instance_id "/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/pageSize": page_size "/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/instanceId": instance_id "/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/pageSize": page_size "/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_rule": detection_rule "/dlp:v2/GooglePrivacyDlpV2CustomInfoType/dictionary": dictionary +"/dlp:v2/GooglePrivacyDlpV2CustomInfoType/exclusionType": exclusion_type "/dlp:v2/GooglePrivacyDlpV2CustomInfoType/infoType": info_type "/dlp:v2/GooglePrivacyDlpV2CustomInfoType/likelihood": likelihood "/dlp:v2/GooglePrivacyDlpV2CustomInfoType/regex": regex @@ -57702,6 +57707,14 @@ "/dlp:v2/GooglePrivacyDlpV2Error/details": details "/dlp:v2/GooglePrivacyDlpV2Error/timestamps": timestamps "/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/conditions": conditions "/dlp:v2/GooglePrivacyDlpV2Expressions/logicalOperator": logical_operator @@ -57773,6 +57786,8 @@ "/dlp:v2/GooglePrivacyDlpV2InspectConfig/infoTypes/info_type": info_type "/dlp:v2/GooglePrivacyDlpV2InspectConfig/limits": limits "/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/inspectConfig": inspect_config "/dlp:v2/GooglePrivacyDlpV2InspectContentRequest/inspectTemplateName": inspect_template_name @@ -57799,6 +57814,14 @@ "/dlp:v2/GooglePrivacyDlpV2InspectTemplate/inspectConfig": inspect_config "/dlp:v2/GooglePrivacyDlpV2InspectTemplate/name": name "/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/createTime": create_time "/dlp:v2/GooglePrivacyDlpV2JobTrigger/description": description @@ -69350,6 +69373,7 @@ "/ml:v1/GoogleCloudMlV1__PredictionInput/inputPaths/input_path": input_path "/ml:v1/GoogleCloudMlV1__PredictionInput/maxWorkerCount": max_worker_count "/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/region": region "/ml:v1/GoogleCloudMlV1__PredictionInput/runtimeVersion": runtime_version diff --git a/generated/google/apis/cloudkms_v1.rb b/generated/google/apis/cloudkms_v1.rb index e2de614f1..d0822f94c 100644 --- a/generated/google/apis/cloudkms_v1.rb +++ b/generated/google/apis/cloudkms_v1.rb @@ -20,16 +20,13 @@ module Google module Apis # Cloud Key Management Service (KMS) API # - # Cloud KMS allows you to keep cryptographic keys in one central cloud service, - # for direct use by other cloud resources and applications. With Cloud KMS you - # 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. + # Manages keys and performs cryptographic operations in a central cloud service, + # for direct use by other cloud resources and applications. # # @see https://cloud.google.com/kms/ module CloudkmsV1 VERSION = 'V1' - REVISION = '20180830' + REVISION = '20180918' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudkms_v1/service.rb b/generated/google/apis/cloudkms_v1/service.rb index b53b7fde9..b07db6ff0 100644 --- a/generated/google/apis/cloudkms_v1/service.rb +++ b/generated/google/apis/cloudkms_v1/service.rb @@ -22,11 +22,8 @@ module Google module CloudkmsV1 # Cloud Key Management Service (KMS) API # - # Cloud KMS allows you to keep cryptographic keys in one central cloud service, - # for direct use by other cloud resources and applications. With Cloud KMS you - # 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. + # Manages keys and performs cryptographic operations in a central cloud service, + # for direct use by other cloud resources and applications. # # @example # require 'google/apis/cloudkms_v1' diff --git a/generated/google/apis/dataproc_v1.rb b/generated/google/apis/dataproc_v1.rb index cefd815ec..60b2b43a6 100644 --- a/generated/google/apis/dataproc_v1.rb +++ b/generated/google/apis/dataproc_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/dataproc/ module DataprocV1 VERSION = 'V1' - REVISION = '20180910' + REVISION = '20180914' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dataproc_v1/classes.rb b/generated/google/apis/dataproc_v1/classes.rb index 8ef951006..c753a5084 100644 --- a/generated/google/apis/dataproc_v1/classes.rb +++ b/generated/google/apis/dataproc_v1/classes.rb @@ -977,7 +977,7 @@ module Google include Google::Apis::Core::Hashable # 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` # @return [Hash] attr_accessor :parameters diff --git a/generated/google/apis/dataproc_v1beta2.rb b/generated/google/apis/dataproc_v1beta2.rb index 2ba7ee381..085a47479 100644 --- a/generated/google/apis/dataproc_v1beta2.rb +++ b/generated/google/apis/dataproc_v1beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/dataproc/ module DataprocV1beta2 VERSION = 'V1beta2' - REVISION = '20180824' + REVISION = '20180914' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dataproc_v1beta2/classes.rb b/generated/google/apis/dataproc_v1beta2/classes.rb index b87f71bac..f48b2e5ea 100644 --- a/generated/google/apis/dataproc_v1beta2/classes.rb +++ b/generated/google/apis/dataproc_v1beta2/classes.rb @@ -995,7 +995,7 @@ module Google attr_accessor :instance_id # 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` # @return [Hash] attr_accessor :parameters @@ -2053,6 +2053,11 @@ module Google # @return [String] attr_accessor :image_version + # The set of optional components to activate on the cluster. + # Corresponds to the JSON property `optionalComponents` + # @return [Array] + attr_accessor :optional_components + # Optional. The properties to set on daemon config files.Property keys are # specified in prefix:property format, such as core:fs.defaultFS. The following # are supported prefixes and their mappings: @@ -2076,6 +2081,7 @@ module Google # Update properties of this object def update!(**args) @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) end end diff --git a/generated/google/apis/dataproc_v1beta2/representations.rb b/generated/google/apis/dataproc_v1beta2/representations.rb index 8633dc8e7..701dc7ca1 100644 --- a/generated/google/apis/dataproc_v1beta2/representations.rb +++ b/generated/google/apis/dataproc_v1beta2/representations.rb @@ -890,6 +890,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :image_version, as: 'imageVersion' + collection :optional_components, as: 'optionalComponents' hash :properties, as: 'properties' end end diff --git a/generated/google/apis/dataproc_v1beta2/service.rb b/generated/google/apis/dataproc_v1beta2/service.rb index 22e6f5504..650d4b938 100644 --- a/generated/google/apis/dataproc_v1beta2/service.rb +++ b/generated/google/apis/dataproc_v1beta2/service.rb @@ -243,6 +243,8 @@ module Google # project_id`/regions/`region` # @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object # @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 # 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. @@ -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::ClientError] The request is invalid and should not be retried without modification # @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.request_representation = Google::Apis::DataprocV1beta2::WorkflowTemplate::Representation command.request_object = workflow_template_object @@ -274,6 +276,7 @@ module Google command.response_class = Google::Apis::DataprocV1beta2::Operation command.params['parent'] = parent unless parent.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['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -1670,6 +1673,8 @@ module Google # project_id`/regions/`region` # @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object # @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 # 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. @@ -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::ClientError] The request is invalid and should not be retried without modification # @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.request_representation = Google::Apis::DataprocV1beta2::WorkflowTemplate::Representation command.request_object = workflow_template_object @@ -1701,6 +1706,7 @@ module Google command.response_class = Google::Apis::DataprocV1beta2::Operation command.params['parent'] = parent unless parent.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['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/dialogflow_v2.rb b/generated/google/apis/dialogflow_v2.rb index 01a94c97b..62865b493 100644 --- a/generated/google/apis/dialogflow_v2.rb +++ b/generated/google/apis/dialogflow_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow-enterprise/ module DialogflowV2 VERSION = 'V2' - REVISION = '20180814' + REVISION = '20180918' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2/classes.rb b/generated/google/apis/dialogflow_v2/classes.rb index 84a9f1ae6..1200d6205 100644 --- a/generated/google/apis/dialogflow_v2/classes.rb +++ b/generated/google/apis/dialogflow_v2/classes.rb @@ -116,7 +116,7 @@ module Google class GoogleCloudDialogflowV2BatchCreateEntitiesRequest include Google::Apis::Core::Hashable - # Required. The collection of entities to create. + # Required. The entities to create. # Corresponds to the JSON property `entities` # @return [Array] attr_accessor :entities @@ -212,11 +212,11 @@ module Google end end - # The response message for EntityTypes.BatchCreateEntities. + # The request message for EntityTypes.BatchUpdateEntities. class GoogleCloudDialogflowV2BatchUpdateEntitiesRequest 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` # @return [Array] attr_accessor :entities diff --git a/generated/google/apis/dialogflow_v2/service.rb b/generated/google/apis/dialogflow_v2/service.rb index 58169c223..e7495384f 100644 --- a/generated/google/apis/dialogflow_v2/service.rb +++ b/generated/google/apis/dialogflow_v2/service.rb @@ -545,8 +545,7 @@ module Google execute_or_queue_command(command, &block) end - # Creates multiple new entities in the specified entity type (extends the - # existing collection of entries). + # Creates multiple new entities in the specified entity type. # Operation # @param [String] parent # Required. The name of the entity type to create entities in. Format: @@ -617,13 +616,14 @@ module Google execute_or_queue_command(command, &block) end - # Updates entities in the specified entity type (replaces the existing - # collection of entries). + # Updates or creates multiple entities in the specified entity type. This + # method does not affect entities in the entity type that aren't explicitly + # specified in the request. # Operation # @param [String] parent - # Required. The name of the entity type to update the entities in. Format: - # `projects//agent/entityTypes/`. + # Required. The name of the entity type to update or create entities in. + # Format: `projects//agent/entityTypes/`. # @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2_batch_update_entities_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index 4cb4fb8cb..405c829b0 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow-enterprise/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20180828' + REVISION = '20180918' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index 439dd4857..e0cf20e7f 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -1561,7 +1561,7 @@ module Google class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest include Google::Apis::Core::Hashable - # Required. The collection of entities to create. + # Required. The entities to create. # Corresponds to the JSON property `entities` # @return [Array] attr_accessor :entities @@ -1657,11 +1657,11 @@ module Google end end - # The response message for EntityTypes.BatchCreateEntities. + # The request message for EntityTypes.BatchUpdateEntities. class GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest 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` # @return [Array] attr_accessor :entities diff --git a/generated/google/apis/dialogflow_v2beta1/service.rb b/generated/google/apis/dialogflow_v2beta1/service.rb index 65a9ea3d6..ef62509bb 100644 --- a/generated/google/apis/dialogflow_v2beta1/service.rb +++ b/generated/google/apis/dialogflow_v2beta1/service.rb @@ -545,8 +545,7 @@ module Google execute_or_queue_command(command, &block) end - # Creates multiple new entities in the specified entity type (extends the - # existing collection of entries). + # Creates multiple new entities in the specified entity type. # Operation # @param [String] parent # Required. The name of the entity type to create entities in. Format: @@ -617,13 +616,14 @@ module Google execute_or_queue_command(command, &block) end - # Updates entities in the specified entity type (replaces the existing - # collection of entries). + # Updates or creates multiple entities in the specified entity type. This + # method does not affect entities in the entity type that aren't explicitly + # specified in the request. # Operation # @param [String] parent - # Required. The name of the entity type to update the entities in. Format: - # `projects//agent/entityTypes/`. + # Required. The name of the entity type to update or create entities in. + # Format: `projects//agent/entityTypes/`. # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_update_entities_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/dlp_v2.rb b/generated/google/apis/dlp_v2.rb index c7c2c16db..1eaa7b3c3 100644 --- a/generated/google/apis/dlp_v2.rb +++ b/generated/google/apis/dlp_v2.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/dlp/docs/ module DlpV2 VERSION = 'V2' - REVISION = '20180911' + REVISION = '20180918' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dlp_v2/classes.rb b/generated/google/apis/dlp_v2/classes.rb index 2c3abd855..c00ec43d1 100644 --- a/generated/google/apis/dlp_v2/classes.rb +++ b/generated/google/apis/dlp_v2/classes.rb @@ -1252,6 +1252,11 @@ module Google # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary] attr_accessor :dictionary + # + # Corresponds to the JSON property `exclusionType` + # @return [String] + attr_accessor :exclusion_type + # Type of information detected by the API. # Corresponds to the JSON property `infoType` # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType] @@ -1295,6 +1300,7 @@ module Google def update!(**args) @detection_rules = args[:detection_rules] if args.key?(:detection_rules) @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) @likelihood = args[:likelihood] if args.key?(:likelihood) @regex = args[:regex] if args.key?(:regex) @@ -1406,13 +1412,14 @@ module Google class GooglePrivacyDlpV2DateTime 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 - # is relative to the Proleptic Gregorian Calendar. The day can be 0 to - # represent a year and month where the day is not significant, for example - # credit card expiration date. The year can be 0 to represent a month and day - # independent of year, for example anniversary date. Related types are - # google.type.TimeOfDay and `google.protobuf.Timestamp`. + # is relative to the Proleptic Gregorian Calendar. This can represent: + # * A full date, with non-zero year, month and day values + # * A month and day value, with a zero year, e.g. an anniversary + # * A year on its own, with zero month and day values + # * 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` # @return [Google::Apis::DlpV2::GoogleTypeDate] attr_accessor :date @@ -2007,6 +2014,91 @@ module Google 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] + 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. class GooglePrivacyDlpV2Expressions include Google::Apis::Core::Hashable @@ -2555,6 +2647,13 @@ module Google # @return [String] 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] + attr_accessor :rule_set + def initialize(**args) update!(**args) end @@ -2568,6 +2667,7 @@ module Google @info_types = args[:info_types] if args.key?(:info_types) @limits = args[:limits] if args.key?(:limits) @min_likelihood = args[:min_likelihood] if args.key?(:min_likelihood) + @rule_set = args[:rule_set] if args.key?(:rule_set) end end @@ -2782,6 +2882,60 @@ module Google 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] + 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] + 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. # See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more. class GooglePrivacyDlpV2JobTrigger @@ -5394,13 +5548,14 @@ module Google attr_accessor :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 - # is relative to the Proleptic Gregorian Calendar. The day can be 0 to - # represent a year and month where the day is not significant, for example - # credit card expiration date. The year can be 0 to represent a month and day - # independent of year, for example anniversary date. Related types are - # google.type.TimeOfDay and `google.protobuf.Timestamp`. + # is relative to the Proleptic Gregorian Calendar. This can represent: + # * A full date, with non-zero year, month and day values + # * A month and day value, with a zero year, e.g. an anniversary + # * A year on its own, with zero month and day values + # * 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` # @return [Google::Apis::DlpV2::GoogleTypeDate] attr_accessor :date_value @@ -5596,24 +5751,26 @@ module Google 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 - # is relative to the Proleptic Gregorian Calendar. The day can be 0 to - # represent a year and month where the day is not significant, for example - # credit card expiration date. The year can be 0 to represent a month and day - # independent of year, for example anniversary date. Related types are - # google.type.TimeOfDay and `google.protobuf.Timestamp`. + # is relative to the Proleptic Gregorian Calendar. This can represent: + # * A full date, with non-zero year, month and day values + # * A month and day value, with a zero year, e.g. an anniversary + # * A year on its own, with zero month and day values + # * 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 include Google::Apis::Core::Hashable # 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` # @return [Fixnum] attr_accessor :day - # Month of year. Must be from 1 to 12, or 0 if specifying a date without a - # month. + # Month of year. Must be from 1 to 12, or 0 if specifying a year without a + # month and day. # Corresponds to the JSON property `month` # @return [Fixnum] attr_accessor :month diff --git a/generated/google/apis/dlp_v2/representations.rb b/generated/google/apis/dlp_v2/representations.rb index ee437be07..e70f063c9 100644 --- a/generated/google/apis/dlp_v2/representations.rb +++ b/generated/google/apis/dlp_v2/representations.rb @@ -334,6 +334,18 @@ module Google include Google::Apis::Core::JsonObjectSupport 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 Representation < Google::Apis::Core::JsonRepresentation; end @@ -472,6 +484,18 @@ module Google include Google::Apis::Core::JsonObjectSupport 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 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 :exclusion_type, as: 'exclusionType' property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation property :likelihood, as: 'likelihood' @@ -1557,6 +1582,27 @@ module Google 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 # @private 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 :min_likelihood, as: 'minLikelihood' + collection :rule_set, as: 'ruleSet', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRuleSet, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRuleSet::Representation + end end @@ -1793,6 +1841,26 @@ module Google 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 # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/kgsearch_v1.rb b/generated/google/apis/kgsearch_v1.rb index b71ef875c..58d4d3c2d 100644 --- a/generated/google/apis/kgsearch_v1.rb +++ b/generated/google/apis/kgsearch_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/knowledge-graph/ module KgsearchV1 VERSION = 'V1' - REVISION = '20170925' + REVISION = '20180809' end end end diff --git a/generated/google/apis/ml_v1.rb b/generated/google/apis/ml_v1.rb index 962a267ad..064da96a3 100644 --- a/generated/google/apis/ml_v1.rb +++ b/generated/google/apis/ml_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/ml/ module MlV1 VERSION = 'V1' - REVISION = '20180903' + REVISION = '20180918' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/ml_v1/classes.rb b/generated/google/apis/ml_v1/classes.rb index 5625c8e34..fdd16c5c3 100644 --- a/generated/google/apis/ml_v1/classes.rb +++ b/generated/google/apis/ml_v1/classes.rb @@ -968,6 +968,11 @@ module Google # @return [String] 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. # Corresponds to the JSON property `outputPath` # @return [String] @@ -1027,6 +1032,7 @@ module Google @input_paths = args[:input_paths] if args.key?(:input_paths) @max_worker_count = args[:max_worker_count] if args.key?(:max_worker_count) @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) @region = args[:region] if args.key?(:region) @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 # this version of the model. Valid values are `TENSORFLOW`, `SCIKIT_LEARN`, - # and `XGBOOST`. If you do not specify a framework, Cloud ML Engine uses - # TensorFlow. If you choose `SCIKIT_LEARN` or `XGBOOST`, you must also set - # the runtime version of the model to 1.4 or greater. + # `XGBOOST`. If you do not specify a framework, Cloud ML Engine + # will analyze files in the deployment_uri to determine a framework. If you + # 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` # @return [String] attr_accessor :framework diff --git a/generated/google/apis/ml_v1/representations.rb b/generated/google/apis/ml_v1/representations.rb index 5484c3686..cf991d6e6 100644 --- a/generated/google/apis/ml_v1/representations.rb +++ b/generated/google/apis/ml_v1/representations.rb @@ -482,6 +482,7 @@ module Google collection :input_paths, as: 'inputPaths' property :max_worker_count, :numeric_string => true, as: 'maxWorkerCount' property :model_name, as: 'modelName' + property :output_data_format, as: 'outputDataFormat' property :output_path, as: 'outputPath' property :region, as: 'region' property :runtime_version, as: 'runtimeVersion' diff --git a/generated/google/apis/people_v1.rb b/generated/google/apis/people_v1.rb index c096ee799..c88993ffd 100644 --- a/generated/google/apis/people_v1.rb +++ b/generated/google/apis/people_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/people/ module PeopleV1 VERSION = 'V1' - REVISION = '20180601' + REVISION = '20180918' # Manage your contacts AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' diff --git a/generated/google/apis/people_v1/classes.rb b/generated/google/apis/people_v1/classes.rb index d90fc9f08..98b9308cd 100644 --- a/generated/google/apis/people_v1/classes.rb +++ b/generated/google/apis/people_v1/classes.rb @@ -510,13 +510,14 @@ module Google include Google::Apis::Core::Hashable # 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` # @return [Fixnum] attr_accessor :day - # Month of year. Must be from 1 to 12, or 0 if specifying a date without a - # month. + # Month of year. Must be from 1 to 12, or 0 if specifying a year without a + # month and day. # Corresponds to the JSON property `month` # @return [Fixnum] attr_accessor :month diff --git a/generated/google/apis/testing_v1.rb b/generated/google/apis/testing_v1.rb index 6f3f6f3f6..98d2617db 100644 --- a/generated/google/apis/testing_v1.rb +++ b/generated/google/apis/testing_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/cloud-test-lab/ module TestingV1 VERSION = 'V1' - REVISION = '20180914' + REVISION = '20180919' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/testing_v1/classes.rb b/generated/google/apis/testing_v1/classes.rb index 678f1d8a4..bb50c5c3e 100644 --- a/generated/google/apis/testing_v1/classes.rb +++ b/generated/google/apis/testing_v1/classes.rb @@ -581,13 +581,14 @@ module Google # @return [String] 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 - # is relative to the Proleptic Gregorian Calendar. The day can be 0 to - # represent a year and month where the day is not significant, for example - # credit card expiration date. The year can be 0 to represent a month and day - # independent of year, for example anniversary date. Related types are - # google.type.TimeOfDay and `google.protobuf.Timestamp`. + # is relative to the Proleptic Gregorian Calendar. This can represent: + # * A full date, with non-zero year, month and day values + # * A month and day value, with a zero year, e.g. an anniversary + # * A year on its own, with zero month and day values + # * 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` # @return [Google::Apis::TestingV1::Date] attr_accessor :release_date @@ -788,24 +789,26 @@ module Google 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 - # is relative to the Proleptic Gregorian Calendar. The day can be 0 to - # represent a year and month where the day is not significant, for example - # credit card expiration date. The year can be 0 to represent a month and day - # independent of year, for example anniversary date. Related types are - # google.type.TimeOfDay and `google.protobuf.Timestamp`. + # is relative to the Proleptic Gregorian Calendar. This can represent: + # * A full date, with non-zero year, month and day values + # * A month and day value, with a zero year, e.g. an anniversary + # * A year on its own, with zero month and day values + # * 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 include Google::Apis::Core::Hashable # 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` # @return [Fixnum] attr_accessor :day - # Month of year. Must be from 1 to 12, or 0 if specifying a date without a - # month. + # Month of year. Must be from 1 to 12, or 0 if specifying a year without a + # month and day. # Corresponds to the JSON property `month` # @return [Fixnum] attr_accessor :month