google-cloud-orchestration-airflow-service-v1 0.7.0 → 0.8.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: e4e08feb18d23b813ed7e17f65adae7a07ef62a39b1b556741053fc5d48024cf
4
- data.tar.gz: d9ed1bd8463e6afe9bcee2e1c2fa6cd76be028eb78256a92534c1404695b7726
3
+ metadata.gz: a83d1c7f7236b009e1afb6acdd1966ee048ab9ef08dd3dd96642084d69c73d3f
4
+ data.tar.gz: b18f02313e2eadd27b12ca3a4890a148f6d6645409b61d0a4dbd8d870e8eece1
5
5
  SHA512:
6
- metadata.gz: 86cf91c980c8447386defe3e0de27bd05de12b541cefec1b3762baab54458f90baa0f12b6078e9dd54d5d611150e3cd37ea7c311e26e59e47163997fab64f3b2
7
- data.tar.gz: e2669eabcb4b2a17b7dc3fbd7514f9111290456e6750624ecc4cbdee6a6e9750072c102f6bd0c4444a3fdd213a6494180be12f3a1c9ecb3e3658952bb78a73f5
6
+ metadata.gz: 895d3d84ad12e8e54c1ba3c778b8c498080ef160f4eb97dfd9bb6553f8a8c1fe07d3a5adac53bb176f251a7e8be04692e88ea57d283991b41a6898f014867bd5
7
+ data.tar.gz: cb5b3fa3ad08cbdbeeaa81fd98800b3903ce0c8c03ebb65cc279e6f6df17d48de5c52444617b841dbcfbe7ea97fc187c71c6a8f1b3ac6ccf93d7861062e3e2b4
@@ -146,7 +146,8 @@ module Google
146
146
  credentials: credentials,
147
147
  endpoint: @config.endpoint,
148
148
  channel_args: @config.channel_args,
149
- interceptors: @config.interceptors
149
+ interceptors: @config.interceptors,
150
+ channel_pool_config: @config.channel_pool
150
151
  )
151
152
  end
152
153
 
@@ -1546,6 +1547,14 @@ module Google
1546
1547
  end
1547
1548
  end
1548
1549
 
1550
+ ##
1551
+ # Configuration for the channel pool
1552
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
1553
+ #
1554
+ def channel_pool
1555
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
1556
+ end
1557
+
1549
1558
  ##
1550
1559
  # Configuration RPC class for the Environments API.
1551
1560
  #
@@ -95,7 +95,8 @@ module Google
95
95
  credentials: credentials,
96
96
  endpoint: @config.endpoint,
97
97
  channel_args: @config.channel_args,
98
- interceptors: @config.interceptors
98
+ interceptors: @config.interceptors,
99
+ channel_pool_config: @config.channel_pool
99
100
  )
100
101
 
101
102
  # Used by an LRO wrapper for some methods of this service
@@ -703,6 +704,14 @@ module Google
703
704
  end
704
705
  end
705
706
 
707
+ ##
708
+ # Configuration for the channel pool
709
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
710
+ #
711
+ def channel_pool
712
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
713
+ end
714
+
706
715
  ##
707
716
  # Configuration RPC class for the Operations API.
708
717
  #
@@ -180,6 +180,29 @@ module Google
180
180
  # @return [::Gapic::Operation]
181
181
  #
182
182
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
183
+ #
184
+ # @example Basic example
185
+ # require "google/cloud/orchestration/airflow/service/v1"
186
+ #
187
+ # # Create a client object. The client can be reused for multiple calls.
188
+ # client = Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Rest::Client.new
189
+ #
190
+ # # Create a request. To set request fields, pass in keyword arguments.
191
+ # request = Google::Cloud::Orchestration::Airflow::Service::V1::CreateEnvironmentRequest.new
192
+ #
193
+ # # Call the create_environment method.
194
+ # result = client.create_environment request
195
+ #
196
+ # # The returned object is of type Gapic::Operation. You can use it to
197
+ # # check the status of an operation, cancel it, or wait for results.
198
+ # # Here is how to wait for a response.
199
+ # result.wait_until_done! timeout: 60
200
+ # if result.response?
201
+ # p result.response
202
+ # else
203
+ # puts "No response received."
204
+ # end
205
+ #
183
206
  def create_environment request, options = nil
