diff --git a/api_names_out.yaml b/api_names_out.yaml index 878001c34..0013103a9 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -100482,6 +100482,7 @@ "/documentai:v1beta3/GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata/stateMessage": state_message "/documentai:v1beta3/GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata/updateTime": update_time "/documentai:v1beta3/GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata": google_cloud_documentai_uiv1beta3_create_processor_version_metadata +"/documentai:v1beta3/GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata/commonMetadata": common_metadata "/documentai:v1beta3/GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata/createTime": create_time "/documentai:v1beta3/GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata/state": state "/documentai:v1beta3/GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata/updateTime": update_time diff --git a/generated/google/apis/documentai_v1beta3.rb b/generated/google/apis/documentai_v1beta3.rb index 1a8ae8a99..3e8e51896 100644 --- a/generated/google/apis/documentai_v1beta3.rb +++ b/generated/google/apis/documentai_v1beta3.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/document-ai/docs/ module DocumentaiV1beta3 VERSION = 'V1beta3' - REVISION = '20201207' + REVISION = '20201212' # 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/documentai_v1beta3/classes.rb b/generated/google/apis/documentai_v1beta3/classes.rb index 0889f00a9..b5081540e 100644 --- a/generated/google/apis/documentai_v1beta3/classes.rb +++ b/generated/google/apis/documentai_v1beta3/classes.rb @@ -82,20 +82,10 @@ module Google class GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata include Google::Apis::Core::Hashable - # The creation time of the operation. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # The state of the current disable processor operation. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # The last update time of the operation. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time + # The common metadata for long running operations. + # Corresponds to the JSON property `commonMetadata` + # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata] + attr_accessor :common_metadata def initialize(**args) update!(**args) @@ -103,9 +93,7 @@ module Google # Update properties of this object def update!(**args) - @create_time = args[:create_time] if args.key?(:create_time) - @state = args[:state] if args.key?(:state) - @update_time = args[:update_time] if args.key?(:update_time) + @common_metadata = args[:common_metadata] if args.key?(:common_metadata) end end @@ -137,27 +125,6 @@ module Google # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata] attr_accessor :common_metadata - # The creation time of the operation. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # The state of the current delete processor operation. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # A message providing more details about the current state of processing. For - # example, the error message if the operation is failed. - # Corresponds to the JSON property `stateMessage` - # @return [String] - attr_accessor :state_message - - # The last update time of the operation. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - def initialize(**args) update!(**args) end @@ -165,10 +132,6 @@ module Google # Update properties of this object def update!(**args) @common_metadata = args[:common_metadata] if args.key?(:common_metadata) - @create_time = args[:create_time] if args.key?(:create_time) - @state = args[:state] if args.key?(:state) - @state_message = args[:state_message] if args.key?(:state_message) - @update_time = args[:update_time] if args.key?(:update_time) end end @@ -232,27 +195,6 @@ module Google # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata] attr_accessor :common_metadata - # The creation time of the operation. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # The state of the current disable processor operation. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # A message providing more details about the current state of processing. For - # example, the error message if the operation is failed. - # Corresponds to the JSON property `stateMessage` - # @return [String] - attr_accessor :state_message - - # The last update time of the operation. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - def initialize(**args) update!(**args) end @@ -260,10 +202,6 @@ module Google # Update properties of this object def update!(**args) @common_metadata = args[:common_metadata] if args.key?(:common_metadata) - @create_time = args[:create_time] if args.key?(:create_time) - @state = args[:state] if args.key?(:state) - @state_message = args[:state_message] if args.key?(:state_message) - @update_time = args[:update_time] if args.key?(:update_time) end end @@ -290,27 +228,6 @@ module Google # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata] attr_accessor :common_metadata - # The creation time of the operation. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # The state of the current enable processor operation. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # A message providing more details about the current state of processing. For - # example, the error message if the operation is failed. - # Corresponds to the JSON property `stateMessage` - # @return [String] - attr_accessor :state_message - - # The last update time of the operation. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - def initialize(**args) update!(**args) end @@ -318,10 +235,6 @@ module Google # Update properties of this object def update!(**args) @common_metadata = args[:common_metadata] if args.key?(:common_metadata) - @create_time = args[:create_time] if args.key?(:create_time) - @state = args[:state] if args.key?(:state) - @state_message = args[:state_message] if args.key?(:state_message) - @update_time = args[:update_time] if args.key?(:update_time) end end diff --git a/generated/google/apis/documentai_v1beta3/representations.rb b/generated/google/apis/documentai_v1beta3/representations.rb index 39bef07f7..598e4ad07 100644 --- a/generated/google/apis/documentai_v1beta3/representations.rb +++ b/generated/google/apis/documentai_v1beta3/representations.rb @@ -1009,9 +1009,8 @@ module Google class GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - property :state, as: 'state' - property :update_time, as: 'updateTime' + property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation + end end @@ -1028,10 +1027,6 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation - property :create_time, as: 'createTime' - property :state, as: 'state' - property :state_message, as: 'stateMessage' - property :update_time, as: 'updateTime' end end @@ -1062,10 +1057,6 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation - property :create_time, as: 'createTime' - property :state, as: 'state' - property :state_message, as: 'stateMessage' - property :update_time, as: 'updateTime' end end @@ -1080,10 +1071,6 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation - property :create_time, as: 'createTime' - property :state, as: 'state' - property :state_message, as: 'stateMessage' - property :update_time, as: 'updateTime' end end diff --git a/generated/google/apis/documentai_v1beta3/synth.metadata b/generated/google/apis/documentai_v1beta3/synth.metadata index 50563865c..c54a27dc9 100644 --- a/generated/google/apis/documentai_v1beta3/synth.metadata +++ b/generated/google/apis/documentai_v1beta3/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "9e7a0a144fbc0bdef5ebd548056e511ebafbdee8" + "sha": "5f08ea57c550dd2cf7605b5cf47528bc86cbe236" } } ]