google-cloud-bare_metal_solution-v2 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/bare_metal_solution/v2/bare_metal_solution/client.rb +2773 -407
- data/lib/google/cloud/bare_metal_solution/v2/bare_metal_solution/operations.rb +3 -1
- data/lib/google/cloud/bare_metal_solution/v2/bare_metal_solution/paths.rb +135 -0
- data/lib/google/cloud/bare_metal_solution/v2/bare_metal_solution/rest/client.rb +2035 -287
- data/lib/google/cloud/bare_metal_solution/v2/bare_metal_solution/rest/operations.rb +7 -5
- data/lib/google/cloud/bare_metal_solution/v2/bare_metal_solution/rest/service_stub.rb +1684 -253
- data/lib/google/cloud/bare_metal_solution/v2/version.rb +1 -1
- data/lib/google/cloud/baremetalsolution/v2/baremetalsolution_pb.rb +7 -6
- data/lib/google/cloud/baremetalsolution/v2/baremetalsolution_services_pb.rb +62 -0
- data/lib/google/cloud/baremetalsolution/v2/common_pb.rb +48 -0
- data/lib/google/cloud/baremetalsolution/v2/instance_pb.rb +12 -6
- data/lib/google/cloud/baremetalsolution/v2/lun_pb.rb +4 -1
- data/lib/google/cloud/baremetalsolution/v2/network_pb.rb +3 -1
- data/lib/google/cloud/baremetalsolution/v2/nfs_share_pb.rb +5 -1
- data/lib/google/cloud/baremetalsolution/v2/osimage_pb.rb +47 -0
- data/lib/google/cloud/baremetalsolution/v2/provisioning_pb.rb +80 -0
- data/lib/google/cloud/baremetalsolution/v2/ssh_key_pb.rb +49 -0
- data/lib/google/cloud/baremetalsolution/v2/volume_pb.rb +8 -1
- data/lib/google/cloud/baremetalsolution/v2/volume_snapshot_pb.rb +54 -0
- data/proto_docs/google/cloud/baremetalsolution/v2/{baremetalsolution.rb → common.rb} +36 -14
- data/proto_docs/google/cloud/baremetalsolution/v2/instance.rb +95 -68
- data/proto_docs/google/cloud/baremetalsolution/v2/lun.rb +19 -0
- data/proto_docs/google/cloud/baremetalsolution/v2/network.rb +68 -2
- data/proto_docs/google/cloud/baremetalsolution/v2/nfs_share.rb +83 -9
- data/proto_docs/google/cloud/baremetalsolution/v2/osimage.rb +80 -0
- data/proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb +639 -0
- data/proto_docs/google/cloud/baremetalsolution/v2/ssh_key.rb +97 -0
- data/proto_docs/google/cloud/baremetalsolution/v2/volume.rb +91 -4
- data/proto_docs/google/cloud/baremetalsolution/v2/volume_snapshot.rb +134 -0
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +15 -5
@@ -446,7 +446,9 @@ module Google
|
|
446
446
|
class Configuration
|
447
447
|
extend ::Gapic::Config
|
448
448
|
|
449
|
-
|
449
|
+
DEFAULT_ENDPOINT = "baremetalsolution.googleapis.com"
|
450
|
+
|
451
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
450
452
|
config_attr :credentials, nil do |value|
|
451
453
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
452
454
|
allowed.any? { |klass| klass === value }
|
@@ -567,7 +569,7 @@ module Google
|
|
567
569
|
|
568
570
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
|
569
571
|
query_string_params = if query_string_params.any?
|
570
|
-
query_string_params.to_h { |p| p.split
|
572
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
571
573
|
else
|
572
574
|
{}
|
573
575
|
end
|
@@ -605,7 +607,7 @@ module Google
|
|
605
607
|
|
606
608
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
|
607
609
|
query_string_params = if query_string_params.any?
|
608
|
-
query_string_params.to_h { |p| p.split
|
610
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
609
611
|
else
|
610
612
|
{}
|
611
613
|
end
|
@@ -643,7 +645,7 @@ module Google
|
|
643
645
|
|
644
646
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
|
645
647
|
query_string_params = if query_string_params.any?
|
646
|
-
query_string_params.to_h { |p| p.split
|
648
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
647
649
|
else
|
648
650
|
{}
|
649
651
|
end
|
@@ -681,7 +683,7 @@ module Google
|
|
681
683
|
|
682
684
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
|
683
685
|
query_string_params = if query_string_params.any?
|
684
|
-
query_string_params.to_h { |p| p.split
|
686
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
685
687
|
else
|
686
688
|
{}
|
687
689
|
end
|