184
207
  raise ::ArgumentError, "request must be provided" if request.nil?
185
208
 
@@ -244,6 +267,22 @@ module Google
244
267
  # @return [::Google::Cloud::Orchestration::Airflow::Service::V1::Environment]
245
268
  #
246
269
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
270
+ #
271
+ # @example Basic example
272
+ # require "google/cloud/orchestration/airflow/service/v1"
273
+ #
274
+ # # Create a client object. The client can be reused for multiple calls.
275
+ # client = Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Rest::Client.new
276
+ #
277
+ # # Create a request. To set request fields, pass in keyword arguments.
278
+ # request = Google::Cloud::Orchestration::Airflow::Service::V1::GetEnvironmentRequest.new
279
+ #
280
+ # # Call the get_environment method.
281
+ # result = client.get_environment request
282
+ #
283
+ # # The returned object is of type Google::Cloud::Orchestration::Airflow::Service::V1::Environment.
284
+ # p result
285
+ #
247
286
  def get_environment request, options = nil
248
287
  raise ::ArgumentError, "request must be provided" if request.nil?
249
288
 
@@ -311,6 +350,26 @@ module Google
311
350
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Orchestration::Airflow::Service::V1::Environment>]
312
351
  #
313
352
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
353
+ #
354
+ # @example Basic example
355
+ # require "google/cloud/orchestration/airflow/service/v1"
356
+ #
357
+ # # Create a client object. The client can be reused for multiple calls.
358
+ # client = Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Rest::Client.new
359
+ #
360
+ # # Create a request. To set request fields, pass in keyword arguments.
361
+ # request = Google::Cloud::Orchestration::Airflow::Service::V1::ListEnvironmentsRequest.new
362
+ #
363
+ # # Call the list_environments method.
364
+ # result = client.list_environments request
365
+ #
366
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
367
+ # # over elements, and API calls will be issued to fetch pages as needed.
368
+ # result.each do |item|
369
+ # # Each element is of type ::Google::Cloud::Orchestration::Airflow::Service::V1::Environment.
370
+ # p item
371
+ # end
372
+ #
314
373
  def list_environments request, options = nil
315
374
  raise ::ArgumentError, "request must be provided" if request.nil?
316
375
 
@@ -502,6 +561,29 @@ module Google
502
561
  # @return [::Gapic::Operation]
503
562
  #
504
563
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
564
+ #
565
+ # @example Basic example
566
+ # require "google/cloud/orchestration/airflow/service/v1"
567
+ #
568
+ # # Create a client object. The client can be reused for multiple calls.
569
+ # client = Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Rest::Client.new
570
+ #
571
+ # # Create a request. To set request fields, pass in keyword arguments.
572
+ # request = Google::Cloud::Orchestration::Airflow::Service::V1::UpdateEnvironmentRequest.new
573
+ #
574
+ # # Call the update_environment method.
575
+ # result = client.update_environment request
576
+ #
577
+ # # The returned object is of type Gapic::Operation. You can use it to
578
+ # # check the status of an operation, cancel it, or wait for results.
579
+ # # Here is how to wait for a response.
580
+ # result.wait_until_done! timeout: 60
581
+ # if result.response?
582
+ # p result.response
583
+ # else
584
+ # puts "No response received."
585
+ # end
586
+ #
505
587
  def update_environment request, options = nil
506
588
  raise ::ArgumentError, "request must be provided" if request.nil?
507
589
 
@@ -566,6 +648,29 @@ module Google
566
648
  # @return [::Gapic::Operation]
567
649
  #
