diff --git a/api_names_out.yaml b/api_names_out.yaml index e57181487..878001c34 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -99817,6 +99817,7 @@ "/documentai:v1beta2/GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata/stateMessage": state_message "/documentai:v1beta2/GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata/updateTime": update_time "/documentai:v1beta2/GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata": google_cloud_documentai_uiv1beta3_create_processor_version_metadata +"/documentai:v1beta2/GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata/commonMetadata": common_metadata "/documentai:v1beta2/GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata/createTime": create_time "/documentai:v1beta2/GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata/state": state "/documentai:v1beta2/GoogleCloudDocumentaiUiv1beta3CreateProcessorVersionMetadata/updateTime": update_time diff --git a/generated/google/apis/documentai_v1beta2.rb b/generated/google/apis/documentai_v1beta2.rb index b74b96560..512e936f5 100644 --- a/generated/google/apis/documentai_v1beta2.rb +++ b/generated/google/apis/documentai_v1beta2.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/document-ai/docs/ module DocumentaiV1beta2 VERSION = 'V1beta2' - 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_v1beta2/classes.rb b/generated/google/apis/documentai_v1beta2/classes.rb index 0badf9f09..7a8fc5271 100644 --- a/generated/google/apis/documentai_v1beta2/classes.rb +++ b/generated/google/apis/documentai_v1beta2/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::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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_v1beta2/representations.rb b/generated/google/apis/documentai_v1beta2/representations.rb index 7db929bd6..209b3d887 100644 --- a/generated/google/apis/documentai_v1beta2/representations.rb +++ b/generated/google/apis/documentai_v1beta2/representations.rb @@ -799,9 +799,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::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation + end end @@ -818,10 +817,6 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation - property :create_time, as: 'createTime' - property :state, as: 'state' - property :state_message, as: 'stateMessage' - property :update_time, as: 'updateTime' end end @@ -852,10 +847,6 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation - property :create_time, as: 'createTime' - property :state, as: 'state' - property :state_message, as: 'stateMessage' - property :update_time, as: 'updateTime' end end @@ -870,10 +861,6 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::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_v1beta2/synth.metadata b/generated/google/apis/documentai_v1beta2/synth.metadata index 50563865c..c54a27dc9 100644 --- a/generated/google/apis/documentai_v1beta2/synth.metadata +++ b/generated/google/apis/documentai_v1beta2/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "9e7a0a144fbc0bdef5ebd548056e511ebafbdee8" + "sha": "5f08ea57c550dd2cf7605b5cf47528bc86cbe236" } } ]