google-cloud-bigquery-reservation-v1 0.1.0 → 0.1.1

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: 7661a1c0d01fd92c5e37e576dc59b8320e81d73d42a2c83b075fe562465ad887
4
- data.tar.gz: 8b505dc67dadc935cfd8dd82d4c81896d62838d815d2a07b2c56a786b7c1e85f
3
+ metadata.gz: 9fabdeeead5754c2d626b0f9f440ce62d737d5e05fcd8f93d33995a0ac9b1075
4
+ data.tar.gz: 52a903adda54625d935128df2ae02761a14d8ddbb004260b03a6e6eb143fd76f
5
5
  SHA512:
6
- metadata.gz: bb1b6c0eafcdd72659eadebbfff80bd4b9aefd9fe37a4c5c47ef5a9478500e6ecbcaa6926d12e636793bdd2d30f79b3a5ad84854e4480d73f6c2d00365fc0f6d
7
- data.tar.gz: b1f210981ea6d188d6613ebb3bad0d2b6dd8cd1ca1a9e5d8afb82eb1dbe4dcf78de8273d9ca3b5c1fd14cea913b620a474b18b98c903f3cd38b6ef6f5942f6f5
6
+ metadata.gz: 582e2677caf3c50f2217c81f4fc8e3bcad8f34ecb70fb020306672f9e793eaccbbe07fb4f2748e99555cff3b11de3ee7da75b8476b9387b1ca102b2fe7ff7021
7
+ data.tar.gz: 32db809e406499fe8373d9d4a2e5adce5c25177b2df270fb2f34c80c9ffc2f32d145ebc556e8da0693eb34b0a19fbccb10c4c72d46d7fca13c3b41b585abe188
@@ -87,7 +87,7 @@ module Google
87
87
  initial_delay: 0.1,
88
88
  max_delay: 60.0,
89
89
  multiplier: 1.3,
90
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
90
+ retry_codes: [4, 14]
91
91
  }
92
92
 
93
93
  default_config.rpcs.get_reservation.timeout = 60.0
@@ -95,7 +95,7 @@ module Google
95
95
  initial_delay: 0.1,
96
96
  max_delay: 60.0,
97
97
  multiplier: 1.3,
98
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
98
+ retry_codes: [4, 14]
99
99
  }
100
100
 
101
101
  default_config.rpcs.delete_reservation.timeout = 60.0
@@ -103,7 +103,7 @@ module Google
103
103
  initial_delay: 0.1,
104
104
  max_delay: 60.0,
105
105
  multiplier: 1.3,
106
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
106
+ retry_codes: [4, 14]
107
107
  }
108
108
 
109
109
  default_config.rpcs.update_reservation.timeout = 60.0
@@ -115,7 +115,7 @@ module Google
115
115
  initial_delay: 0.1,
116
116
  max_delay: 60.0,
117
117
  multiplier: 1.3,
118
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
118
+ retry_codes: [4, 14]
119
119
  }
120
120
 
121
121
  default_config.rpcs.get_capacity_commitment.timeout = 60.0
@@ -123,7 +123,7 @@ module Google
123
123
  initial_delay: 0.1,
124
124
  max_delay: 60.0,
125
125
  multiplier: 1.3,
126
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
126
+ retry_codes: [4, 14]
127
127
  }
128
128
 
129
129
  default_config.rpcs.delete_capacity_commitment.timeout = 60.0
@@ -131,7 +131,7 @@ module Google
131
131
  initial_delay: 0.1,
132
132
  max_delay: 60.0,
133
133
  multiplier: 1.3,
134
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
134
+ retry_codes: [4, 14]
135
135
  }
136
136
 
137
137
  default_config.rpcs.update_capacity_commitment.timeout = 60.0
@@ -147,7 +147,7 @@ module Google
147
147
  initial_delay: 0.1,
148
148
  max_delay: 60.0,
149
149
  multiplier: 1.3,
150
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
150
+ retry_codes: [4, 14]
151
151
  }
152
152
 
153
153
  default_config.rpcs.delete_assignment.timeout = 60.0
@@ -155,7 +155,7 @@ module Google
155
155
  initial_delay: 0.1,
156
156
  max_delay: 60.0,
157
157
  multiplier: 1.3,
158
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
158
+ retry_codes: [4, 14]
159
159
  }
160
160
 
161
161
  default_config.rpcs.search_assignments.timeout = 60.0
@@ -163,7 +163,7 @@ module Google
163
163
  initial_delay: 0.1,
164
164
  max_delay: 60.0,
165
165
  multiplier: 1.3,
166
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
166
+ retry_codes: [4, 14]
167
167
  }
168
168
 
169
169
  default_config.rpcs.move_assignment.timeout = 60.0
@@ -173,7 +173,7 @@ module Google
173
173
  initial_delay: 0.1,
174
174
  max_delay: 60.0,
175
175
  multiplier: 1.3,