568
650
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
651
+ #
652
+ # @example Basic example
653
+ # require "google/cloud/orchestration/airflow/service/v1"
654
+ #
655
+ # # Create a client object. The client can be reused for multiple calls.
656
+ # client = Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Rest::Client.new
657
+ #
658
+ # # Create a request. To set request fields, pass in keyword arguments.
659
+ # request = Google::Cloud::Orchestration::Airflow::Service::V1::DeleteEnvironmentRequest.new
660
+ #
661
+ # # Call the delete_environment method.
662
+ # result = client.delete_environment request
663
+ #
664
+ # # The returned object is of type Gapic::Operation. You can use it to
665
+ # # check the status of an operation, cancel it, or wait for results.
666
+ # # Here is how to wait for a response.
667
+ # result.wait_until_done! timeout: 60
668
+ # if result.response?
669
+ # p result.response
670
+ # else
671
+ # puts "No response received."
672
+ # end
673
+ #
569
674
  def delete_environment request, options = nil
570
675
  raise ::ArgumentError, "request must be provided" if request.nil?
571
676
 
@@ -639,6 +744,22 @@ module Google
639
744
  # @return [::Google::Cloud::Orchestration::Airflow::Service::V1::ExecuteAirflowCommandResponse]
640
745
  #
641
746
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
747
+ #
748
+ # @example Basic example
749
+ # require "google/cloud/orchestration/airflow/service/v1"
750
+ #
751
+ # # Create a client object. The client can be reused for multiple calls.
752
+ # client = Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Rest::Client.new
753
+ #
754
+ # # Create a request. To set request fields, pass in keyword arguments.
755
+ # request = Google::Cloud::Orchestration::Airflow::Service::V1::ExecuteAirflowCommandRequest.new
756
+ #
757
+ # # Call the execute_airflow_command method.
758
+ # result = client.execute_airflow_command request
759
+ #
760
+ # # The returned object is of type Google::Cloud::Orchestration::Airflow::Service::V1::ExecuteAirflowCommandResponse.
761
+ # p result
762
+ #
642
763
  def execute_airflow_command request, options = nil
643
764
  raise ::ArgumentError, "request must be provided" if request.nil?
644
765
 
@@ -711,6 +832,22 @@ module Google
711
832
  # @return [::Google::Cloud::Orchestration::Airflow::Service::V1::StopAirflowCommandResponse]
712
833
  #
713
834
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
835
+ #
836
+ # @example Basic example
837
+ # require "google/cloud/orchestration/airflow/service/v1"
838
+ #
839
+ # # Create a client object. The client can be reused for multiple calls.
840
+ # client = Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Rest::Client.new
841
+ #
842
+ # # Create a request. To set request fields, pass in keyword arguments.
843
+ # request = Google::Cloud::Orchestration::Airflow::Service::V1::StopAirflowCommandRequest.new
844
+ #
845
+ # # Call the stop_airflow_command method.
846
+ # result = client.stop_airflow_command request
847
+ #
848
+ # # The returned object is of type Google::Cloud::Orchestration::Airflow::Service::V1::StopAirflowCommandResponse.
849
+ # p result
850
+ #
714
851
  def stop_airflow_command request, options = nil
715
852
  raise ::ArgumentError, "request must be provided" if request.nil?
716
853
 
@@ -782,6 +919,22 @@ module Google
782
919
  # @return [::Google::Cloud::Orchestration::Airflow::Service::V1::PollAirflowCommandResponse]
783
920
  #
784
921
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
922
+ #
923
+ # @example Basic example
924
+ # require "google/cloud/orchestration/airflow/service/v1"
925
+ #
926
+ # # Create a client object. The client can be reused for multiple calls.
927
+ # client = Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Rest::Client.new
928
+ #
929
+ # # Create a request. To set request fields, pass in keyword arguments.
930
+ # request = Google::Cloud::Orchestration::Airflow::Service::V1::PollAirflowCommandRequest.new
931
+ #
932
+ # # Call the poll_airflow_command method.
933
+ # result = client.poll_airflow_command request
934
+ #
935
+ # # The returned object is of type Google::Cloud::Orchestration::Airflow::Service::V1::PollAirflowCommandResponse.
936
+ # p result
937
+ #
785
938
  def poll_airflow_command request, options = nil
