google-apis-documentai_v1beta3 0.87.0 → 0.89.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b60852b3f7728a669b3a4b478a9c4fb99f0bf8ab3940c509e0e727915fcb0bb
4
- data.tar.gz: 11996f484ca1feddc1a721c5e953e680190ea14f4c2c132e1ab1881adf189ecb
3
+ metadata.gz: 7ed366b8fbb6af7f930ba02b68b0c8d248fd68f15a7153c380c81e1c8dcd55fa
4
+ data.tar.gz: 60d7c768c777dc65f9e8eecf455daed921927c0a713c0d30fb63fd9a484f7dc1
5
5
  SHA512:
6
- metadata.gz: b4c19d6c8172299af0a07ca439f28b88353850270e9c7996c2c3fa08c22d43452420e39f8e7b6c723f8c50060458fa4c512a6cbdae9559b3ee0e35d6920c893d
7
- data.tar.gz: 0c523ba6a5da6fd6807f2efb246f0446480109319ba16c44f54bdf6b3a2aa90bff9d3acdf0aff7a439d89da7d4cf10e04f3265a639dc833df16f547633801f7c
6
+ metadata.gz: d1e9aaba3b488c9331fe026266c7548ab79ad72b51379bf14c335db74e39abcc8c551e42c68c0087adba97aa0f73aa091ca4917ffa5f82f14fc0ccc2a2d971e3
7
+ data.tar.gz: dc2d7ec6e58979c3614be6f80eff2ede5ae405d69be76cfcda4bd5fca4004f584b7b6634eafef578dac0e9e80350632abafe3c2164500b4d3edcc1c9e0fc693d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.89.0 (2024-02-04)
4
+
5
+ * Regenerated from discovery document revision 20240126
6
+ * Regenerated using generator version 0.13.1
7
+
8
+ ### v0.88.0 (2024-01-23)
9
+
10
+ * Regenerated from discovery document revision 20240118
11
+ * Regenerated using generator version 0.13.0
12
+
3
13
  ### v0.87.0 (2023-12-03)
4
14
 
5
15
  * Regenerated from discovery document revision 20231123
@@ -6566,6 +6566,15 @@ module Google
6566
6566
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig]
6567
6567
  attr_accessor :input_documents
6568
6568
 
6569
+ # Optional. The labels with user-defined metadata for the request. Label keys
6570
+ # and values can be no longer than 63 characters (Unicode codepoints) and can
6571
+ # only contain lowercase letters, numeric characters, underscores, and dashes.
6572
+ # International characters are allowed. Label values are optional. Label keys
6573
+ # must start with a letter.
6574
+ # Corresponds to the JSON property `labels`
6575
+ # @return [Hash<String,String>]
6576
+ attr_accessor :labels
6577
+
6569
6578
  # The output configuration in the BatchProcessDocuments method.
6570
6579
  # Corresponds to the JSON property `outputConfig`
6571
6580
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig]
@@ -6591,6 +6600,7 @@ module Google
6591
6600
  @document_output_config = args[:document_output_config] if args.key?(:document_output_config)
6592
6601
  @input_configs = args[:input_configs] if args.key?(:input_configs)
6593
6602
  @input_documents = args[:input_documents] if args.key?(:input_documents)
6603
+ @labels = args[:labels] if args.key?(:labels)
6594
6604
  @output_config = args[:output_config] if args.key?(:output_config)
6595
6605
  @process_options = args[:process_options] if args.key?(:process_options)
6596
6606
  @skip_human_review = args[:skip_human_review] if args.key?(:skip_human_review)
@@ -10519,6 +10529,15 @@ module Google
10519
10529
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
10520
10530
  attr_accessor :inline_document
10521
10531
 
10532
+ # Optional. The labels with user-defined metadata for the request. Label keys
10533
+ # and values can be no longer than 63 characters (Unicode codepoints) and can
10534
+ # only contain lowercase letters, numeric characters, underscores, and dashes.
10535
+ # International characters are allowed. Label values are optional. Label keys
10536
+ # must start with a letter.
10537
+ # Corresponds to the JSON property `labels`
10538
+ # @return [Hash<String,String>]
10539
+ attr_accessor :labels
10540
+
10522
10541
  # Options for Process API
10523
10542
  # Corresponds to the JSON property `processOptions`
10524
10543
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions]
@@ -10545,6 +10564,7 @@ module Google
10545
10564
  @field_mask = args[:field_mask] if args.key?(:field_mask)
10546
10565
  @gcs_document = args[:gcs_document] if args.key?(:gcs_document)