176
- retry_codes: ["DEADLINE_EXCEEDED", "UNAVAILABLE"]
176
+ retry_codes: [4, 14]
177
177
  }
178
178
 
179
179
  default_config.rpcs.update_bi_reservation.timeout = 60.0
@@ -49,27 +49,27 @@ module Google
49
49
  self.service_name = 'google.cloud.bigquery.reservation.v1.ReservationService'
50
50
 
51
51
  # Creates a new reservation resource.
52
- rpc :CreateReservation, CreateReservationRequest, Reservation
52
+ rpc :CreateReservation, Google::Cloud::Bigquery::Reservation::V1::CreateReservationRequest, Google::Cloud::Bigquery::Reservation::V1::Reservation
53
53
  # Lists all the reservations for the project in the specified location.
54
- rpc :ListReservations, ListReservationsRequest, ListReservationsResponse
54
+ rpc :ListReservations, Google::Cloud::Bigquery::Reservation::V1::ListReservationsRequest, Google::Cloud::Bigquery::Reservation::V1::ListReservationsResponse
55
55
  # Returns information about the reservation.
56
- rpc :GetReservation, GetReservationRequest, Reservation
56
+ rpc :GetReservation, Google::Cloud::Bigquery::Reservation::V1::GetReservationRequest, Google::Cloud::Bigquery::Reservation::V1::Reservation
57
57
  # Deletes a reservation.
58
58
  # Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has
59
59
  # assignments.
60
- rpc :DeleteReservation, DeleteReservationRequest, Google::Protobuf::Empty
60
+ rpc :DeleteReservation, Google::Cloud::Bigquery::Reservation::V1::DeleteReservationRequest, Google::Protobuf::Empty
61
61
  # Updates an existing reservation resource.
62
- rpc :UpdateReservation, UpdateReservationRequest, Reservation
62
+ rpc :UpdateReservation, Google::Cloud::Bigquery::Reservation::V1::UpdateReservationRequest, Google::Cloud::Bigquery::Reservation::V1::Reservation
63
63
  # Creates a new capacity commitment resource.
64
- rpc :CreateCapacityCommitment, CreateCapacityCommitmentRequest, CapacityCommitment
64
+ rpc :CreateCapacityCommitment, Google::Cloud::Bigquery::Reservation::V1::CreateCapacityCommitmentRequest, Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment
65
65
  # Lists all the capacity commitments for the admin project.
66
- rpc :ListCapacityCommitments, ListCapacityCommitmentsRequest, ListCapacityCommitmentsResponse
66
+ rpc :ListCapacityCommitments, Google::Cloud::Bigquery::Reservation::V1::ListCapacityCommitmentsRequest, Google::Cloud::Bigquery::Reservation::V1::ListCapacityCommitmentsResponse
67
67
  # Returns information about the capacity commitment.
68
- rpc :GetCapacityCommitment, GetCapacityCommitmentRequest, CapacityCommitment
68
+ rpc :GetCapacityCommitment, Google::Cloud::Bigquery::Reservation::V1::GetCapacityCommitmentRequest, Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment
69
69
  # Deletes a capacity commitment. Attempting to delete capacity commitment
70
70
  # before its commitment_end_time will fail with the error code
71
71
  # `google.rpc.Code.FAILED_PRECONDITION`.
72
- rpc :DeleteCapacityCommitment, DeleteCapacityCommitmentRequest, Google::Protobuf::Empty
72
+ rpc :DeleteCapacityCommitment, Google::Cloud::Bigquery::Reservation::V1::DeleteCapacityCommitmentRequest, Google::Protobuf::Empty
73
73
  # Updates an existing capacity commitment.
74
74
  #
75
75
  # Only `plan` and `renewal_plan` fields can be updated.
@@ -77,7 +77,7 @@ module Google
77
77
  # Plan can only be changed to a plan of a longer commitment period.
78
78
  # Attempting to change to a plan with shorter commitment period will fail
79
79
  # with the error code `google.rpc.Code.FAILED_PRECONDITION`.
80
- rpc :UpdateCapacityCommitment, UpdateCapacityCommitmentRequest, CapacityCommitment
80
+ rpc :UpdateCapacityCommitment, Google::Cloud::Bigquery::Reservation::V1::UpdateCapacityCommitmentRequest, Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment
81
81
  # Splits capacity commitment to two commitments of the same plan and
82
82
  # `commitment_end_time`.
83
83
  #
@@ -86,7 +86,7 @@ module Google
86
86
  # For example, in order to downgrade from 10000 slots to 8000, you might
87
87
  # split a 10000 capacity commitment into commitments of 2000 and 8000. Then,
88
88
  # you would change the plan of the first one to `FLEX` and then delete it.
89
- rpc :SplitCapacityCommitment, SplitCapacityCommitmentRequest, SplitCapacityCommitmentResponse
89
+ rpc :SplitCapacityCommitment, Google::Cloud::Bigquery::Reservation::V1::SplitCapacityCommitmentRequest, Google::Cloud::Bigquery::Reservation::V1::SplitCapacityCommitmentResponse
90
90
  # Merges capacity commitments of the same plan into a single commitment.