786
939
  raise ::ArgumentError, "request must be provided" if request.nil?
787
940
 
@@ -851,6 +1004,29 @@ module Google
851
1004
  # @return [::Gapic::Operation]
852
1005
  #
853
1006
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1007
+ #
1008
+ # @example Basic example
1009
+ # require "google/cloud/orchestration/airflow/service/v1"
1010
+ #
1011
+ # # Create a client object. The client can be reused for multiple calls.
1012
+ # client = Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Rest::Client.new
1013
+ #
1014
+ # # Create a request. To set request fields, pass in keyword arguments.
1015
+ # request = Google::Cloud::Orchestration::Airflow::Service::V1::SaveSnapshotRequest.new
1016
+ #
1017
+ # # Call the save_snapshot method.
1018
+ # result = client.save_snapshot request
1019
+ #
1020
+ # # The returned object is of type Gapic::Operation. You can use it to
1021
+ # # check the status of an operation, cancel it, or wait for results.
1022
+ # # Here is how to wait for a response.
1023
+ # result.wait_until_done! timeout: 60
1024
+ # if result.response?
1025
+ # p result.response
1026
+ # else
1027
+ # puts "No response received."
1028
+ # end
1029
+ #
854
1030
  def save_snapshot request, options = nil
855
1031
  raise ::ArgumentError, "request must be provided" if request.nil?
856
1032
 
@@ -933,6 +1109,29 @@ module Google
933
1109
  # @return [::Gapic::Operation]
934
1110
  #
935
1111
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1112
+ #
1113
+ # @example Basic example
1114
+ # require "google/cloud/orchestration/airflow/service/v1"
1115
+ #
1116
+ # # Create a client object. The client can be reused for multiple calls.
1117
+ # client = Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Rest::Client.new
1118
+ #
1119
+ # # Create a request. To set request fields, pass in keyword arguments.
1120
+ # request = Google::Cloud::Orchestration::Airflow::Service::V1::LoadSnapshotRequest.new
1121
+ #
1122
+ # # Call the load_snapshot method.
1123
+ # result = client.load_snapshot request
1124
+ #
1125
+ # # The returned object is of type Gapic::Operation. You can use it to
1126
+ # # check the status of an operation, cancel it, or wait for results.
1127
+ # # Here is how to wait for a response.
1128
+ # result.wait_until_done! timeout: 60
1129
+ # if result.response?
1130
+ # p result.response
1131
+ # else
1132
+ # puts "No response received."
1133
+ # end
1134
+ #
936
1135
  def load_snapshot request, options = nil
937
1136
  raise ::ArgumentError, "request must be provided" if request.nil?
938
1137
 
@@ -997,6 +1196,29 @@ module Google
997
1196
  # @return [::Gapic::Operation]
998
1197
  #
999
1198
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1199
+ #
1200
+ # @example Basic example
1201
+ # require "google/cloud/orchestration/airflow/service/v1"
1202
+ #
1203
+ # # Create a client object. The client can be reused for multiple calls.
1204
+ # client = Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Rest::Client.new
1205
+ #
1206
+ # # Create a request. To set request fields, pass in keyword arguments.
1207
+ # request = Google::Cloud::Orchestration::Airflow::Service::V1::DatabaseFailoverRequest.new
1208
+ #
1209
+ # # Call the database_failover method.
1210
+ # result = client.database_failover request
1211
+ #
1212
+ # # The returned object is of type Gapic::Operation. You can use it to
1213
+ # # check the status of an operation, cancel it, or wait for results.
1214
+ # # Here is how to wait for a response.
1215
+ # result.wait_until_done! timeout: 60
1216
+ # if result.response?
1217
+ # p result.response
1218
+ # else
1219
+ # puts "No response received."
1220
+ # end
1221
+ #
1000
1222
  def database_failover request, options = nil
