google-apis-language_v1 0.18.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6aeb6487351ffed93b085b2ecc5ca3313c125abcfc502f8b37687df9e061d2cf
4
- data.tar.gz: dc42c33523ab52de478756ce039858a0669eb2c11e7f87cd6e2cc5b53f4e0ce6
3
+ metadata.gz: 257901dc20c2dd0aa35221d87e7edea750082fc593bfeee6c15de07dbdb7074c
4
+ data.tar.gz: e679eca430be31481be9122d6c1aca86b1e56032893eb05782ed8d7b6568bf4a
5
5
  SHA512:
6
- metadata.gz: a4241d6b3bbff823a1ea3d945b5c04425dea82f2a4df6826cef70cf4fbcf025d70e5480bfb96e5403b7ae5f2db0b64f6af3bb04ba8a18e2b4ca0805645338e28
7
- data.tar.gz: cca521c734fafddb8d4b199fca906a375eb719c621947f45c84c1915ff58ab56a0dce811462099496ec62e00ace3da6e7c94cbc71e14ae373806e8dcc6277ed6
6
+ metadata.gz: 69107b02b2fd2ed622894f7e0bf237cf3f028a04e8c1337c919b1d8d953ddbe281c3847bf25e217876de54098fcba32b55bcb79d5b1810f744210900a8ef12a4
7
+ data.tar.gz: f48491722ffeebb4503bc707040801e31ec8ca4d494e9f180e47250e60ddb644b28007ef4897454700d87168cfdbf5770b64c000ab08e55aa90e97b9a23f893f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-language_v1
2
2
 
3
+ ### v0.20.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20231209
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.19.0 (2023-08-06)
9
+
10
+ * Regenerated from discovery document revision 20230728
11
+
3
12
  ### v0.18.0 (2023-06-04)
4
13
 
5
14
  * Regenerated from discovery document revision 20230527
@@ -574,7 +574,7 @@ module Google
574
574
  # @return [Google::Apis::LanguageV1::Sentiment]
575
575
  attr_accessor :sentiment
576
576
 
577
- # Represents an output piece of text.
577
+ # Represents a text span in the input document.
578
578
  # Corresponds to the JSON property `text`
579
579
  # @return [Google::Apis::LanguageV1::TextSpan]
580
580
  attr_accessor :text
@@ -791,7 +791,7 @@ module Google
791
791
  # @return [Google::Apis::LanguageV1::Sentiment]
792
792
  attr_accessor :sentiment
793
793
 
794
- # Represents an output piece of text.
794
+ # Represents a text span in the input document.
795
795
  # Corresponds to the JSON property `text`
796
796
  # @return [Google::Apis::LanguageV1::TextSpan]
797
797
  attr_accessor :text
@@ -872,7 +872,7 @@ module Google
872
872
  end
873
873
  end
874
874
 
875
- # Represents an output piece of text.
875
+ # Represents a text span in the input document.
876
876
  class TextSpan
877
877
  include Google::Apis::Core::Hashable
878
878
 
@@ -882,7 +882,7 @@ module Google
882
882
  # @return [Fixnum]
883
883
  attr_accessor :begin_offset
884
884
 
885
- # The content of the output text.
885
+ # The content of the text span, which is a substring of the document.
886
886
  # Corresponds to the JSON property `content`
887
887
  # @return [String]
888
888
  attr_accessor :content
@@ -919,7 +919,7 @@ module Google
919
919
  # @return [Google::Apis::LanguageV1::PartOfSpeech]
920
920
  attr_accessor :part_of_speech
921
921
 
922
- # Represents an output piece of text.
922
+ # Represents a text span in the input document.
923
923
  # Corresponds to the JSON property `text`
924
924
  # @return [Google::Apis::LanguageV1::TextSpan]
925
925
  attr_accessor :text
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module LanguageV1
18
18
  # Version of the google-apis-language_v1 gem
19
- GEM_VERSION = "0.18.0"
19
+ GEM_VERSION = "0.20.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.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230527"
25
+ REVISION = "20231209"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,8 @@ module Google
34
34
  #
35
35
  # @see https://cloud.google.com/natural-language/
36
36
  class CloudNaturalLanguageService < Google::Apis::Core::BaseService
37
+ DEFAULT_ENDPOINT_TEMPLATE = "https://language.$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://language.googleapis.com/', '',
50
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
49
51
  client_name: 'google-apis-language_v1',
50
52
  client_version: Google::Apis::LanguageV1::GEM_VERSION)
51
53
  @batch_path = 'batch'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-language_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.20.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-06-04 00:00:00.000000000 Z
11
+ date: 2024-01-23 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-language_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-language_v1/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-language_v1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-language_v1
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.2
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Natural Language API V1