google-cloud-bigquery-reservation-v1 0.6.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: deb045652e66e9f6507632bec7b77046c95f32c855d3dbb50d823bc2674443a4
4
- data.tar.gz: 6dee11cab19a9a5cc930554d540333ac5609850d4248e5326f9e3dbf1f08cf1d
3
+ metadata.gz: 2fced309d84b0b3968da1ce270764f3534b96e3a7ea7f1cce0bd43a70b843b22
4
+ data.tar.gz: 425f3be26e9f9af5bd8871e30d985ebee53b52f6ff8913b69bf2bee9ffd76279
5
5
  SHA512:
6
- metadata.gz: 739570aca307714d51967c9c30f43828cae68b7030b03e3091c94fb8f356d3b9c050a90132f6b423f5278aeb4a51024914057c97d4efcaf9cbea60e5fe6c5f83
7
- data.tar.gz: 59833edab229bfa222d2d48a503f0b25771b0bd8638b3dd6b51b5f92c9673c40fbc6a1c0398cd71e5ea4787816d25877542b7f4e7eb9037c1269782201d1334a
6
+ metadata.gz: 8ff4feb5aa7ccb0b060d29577fe0fa37562fb14808b93b45be061428356b5b73cbab73f7fa83280e1b2564bf76f1559083522953bb47d6837beae50a8a8d4f9c
7
+ data.tar.gz: '0986ed11755dae29f746c1bc44087facef37731c875159827caadff9244910346a45b62c7d8777cd78d707ae00f9a6bf658a47c76cef9f1672c3809ad1a462fa'
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
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the BigQuery Reservation V1 API
2
2
 
3
- API Client library for the BigQuery Reservation V1 API
3
+ A service to modify your BigQuery flat-rate reservations.
4
4
 
5
5
  The BigQuery Reservation API provides the mechanisms by which enterprise users can provision and manage dedicated resources such as slots and BigQuery BI Engine memory allocations.
6
6
 
@@ -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.
@@ -365,13 +365,11 @@ module Google
365
365
  # # Call the list_reservations method.
366
366
  # result = client.list_reservations request
367
367
  #
368
- # # The returned object is of type Gapic::PagedEnumerable. You can
369
- # # iterate over all elements by calling #each, and the enumerable
370
- # # will lazily make API calls to fetch subsequent pages. Other
371
- # # methods are also available for managing paging directly.
372
- # result.each do |response|
368
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
369
+ # # over elements, and API calls will be issued to fetch pages as needed.
370
+ # result.each do |item|
373
371
  # # Each element is of type ::Google::Cloud::Bigquery::Reservation::V1::Reservation.
374
- # p response
372
+ # p item
375
373
  # end
376
374
  #
377
375
  def list_reservations request, options = nil
@@ -820,13 +818,11 @@ module Google
820
818
  # # Call the list_capacity_commitments method.
821
819
  # result = client.list_capacity_commitments request
822
820
  #
823
- # # The returned object is of type Gapic::PagedEnumerable. You can
824
- # # iterate over all elements by calling #each, and the enumerable
825
- # # will lazily make API calls to fetch subsequent pages. Other
826
- # # methods are also available for managing paging directly.
827
- # result.each do |response|
821
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
822
+ # # over elements, and API calls will be issued to fetch pages as needed.
823
+ # result.each do |item|
828
824
  # # Each element is of type ::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment.
829
- # p response
825
+ # p item
830
826
  # end
831
827
  #
832
828
  def list_capacity_commitments request, options = nil
@@ -1533,13 +1529,11 @@ module Google
1533
1529
  # # Call the list_assignments method.
1534
1530
  # result = client.list_assignments request
1535
1531
  #
1536
- # # The returned object is of type Gapic::PagedEnumerable. You can
1537
- # # iterate over all elements by calling #each, and the enumerable
1538
- # # will lazily make API calls to fetch subsequent pages. Other
1539
- # # methods are also available for managing paging directly.
1540
- # result.each do |response|
1532
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1533
+ # # over elements, and API calls will be issued to fetch pages as needed.
1534
+ # result.each do |item|
1541
1535
  # # Each element is of type ::Google::Cloud::Bigquery::Reservation::V1::Assignment.
1542
- # p response
1536
+ # p item
1543
1537
  # end
1544
1538
  #
1545
1539
  def list_assignments request, options = nil
@@ -1763,13 +1757,11 @@ module Google
1763
1757
  # # Call the search_assignments method.
1764
1758
  # result = client.search_assignments request
1765
1759
  #
1766
- # # The returned object is of type Gapic::PagedEnumerable. You can
1767
- # # iterate over all elements by calling #each, and the enumerable
1768
- # # will lazily make API calls to fetch subsequent pages. Other
1769
- # # methods are also available for managing paging directly.
1770
- # result.each do |response|
1760
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1761
+ # # over elements, and API calls will be issued to fetch pages as needed.
1762
+ # result.each do |item|
1771
1763
  # # Each element is of type ::Google::Cloud::Bigquery::Reservation::V1::Assignment.
1772
- # p response
1764
+ # p item
1773
1765
  # end
1774
1766
  #
1775
1767
  def search_assignments request, options = nil
@@ -1888,13 +1880,11 @@ module Google
1888
1880
  # # Call the search_all_assignments method.
1889
1881
  # result = client.search_all_assignments request
1890
1882
  #
1891
- # # The returned object is of type Gapic::PagedEnumerable. You can
1892
- # # iterate over all elements by calling #each, and the enumerable
1893
- # # will lazily make API calls to fetch subsequent pages. Other
1894
- # # methods are also available for managing paging directly.
1895
- # result.each do |response|
1883
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1884
+ # # over elements, and API calls will be issued to fetch pages as needed.
1885
+ # result.each do |item|
1896
1886
  # # Each element is of type ::Google::Cloud::Bigquery::Reservation::V1::Assignment.
1897
- # p response
1887
+ # p item
1898
1888
  # end
1899
1889
  #
1900
1890
  def search_all_assignments request, options = nil