1001
1223
  raise ::ArgumentError, "request must be provided" if request.nil?
1002
1224
 
@@ -1061,6 +1283,22 @@ module Google
1061
1283
  # @return [::Google::Cloud::Orchestration::Airflow::Service::V1::FetchDatabasePropertiesResponse]
1062
1284
  #
1063
1285
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1286
+ #
1287
+ # @example Basic example
1288
+ # require "google/cloud/orchestration/airflow/service/v1"
1289
+ #
1290
+ # # Create a client object. The client can be reused for multiple calls.
1291
+ # client = Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Rest::Client.new
1292
+ #
1293
+ # # Create a request. To set request fields, pass in keyword arguments.
1294
+ # request = Google::Cloud::Orchestration::Airflow::Service::V1::FetchDatabasePropertiesRequest.new
1295
+ #
1296
+ # # Call the fetch_database_properties method.
1297
+ # result = client.fetch_database_properties request
1298
+ #
1299
+ # # The returned object is of type Google::Cloud::Orchestration::Airflow::Service::V1::FetchDatabasePropertiesResponse.
1300
+ # p result
1301
+ #
1064
1302
  def fetch_database_properties request, options = nil
1065
1303
  raise ::ArgumentError, "request must be provided" if request.nil?
1066
1304
 
@@ -138,6 +138,26 @@ module Google
138
138
  # @return [::Gapic::Operation]
139
139
  #
140
140
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
141
+ #
142
+ # @example Basic example
143
+ # require "google/longrunning"
144
+ #
145
+ # # Create a client object. The client can be reused for multiple calls.
146
+ # client = Google::Longrunning::Operations::Rest::Client.new
147
+ #
148
+ # # Create a request. To set request fields, pass in keyword arguments.
149
+ # request = Google::Longrunning::ListOperationsRequest.new
150
+ #
151
+ # # Call the list_operations method.
152
+ # result = client.list_operations request
153
+ #
154
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
155
+ # # over elements, and API calls will be issued to fetch pages as needed.
156
+ # result.each do |item|
157
+ # # Each element is of type ::Google::Longrunning::Operation.
158
+ # p item
159
+ # end
160
+ #
141
161
  def list_operations request, options = nil
142
162
  raise ::ArgumentError, "request must be provided" if request.nil?
143
163
 
@@ -203,6 +223,29 @@ module Google
203
223
  # @return [::Gapic::Operation]
204
224
  #
205
225
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
226
+ #
227
+ # @example Basic example
228
+ # require "google/longrunning"
229
+ #
230
+ # # Create a client object. The client can be reused for multiple calls.
231
+ # client = Google::Longrunning::Operations::Rest::Client.new
232
+ #
233
+ # # Create a request. To set request fields, pass in keyword arguments.
234
+ # request = Google::Longrunning::GetOperationRequest.new
235
+ #
236
+ # # Call the get_operation method.
237
+ # result = client.get_operation request
238
+ #
239
+ # # The returned object is of type Gapic::Operation. You can use it to
240
+ # # check the status of an operation, cancel it, or wait for results.
241
+ # # Here is how to wait for a response.
242
+ # result.wait_until_done! timeout: 60
243
+ # if result.response?
244
+ # p result.response
245
+ # else
246
+ # puts "No response received."
247
+ # end
248
+ #
206
249
  def get_operation request, options = nil
207
250
  raise ::ArgumentError, "request must be provided" if request.nil?
208
251
 
@@ -269,6 +312,22 @@ module Google
269
312
  # @return [::Google::Protobuf::Empty]
270
313
  #