91
91
  #
92
92
  # The resulting capacity commitment has the greater commitment_end_time
@@ -94,7 +94,7 @@ module Google
94
94
  #
95
95
  # Attempting to merge capacity commitments of different plan will fail
96
96
  # with the error code `google.rpc.Code.FAILED_PRECONDITION`.
97
- rpc :MergeCapacityCommitments, MergeCapacityCommitmentsRequest, CapacityCommitment
97
+ rpc :MergeCapacityCommitments, Google::Cloud::Bigquery::Reservation::V1::MergeCapacityCommitmentsRequest, Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment
98
98
  # Creates an assignment object which allows the given project to submit jobs
99
99
  # of a certain type using slots from the specified reservation.
100
100
  #
@@ -125,7 +125,7 @@ module Google
125
125
  #
126
126
  # Returns `google.rpc.Code.INVALID_ARGUMENT` when location of the assignment
127
127
  # does not match location of the reservation.
128
- rpc :CreateAssignment, CreateAssignmentRequest, Assignment
128
+ rpc :CreateAssignment, Google::Cloud::Bigquery::Reservation::V1::CreateAssignmentRequest, Google::Cloud::Bigquery::Reservation::V1::Assignment
129
129
  # Lists assignments.
130
130
  #
131
131
  # Only explicitly created assignments will be returned.
@@ -147,7 +147,7 @@ module Google
147
147
  # specified project and location will be listed.
148
148
  #
149
149
  # **Note** "-" cannot be used for projects nor locations.
150
- rpc :ListAssignments, ListAssignmentsRequest, ListAssignmentsResponse
150
+ rpc :ListAssignments, Google::Cloud::Bigquery::Reservation::V1::ListAssignmentsRequest, Google::Cloud::Bigquery::Reservation::V1::ListAssignmentsResponse
151
151
  # Deletes a assignment. No expansion will happen.
152
152
  #
153
153
  # Example:
@@ -163,7 +163,7 @@ module Google
163
163
  # affect the other assignment `<project1, res1>`. After said deletion,
164
164
  # queries from `project1` will still use `res1` while queries from
165
165
  # `project2` will switch to use on-demand mode.
166
- rpc :DeleteAssignment, DeleteAssignmentRequest, Google::Protobuf::Empty
166
+ rpc :DeleteAssignment, Google::Cloud::Bigquery::Reservation::V1::DeleteAssignmentRequest, Google::Protobuf::Empty
167
167
  # Looks up assignments for a specified resource for a particular region.
168
168
  # If the request is about a project:
169
169
  #
@@ -187,15 +187,15 @@ module Google
187
187
  #
188
188
  # **Note** "-" cannot be used for projects
189
189
  # nor locations.
190
- rpc :SearchAssignments, SearchAssignmentsRequest, SearchAssignmentsResponse
190
+ rpc :SearchAssignments, Google::Cloud::Bigquery::Reservation::V1::SearchAssignmentsRequest, Google::Cloud::Bigquery::Reservation::V1::SearchAssignmentsResponse
191
191
  # Moves an assignment under a new reservation.
192
192
  #
193
193
  # This differs from removing an existing assignment and recreating a new one
194
194
  # by providing a transactional change that ensures an assignee always has an
195
195
  # associated reservation.
196
- rpc :MoveAssignment, MoveAssignmentRequest, Assignment
196
+ rpc :MoveAssignment, Google::Cloud::Bigquery::Reservation::V1::MoveAssignmentRequest, Google::Cloud::Bigquery::Reservation::V1::Assignment
197
197
  # Retrieves a BI reservation.
198
- rpc :GetBiReservation, GetBiReservationRequest, BiReservation
198
+ rpc :GetBiReservation, Google::Cloud::Bigquery::Reservation::V1::GetBiReservationRequest, Google::Cloud::Bigquery::Reservation::V1::BiReservation
199
199
  # Updates a BI reservation.
200
200
  #
201
201
  # Only fields specified in the `field_mask` are updated.
@@ -204,7 +204,7 @@ module Google
204
204
  # In order to reserve BI capacity it needs to be updated to an amount
205
205
  # greater than 0. In order to release BI capacity reservation size
206
206
  # must be set to 0.
207
- rpc :UpdateBiReservation, UpdateBiReservationRequest, BiReservation
207
+ rpc :UpdateBiReservation, Google::Cloud::Bigquery::Reservation::V1::UpdateBiReservationRequest, Google::Cloud::Bigquery::Reservation::V1::BiReservation
208
208
  end
209
209
 
210
210
  Stub = Service.rpc_stub_class
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module Reservation
24
24
  module V1
25
- VERSION = "0.1.0"
25
+ VERSION = "0.1.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery-reservation-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-29 00:00:00.000000000 Z
11
+ date: 2020-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common