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 +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +2 -2
- data/lib/google/cloud/bigquery/reservation/v1/reservation_service/client.rb +20 -30
- data/lib/google/cloud/bigquery/reservation/v1/reservation_service/rest/client.rb +2066 -0
- data/lib/google/cloud/bigquery/reservation/v1/reservation_service/rest/service_stub.rb +1299 -0
- data/lib/google/cloud/bigquery/reservation/v1/reservation_service/rest.rb +68 -0
- data/lib/google/cloud/bigquery/reservation/v1/reservation_service.rb +7 -1
- data/lib/google/cloud/bigquery/reservation/v1/rest.rb +39 -0
- data/lib/google/cloud/bigquery/reservation/v1/version.rb +1 -1
- data/lib/google/cloud/bigquery/reservation/v1.rb +7 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +15 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fced309d84b0b3968da1ce270764f3534b96e3a7ea7f1cce0bd43a70b843b22
|
4
|
+
data.tar.gz: 425f3be26e9f9af5bd8871e30d985ebee53b52f6ff8913b69bf2bee9ffd76279
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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/
|
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
|
-
# #
|
370
|
-
#
|
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
|
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
|
-
# #
|
825
|
-
#
|
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
|
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
|
-
# #
|
1538
|
-
#
|
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
|
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
|
-
# #
|
1768
|
-
#
|
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
|
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
|
-
# #
|
1893
|
-
#
|
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
|
1887
|
+
# p item
|
1898
1888
|
# end
|
1899
1889
|
#
|
1900
1890
|
def search_all_assignments request, options = nil
|