271
314
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
315
+ #
316
+ # @example Basic example
317
+ # require "google/longrunning"
318
+ #
319
+ # # Create a client object. The client can be reused for multiple calls.
320
+ # client = Google::Longrunning::Operations::Rest::Client.new
321
+ #
322
+ # # Create a request. To set request fields, pass in keyword arguments.
323
+ # request = Google::Longrunning::DeleteOperationRequest.new
324
+ #
325
+ # # Call the delete_operation method.
326
+ # result = client.delete_operation request
327
+ #
328
+ # # The returned object is of type Google::Protobuf::Empty.
329
+ # p result
330
+ #
272
331
  def delete_operation request, options = nil
273
332
  raise ::ArgumentError, "request must be provided" if request.nil?
274
333
 
@@ -340,6 +399,22 @@ module Google
340
399
  # @return [::Google::Protobuf::Empty]
341
400
  #
342
401
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
402
+ #
403
+ # @example Basic example
404
+ # require "google/longrunning"
405
+ #
406
+ # # Create a client object. The client can be reused for multiple calls.
407
+ # client = Google::Longrunning::Operations::Rest::Client.new
408
+ #
409
+ # # Create a request. To set request fields, pass in keyword arguments.
410
+ # request = Google::Longrunning::CancelOperationRequest.new
411
+ #
412
+ # # Call the cancel_operation method.
413
+ # result = client.cancel_operation request
414
+ #
415
+ # # The returned object is of type Google::Protobuf::Empty.
416
+ # p result
417
+ #
343
418
  def cancel_operation request, options = nil
344
419
  raise ::ArgumentError, "request must be provided" if request.nil?
345
420
 
@@ -138,7 +138,8 @@ module Google
138
138
  credentials: credentials,
139
139
  endpoint: @config.endpoint,
140
140
  channel_args: @config.channel_args,
141
- interceptors: @config.interceptors
141
+ interceptors: @config.interceptors,
142
+ channel_pool_config: @config.channel_pool
142
143
  )
143
144
  end
144
145
 
@@ -360,6 +361,14 @@ module Google
360
361
  end
361
362
  end
362
363
 
364
+ ##
365
+ # Configuration for the channel pool
366
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
367
+ #
368
+ def channel_pool
369
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
370
+ end
371
+
363
372
  ##
364
373
  # Configuration RPC class for the ImageVersions API.
365
374
  #
@@ -169,6 +169,26 @@ module Google
169
169
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Orchestration::Airflow::Service::V1::ImageVersion>]
170
170
  #
171
171
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
172
+ #
173
+ # @example Basic example
174
+ # require "google/cloud/orchestration/airflow/service/v1"
175
+ #
176
+ # # Create a client object. The client can be reused for multiple calls.
177
+ # client = Google::Cloud::Orchestration::Airflow::Service::V1::ImageVersions::Rest::Client.new
178
+ #
179
+ # # Create a request. To set request fields, pass in keyword arguments.
180
+ # request = Google::Cloud::Orchestration::Airflow::Service::V1::ListImageVersionsRequest.new
181
+ #
182
+ # # Call the list_image_versions method.
183
+ # result = client.list_image_versions request
184
+ #
185
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
186
+ # # over elements, and API calls will be issued to fetch pages as needed.
187
+ # result.each do |item|
188
+ # # Each element is of type ::Google::Cloud::Orchestration::Airflow::Service::V1::ImageVersion.
189
+ # p item
190
+ # end
191
+ #
172
192
  def list_image_versions request, options = nil
173
193
  raise ::ArgumentError, "request must be provided" if request.nil?
174
194
 
@@ -23,7 +23,7 @@ module Google
23
23
  module Airflow
24
24
  module Service
25
25
  module V1
26
- VERSION = "0.7.0"
26
+ VERSION = "0.8.0"
27
27
  end
28
28
  end
29
29
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-orchestration-airflow-service-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-16 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.1
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -231,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
231
231
  - !ruby/object:Gem::Version
232
232
  version: '0'
233
233
  requirements: []
234
- rubygems_version: 3.4.2
234
+ rubygems_version: 3.4.19
235
235
  signing_key:
236
236
  specification_version: 4
237
237
  summary: Manages Apache Airflow environments on Google Cloud Platform.