google-cloud-assured_workloads-v1beta1 0.12.0 → 0.14.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: e5a52c3887c6436e24ce7535b92e5d6274891ed1651721c048c7e7bc33bcf51f
4
- data.tar.gz: 6f9960e32cfee95043570df17e6834452198965b0419a578007962afe6e71d03
3
+ metadata.gz: 420619ba63e75c57346b0d5c7df5248730eefaa435e2decbad5d8a0c7f79f0ef
4
+ data.tar.gz: 6404ae2320dc116bc51b0dc4a951c898277a8307a28feae0f7402d4fedae4474
5
5
  SHA512:
6
- metadata.gz: 2e3feda38888728040afda80c6cace5946e43ccc0218434a3296516e5bded4f03c2a87b50792a197b1808244251346ae07b759533d020b08f611984109ad06ce
7
- data.tar.gz: 9f9c2640ca0790092fadebe5a7e8a7ed154ae5536c27827287148935e3f9a5d259a3de09901704696507903ef71483a3e5bf7e62f414a14ffa4bd384e8721c92
6
+ metadata.gz: ea0b076dc3f9d64392ae1aa0ca7d1fac2825502e18538fbca7af6585b4e59cc0b8c8d3cdf021dc42fa29c462fc410072a85ed272e217b99d7bec63f33a4e96ba
7
+ data.tar.gz: '069a8e5361c8516cc5592b58d2e555ac6543be7a30b58fadddfc8e02283a8c846b0deece61b72755a6040676e5d4736f0fe7c235421b6447a88875a4449e5eab'
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.
@@ -230,14 +230,14 @@ module Google
230
230
  # # Call the create_workload method.
231
231
  # result = client.create_workload request
232
232
  #
233
- # # The returned object is of type Gapic::Operation. You can use this
234
- # # object to check the status of an operation, cancel it, or wait
235
- # # for results. Here is how to block until completion:
233
+ # # The returned object is of type Gapic::Operation. You can use it to
234
+ # # check the status of an operation, cancel it, or wait for results.
235
+ # # Here is how to wait for a response.
236
236
  # result.wait_until_done! timeout: 60
237
237
  # if result.response?
238
238
  # p result.response
239
239
  # else
240
- # puts "Error!"
240
+ # puts "No response received."
241
241
  # end
242
242
  #
243
243
  def create_workload request, options = nil
@@ -640,8 +640,8 @@ module Google
640
640
  end
641
641
 
642
642
  ##
643
- # A request to analyze a hypothetical move of a source project or
644
- # project-based workload to a target (destination) folder-based workload.
643
+ # Analyze if the source Assured Workloads can be moved to the target Assured
644
+ # Workload
645
645
  #
646
646
  # @overload analyze_workload_move(request, options = nil)
647
647
  # Pass arguments to `analyze_workload_move` via a request object, either of type
@@ -786,13 +786,11 @@ module Google
786
786
  # # Call the list_workloads method.
787
787
  # result = client.list_workloads request
788
788
  #
789
- # # The returned object is of type Gapic::PagedEnumerable. You can
790
- # # iterate over all elements by calling #each, and the enumerable
791
- # # will lazily make API calls to fetch subsequent pages. Other
792
- # # methods are also available for managing paging directly.
793
- # result.each do |response|
789
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
790
+ # # over elements, and API calls will be issued to fetch pages as needed.
791
+ # result.each do |item|
794
792
  # # Each element is of type ::Google::Cloud::AssuredWorkloads::V1beta1::Workload.
795
- # p response
793
+ # p item
796
794
  # end
797
795
  #
798
796
  def list_workloads request, options = nil
@@ -158,13 +158,11 @@ module Google
158
158
  # # Call the list_operations method.
159
159
  # result = client.list_operations request
160
160
  #
161
- # # The returned object is of type Gapic::PagedEnumerable. You can
162
- # # iterate over all elements by calling #each, and the enumerable
163
- # # will lazily make API calls to fetch subsequent pages. Other
164
- # # methods are also available for managing paging directly.
165
- # result.each do |response|
161
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
162
+ # # over elements, and API calls will be issued to fetch pages as needed.
163
+ # result.each do |item|
166
164
  # # Each element is of type ::Google::Longrunning::Operation.
167
- # p response
165
+ # p item
168
166
  # end
169
167
  #
170
168
  def list_operations request, options = nil
@@ -253,14 +251,14 @@ module Google
253
251
  # # Call the get_operation method.
254
252
  # result = client.get_operation request
255
253
  #
256
- # # The returned object is of type Gapic::Operation. You can use this
257
- # # object to check the status of an operation, cancel it, or wait
258
- # # for results. Here is how to block until completion:
254
+ # # The returned object is of type Gapic::Operation. You can use it to
255
+ # # check the status of an operation, cancel it, or wait for results.
256
+ # # Here is how to wait for a response.
259
257
  # result.wait_until_done! timeout: 60
260
258
  # if result.response?
261
259
  # p result.response
262
260
  # else
263
- # puts "Error!"
261
+ # puts "No response received."
264
262
  # end
265
263
  #
266
264
  def get_operation request, options = nil
@@ -540,14 +538,14 @@ module Google
540
538
  # # Call the wait_operation method.
541
539
  # result = client.wait_operation request
542
540
  #
543
- # # The returned object is of type Gapic::Operation. You can use this
544
- # # object to check the status of an operation, cancel it, or wait
545
- # # for results. Here is how to block until completion:
541
+ # # The returned object is of type Gapic::Operation. You can use it to
542
+ # # check the status of an operation, cancel it, or wait for results.
543
+ # # Here is how to wait for a response.
546
544
  # result.wait_until_done! timeout: 60
547
545
  # if result.response?
548
546
  # p result.response
549
547
  # else
550
- # puts "Error!"
548
+ # puts "No response received."
551
549
  # end
552
550
  #
553
551
  def wait_operation request, options = nil