10547
10566
  @inline_document = args[:inline_document] if args.key?(:inline_document)
10567
+ @labels = args[:labels] if args.key?(:labels)
10548
10568
  @process_options = args[:process_options] if args.key?(:process_options)
10549
10569
  @raw_document = args[:raw_document] if args.key?(:raw_document)
10550
10570
  @skip_human_review = args[:skip_human_review] if args.key?(:skip_human_review)
@@ -10786,6 +10806,11 @@ module Google
10786
10806
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference]
10787
10807
  attr_accessor :latest_evaluation
10788
10808
 
10809
+ # Output only. The model type of this processor version.
10810
+ # Corresponds to the JSON property `modelType`
10811
+ # @return [String]
10812
+ attr_accessor :model_type
10813
+
10789
10814
  # The resource name of the processor version. Format: `projects/`project`/
10790
10815
  # locations/`location`/processors/`processor`/processorVersions/`
10791
10816
  # processor_version``
@@ -10812,6 +10837,7 @@ module Google
10812
10837
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
10813
10838
  @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
10814
10839
  @latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
10840
+ @model_type = args[:model_type] if args.key?(:model_type)
10815
10841
  @name = args[:name] if args.key?(:name)
10816
10842
  @state = args[:state] if args.key?(:state)
10817
10843
  end
@@ -11324,14 +11350,14 @@ module Google
11324
11350
  include Google::Apis::Core::Hashable
11325
11351
 
11326
11352
  # Optional. The multiplier to apply to the recommended learning rate. Valid
11327
- # values are between [0.1, 10]. If not provided, recommended learning rate will
11353
+ # values are between 0.1 and 10. If not provided, recommended learning rate will
11328
11354
  # be used.
11329
11355
  # Corresponds to the JSON property `learningRateMultiplier`
11330
11356
  # @return [Float]
11331
11357
  attr_accessor :learning_rate_multiplier
11332
11358
 
11333
11359
  # Optional. The number of steps to run for model tuning. Valid values are
11334
- # between [1, 400]. If not provided, recommended steps will be used.
11360
+ # between 1 and 400. If not provided, recommended steps will be used.
11335
11361
  # Corresponds to the JSON property `trainSteps`
11336
11362
  # @return [Fixnum]
11337
11363
  attr_accessor :train_steps
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta3
18
18
  # Version of the google-apis-documentai_v1beta3 gem
19
- GEM_VERSION = "0.87.0"
19
+ GEM_VERSION = "0.89.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231123"
25
+ REVISION = "20240126"
26
26
  end
27
27
  end
28
28
  end
@@ -4034,6 +4034,7 @@ module Google
4034
4034
 
4035
4035
  property :input_documents, as: 'inputDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig::Representation
4036
4036
 
4037
+ hash :labels, as: 'labels'
4037
4038
  property :output_config, as: 'outputConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig::Representation
4038
4039
 
4039
4040
  property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions::Representation
@@ -5196,6 +5197,7 @@ module Google
5196
5197
 
5197
5198
  property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
5198
5199
 
5200
+ hash :labels, as: 'labels'
5199
5201
  property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions::Representation
5200
5202
 
5201
5203
  property :raw_document, as: 'rawDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument::Representation
@@ -5266,6 +5268,7 @@ module Google
5266
5268
  property :kms_key_version_name, as: 'kmsKeyVersionName'
5267
5269
  property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference::Representation
5268
5270
 
5271
+ property :model_type, as: 'modelType'
5269
5272
  property :name, as: 'name'
5270
5273
  property :state, as: 'state'
5271
5274
  end
@@ -34,6 +34,8 @@ module Google
34
34
  #
35
35
  # @see https://cloud.google.com/document-ai/docs/
36
36
  class DocumentService < Google::Apis::Core::BaseService
37
+ DEFAULT_ENDPOINT_TEMPLATE = "https://documentai.$UNIVERSE_DOMAIN$/"
38
+
37
39
  # @return [String]
38
40
  # API key. Your API key identifies your project and provides you with API access,
39
41
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -45,7 +47,7 @@ module Google
45
47
  attr_accessor :quota_user
46
48
 
47
49
  def initialize
48
- super('https://documentai.googleapis.com/', '',
50
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
49
51
  client_name: 'google-apis-documentai_v1beta3',
50
52
  client_version: Google::Apis::DocumentaiV1beta3::GEM_VERSION)
51
53
  @batch_path = 'batch'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.87.0
4
+ version: 0.89.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-03 00:00:00.000000000 Z
11
+ date: 2024-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.87.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.89.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Document AI API V1beta3