Class: Google::Cloud::Deploy::V1::CloudDeploy::Rest::ServiceStub
- Inherits:
-
Object
- Object
- Google::Cloud::Deploy::V1::CloudDeploy::Rest::ServiceStub
- Defined in:
- lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb
Overview
REST service stub for the CloudDeploy service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Instance Method Summary collapse
-
#abandon_release(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::AbandonReleaseResponse
Baseline implementation for the abandon_release REST call.
-
#advance_rollout(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::AdvanceRolloutResponse
Baseline implementation for the advance_rollout REST call.
-
#approve_rollout(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ApproveRolloutResponse
Baseline implementation for the approve_rollout REST call.
-
#cancel_automation_run(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::CancelAutomationRunResponse
Baseline implementation for the cancel_automation_run REST call.
-
#cancel_rollout(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::CancelRolloutResponse
Baseline implementation for the cancel_rollout REST call.
-
#create_automation(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the create_automation REST call.
-
#create_custom_target_type(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the create_custom_target_type REST call.
-
#create_delivery_pipeline(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the create_delivery_pipeline REST call.
-
#create_release(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the create_release REST call.
-
#create_rollout(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the create_rollout REST call.
-
#create_target(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the create_target REST call.
-
#delete_automation(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the delete_automation REST call.
-
#delete_custom_target_type(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the delete_custom_target_type REST call.
-
#delete_delivery_pipeline(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the delete_delivery_pipeline REST call.
-
#delete_target(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the delete_target REST call.
-
#get_automation(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::Automation
Baseline implementation for the get_automation REST call.
-
#get_automation_run(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::AutomationRun
Baseline implementation for the get_automation_run REST call.
-
#get_config(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::Config
Baseline implementation for the get_config REST call.
-
#get_custom_target_type(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::CustomTargetType
Baseline implementation for the get_custom_target_type REST call.
-
#get_delivery_pipeline(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::DeliveryPipeline
Baseline implementation for the get_delivery_pipeline REST call.
-
#get_job_run(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::JobRun
Baseline implementation for the get_job_run REST call.
-
#get_release(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::Release
Baseline implementation for the get_release REST call.
-
#get_rollout(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::Rollout
Baseline implementation for the get_rollout REST call.
-
#get_target(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::Target
Baseline implementation for the get_target REST call.
-
#ignore_job(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::IgnoreJobResponse
Baseline implementation for the ignore_job REST call.
-
#initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) ⇒ ServiceStub
constructor
A new instance of ServiceStub.
-
#list_automation_runs(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ListAutomationRunsResponse
Baseline implementation for the list_automation_runs REST call.
-
#list_automations(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ListAutomationsResponse
Baseline implementation for the list_automations REST call.
-
#list_custom_target_types(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ListCustomTargetTypesResponse
Baseline implementation for the list_custom_target_types REST call.
-
#list_delivery_pipelines(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ListDeliveryPipelinesResponse
Baseline implementation for the list_delivery_pipelines REST call.
-
#list_job_runs(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ListJobRunsResponse
Baseline implementation for the list_job_runs REST call.
-
#list_releases(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ListReleasesResponse
Baseline implementation for the list_releases REST call.
-
#list_rollouts(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ListRolloutsResponse
Baseline implementation for the list_rollouts REST call.
-
#list_targets(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ListTargetsResponse
Baseline implementation for the list_targets REST call.
-
#retry_job(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::RetryJobResponse
Baseline implementation for the retry_job REST call.
-
#rollback_target(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::RollbackTargetResponse
Baseline implementation for the rollback_target REST call.
-
#terminate_job_run(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::TerminateJobRunResponse
Baseline implementation for the terminate_job_run REST call.
-
#universe_domain ⇒ String
The effective universe domain.
-
#update_automation(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the update_automation REST call.
-
#update_custom_target_type(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the update_custom_target_type REST call.
-
#update_delivery_pipeline(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the update_delivery_pipeline REST call.
-
#update_target(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the update_target REST call.
Constructor Details
#initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) ⇒ ServiceStub
Returns a new instance of ServiceStub.
33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 33 def initialize endpoint:, endpoint_template:, universe_domain:, credentials: # These require statements are intentionally placed here to initialize # the REST modules only when it's required. require "gapic/rest" @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, endpoint_template: endpoint_template, universe_domain: universe_domain, credentials: credentials, numeric_enums: true, raise_faraday_errors: false end |
Instance Method Details
#abandon_release(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::AbandonReleaseResponse
Baseline implementation for the abandon_release REST call
791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 791 def abandon_release request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_abandon_release_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::AbandonReleaseResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#advance_rollout(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::AdvanceRolloutResponse
Baseline implementation for the advance_rollout REST call
867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 867 def advance_rollout request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_advance_rollout_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::AdvanceRolloutResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#approve_rollout(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ApproveRolloutResponse
Baseline implementation for the approve_rollout REST call
829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 829 def approve_rollout request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_approve_rollout_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::ApproveRolloutResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#cancel_automation_run(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::CancelAutomationRunResponse
Baseline implementation for the cancel_automation_run REST call
1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 1551 def cancel_automation_run request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_cancel_automation_run_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::CancelAutomationRunResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#cancel_rollout(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::CancelRolloutResponse
Baseline implementation for the cancel_rollout REST call
905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 905 def cancel_rollout request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_cancel_rollout_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::CancelRolloutResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#create_automation(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the create_automation REST call
1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 1285 def create_automation request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_create_automation_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#create_custom_target_type(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the create_custom_target_type REST call
563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 563 def create_custom_target_type request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_create_custom_target_type_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#create_delivery_pipeline(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the create_delivery_pipeline REST call
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 145 def create_delivery_pipeline request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_create_delivery_pipeline_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#create_release(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the create_release REST call
753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 753 def create_release request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_create_release_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#create_rollout(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the create_rollout REST call
1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 1019 def create_rollout request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_create_rollout_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#create_target(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the create_target REST call
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 373 def create_target request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_create_target_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#delete_automation(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the delete_automation REST call
1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 1361 def delete_automation request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_delete_automation_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#delete_custom_target_type(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the delete_custom_target_type REST call
639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 639 def delete_custom_target_type request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_delete_custom_target_type_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#delete_delivery_pipeline(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the delete_delivery_pipeline REST call
221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 221 def delete_delivery_pipeline request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_delete_delivery_pipeline_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#delete_target(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the delete_target REST call
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 449 def delete_target request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_delete_target_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#get_automation(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::Automation
Baseline implementation for the get_automation REST call
1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 1399 def get_automation request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_get_automation_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::Automation.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#get_automation_run(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::AutomationRun
Baseline implementation for the get_automation_run REST call
1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 1475 def get_automation_run request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_get_automation_run_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::AutomationRun.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#get_config(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::Config
Baseline implementation for the get_config REST call
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 1247 def get_config request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_get_config_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::Config.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#get_custom_target_type(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::CustomTargetType
Baseline implementation for the get_custom_target_type REST call
525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 525 def get_custom_target_type request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_get_custom_target_type_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::CustomTargetType.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#get_delivery_pipeline(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::DeliveryPipeline
Baseline implementation for the get_delivery_pipeline REST call
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 107 def get_delivery_pipeline request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_get_delivery_pipeline_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::DeliveryPipeline.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#get_job_run(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::JobRun
Baseline implementation for the get_job_run REST call
1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 1171 def get_job_run request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_get_job_run_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::JobRun.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#get_release(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::Release
Baseline implementation for the get_release REST call
715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 715 def get_release request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_get_release_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::Release.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#get_rollout(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::Rollout
Baseline implementation for the get_rollout REST call
981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 981 def get_rollout request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_get_rollout_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::Rollout.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#get_target(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::Target
Baseline implementation for the get_target REST call
335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 335 def get_target request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_get_target_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::Target.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#ignore_job(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::IgnoreJobResponse
Baseline implementation for the ignore_job REST call
1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 1057 def ignore_job request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_ignore_job_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::IgnoreJobResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#list_automation_runs(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ListAutomationRunsResponse
Baseline implementation for the list_automation_runs REST call
1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 1513 def list_automation_runs request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_list_automation_runs_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::ListAutomationRunsResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#list_automations(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ListAutomationsResponse
Baseline implementation for the list_automations REST call
1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 1437 def list_automations request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_list_automations_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::ListAutomationsResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#list_custom_target_types(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ListCustomTargetTypesResponse
Baseline implementation for the list_custom_target_types REST call
487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 487 def list_custom_target_types request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_list_custom_target_types_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::ListCustomTargetTypesResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#list_delivery_pipelines(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ListDeliveryPipelinesResponse
Baseline implementation for the list_delivery_pipelines REST call
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 69 def list_delivery_pipelines request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_list_delivery_pipelines_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::ListDeliveryPipelinesResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#list_job_runs(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ListJobRunsResponse
Baseline implementation for the list_job_runs REST call
1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 1133 def list_job_runs request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_list_job_runs_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::ListJobRunsResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#list_releases(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ListReleasesResponse
Baseline implementation for the list_releases REST call
677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 677 def list_releases request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_list_releases_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::ListReleasesResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#list_rollouts(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ListRolloutsResponse
Baseline implementation for the list_rollouts REST call
943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 943 def list_rollouts request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_list_rollouts_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::ListRolloutsResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#list_targets(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::ListTargetsResponse
Baseline implementation for the list_targets REST call
259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 259 def list_targets request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_list_targets_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::ListTargetsResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#retry_job(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::RetryJobResponse
Baseline implementation for the retry_job REST call
1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 1095 def retry_job request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_retry_job_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::RetryJobResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#rollback_target(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::RollbackTargetResponse
Baseline implementation for the rollback_target REST call
297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 297 def rollback_target request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_rollback_target_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::RollbackTargetResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#terminate_job_run(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Cloud::Deploy::V1::TerminateJobRunResponse
Baseline implementation for the terminate_job_run REST call
1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 1209 def terminate_job_run request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_terminate_job_run_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Cloud::Deploy::V1::TerminateJobRunResponse.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#universe_domain ⇒ String
The effective universe domain
51 52 53 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 51 def universe_domain @client_stub.universe_domain end |
#update_automation(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the update_automation REST call
1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 1323 def update_automation request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_update_automation_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#update_custom_target_type(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the update_custom_target_type REST call
601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 601 def update_custom_target_type request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_update_custom_target_type_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#update_delivery_pipeline(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the update_delivery_pipeline REST call
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 183 def update_delivery_pipeline request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_update_delivery_pipeline_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |
#update_target(request_pb, options = nil) {|result, operation| ... } ⇒ ::Google::Longrunning::Operation
Baseline implementation for the update_target REST call
411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 |
# File 'lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb', line 411 def update_target request_pb, = nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_update_target_request request_pb query_string_params = if query_string_params.any? query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( verb, uri: uri, body: body || "", params: query_string_params, options: ) operation = ::Gapic::Rest::TransportOperation.new response result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true yield result, operation if block_given? result end |