google-cloud-language-v1beta2 0.5.0 → 0.7.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: 56f9e9b312a79ef923972f23ee2e8da6163dabf1a861c175489524a3fdfc29e2
4
- data.tar.gz: 913de7079429ec3610ffbe74f48b0d1d2cacd00dec8127b86d70288ceb91a9e8
3
+ metadata.gz: dddeea614becb799dc91e71459880ec7d5343fbeb5df4176f0c1ca85b06235f1
4
+ data.tar.gz: 580d69c72399fc603406c9152bac3ea5059f40258eec877396316842a2b306b6
5
5
  SHA512:
6
- metadata.gz: c2f78891180cee7dcd3cbfb0d940d0f559b9da743804c1f6cb19654568829f25811d84b443b9f849e5cbf8157a2b294ec18e5e8dff148023fd7d5b21dedb8532
7
- data.tar.gz: 473801d11693a76525321de423a2f603aa82f2e44a0ac0b108c556c3a23206d27390c683f9e148cf388bc7ef3a982c12ed7f62bc96066ae3cd55fc310fe41c1f
6
+ metadata.gz: 148a6f47ec09ff3171702bbfc01fd49b4b94e5b11bd27ae51f89e6d5c71514307bf1bf7f981059bdd2d1b25edf8f7ce4cc433d65aa6968e925d4a2e8e0737424
7
+ data.tar.gz: 59ca928bd7a1b20dfb7e810c1de895130f9272049ebfeed2a7f6dd5c8c0c73b7b981a82bed15e65a2a4dc446fede17c5d9733b5d54ef71083633048ce9e93525
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -46,7 +46,7 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
@@ -416,7 +416,7 @@ module Google
416
416
 
417
417
  ##
418
418
  # Analyzes the syntax of the text and provides sentence boundaries and
419
- # tokenization along with part-of-speech tags, dependency trees, and other
419
+ # tokenization along with part of speech tags, dependency trees, and other
420
420
  # properties.
421
421
  #
422
422
  # @overload analyze_syntax(request, options = nil)
@@ -508,13 +508,16 @@ module Google
508
508
  # @param options [::Gapic::CallOptions, ::Hash]
509
509
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
510
510
  #
511
- # @overload classify_text(document: nil)
511
+ # @overload classify_text(document: nil, classification_model_options: nil)
512
512
  # Pass arguments to `classify_text` via keyword arguments. Note that at
513
513
  # least one keyword argument is required. To specify no parameters, or to keep all
514
514
  # the default parameter values, pass an empty Hash as a request object (see above).
515
515
  #
516
516
  # @param document [::Google::Cloud::Language::V1beta2::Document, ::Hash]
517
517
  # Required. Input document.
518
+ # @param classification_model_options [::Google::Cloud::Language::V1beta2::ClassificationModelOptions, ::Hash]
519
+ # Model options to use for classification. Defaults to v1 options if not
520
+ # specified.
518
521
  #
519
522
  # @yield [response, operation] Access the result along with the RPC operation
520
523
  # @yieldparam response [::Google::Cloud::Language::V1beta2::ClassifyTextResponse]