google-cloud-compute 1.11.1 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +8 -0
- data/lib/google/cloud/compute/version.rb +1 -1
- data/lib/google/cloud/compute.rb +315 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9eb1c4dabd4aa091d4f1de0f7c5b28baecdaec5ae2fe019c0704fbb2c8026292
|
|
4
|
+
data.tar.gz: 1070052de377f795e56c6ce0f7c1fd6008acd723f88cdf0dc831ab8803c928c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3010cdd1768cb7a5ef92763e32859e77d95d26d14e52971cf7f26c1e787d2dc0e51824695aa65e071b802759945449e36188be0f7681961eeb2af23b861da5d4
|
|
7
|
+
data.tar.gz: dc32cbd3abe2764e266bd2743cf0d355bb0ac8cc88a7fc5258a7a3f326a8352b456d3e194b6b1ce8ad21c4bc1cc1f980e95cf8d4bf67b2e947103d99f09867be
|
data/README.md
CHANGED
|
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
|
|
|
34
34
|
1. [Enable the API.](https://console.cloud.google.com/apis/library/compute.googleapis.com)
|
|
35
35
|
1. {file:AUTHENTICATION.md Set up authentication.}
|
|
36
36
|
|
|
37
|
+
```ruby
|
|
38
|
+
require "google/cloud/compute"
|
|
39
|
+
|
|
40
|
+
client = Google::Cloud::Compute.accelerator_types
|
|
41
|
+
request = ::Google::Cloud::Compute::V1::AggregatedListAcceleratorTypesRequest.new # (request fields as keyword arguments...)
|
|
42
|
+
response = client.aggregated_list request
|
|
43
|
+
```
|
|
44
|
+
|
|
37
45
|
## Debug Logging
|
|
38
46
|
|
|
39
47
|
This library comes with opt-in Debug Logging that can help you troubleshoot
|
data/lib/google/cloud/compute.rb
CHANGED
|
@@ -1747,6 +1747,69 @@ module Google
|
|
|
1747
1747
|
false
|
|
1748
1748
|
end
|
|
1749
1749
|
|
|
1750
|
+
##
|
|
1751
|
+
# Create a new client object for InterconnectAttachmentGroups.
|
|
1752
|
+
#
|
|
1753
|
+
# By default, this returns an instance of
|
|
1754
|
+
# [Google::Cloud::Compute::V1::InterconnectAttachmentGroups::Rest::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-InterconnectAttachmentGroups-Rest-Client)
|
|
1755
|
+
# for a REST client for version V1 of the API.
|
|
1756
|
+
# However, you can specify a different API version by passing it in the
|
|
1757
|
+
# `version` parameter. If the InterconnectAttachmentGroups service is
|
|
1758
|
+
# supported by that API version, and the corresponding gem is available, the
|
|
1759
|
+
# appropriate versioned client will be returned.
|
|
1760
|
+
#
|
|
1761
|
+
# Raises an exception if the currently installed versioned client gem for the
|
|
1762
|
+
# given API version does not support the InterconnectAttachmentGroups service.
|
|
1763
|
+
# You can determine whether the method will succeed by calling
|
|
1764
|
+
# {Google::Cloud::Compute.interconnect_attachment_groups_available?}.
|
|
1765
|
+
#
|
|
1766
|
+
# ## About InterconnectAttachmentGroups
|
|
1767
|
+
#
|
|
1768
|
+
# The InterconnectAttachmentGroups API.
|
|
1769
|
+
#
|
|
1770
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
|
1771
|
+
# Defaults to `:v1`.
|
|
1772
|
+
# @return [::Object] A client object for the specified version.
|
|
1773
|
+
#
|
|
1774
|
+
def self.interconnect_attachment_groups version: :v1, &block
|
|
1775
|
+
require "google/cloud/compute/#{version.to_s.downcase}"
|
|
1776
|
+
|
|
1777
|
+
package_name = Google::Cloud::Compute
|
|
1778
|
+
.constants
|
|
1779
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
|
1780
|
+
.first
|
|
1781
|
+
service_module = Google::Cloud::Compute.const_get(package_name).const_get(:InterconnectAttachmentGroups)
|
|
1782
|
+
service_module.const_get(:Rest).const_get(:Client).new(&block)
|
|
1783
|
+
end
|
|
1784
|
+
|
|
1785
|
+
##
|
|
1786
|
+
# Determines whether the InterconnectAttachmentGroups service is supported by the current client.
|
|
1787
|
+
# If true, you can retrieve a client object by calling {Google::Cloud::Compute.interconnect_attachment_groups}.
|
|
1788
|
+
# If false, that method will raise an exception. This could happen if the given
|
|
1789
|
+
# API version does not exist or does not support the InterconnectAttachmentGroups service,
|
|
1790
|
+
# or if the versioned client gem needs an update to support the InterconnectAttachmentGroups service.
|
|
1791
|
+
#
|
|
1792
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
|
1793
|
+
# Defaults to `:v1`.
|
|
1794
|
+
# @return [boolean] Whether the service is available.
|
|
1795
|
+
#
|
|
1796
|
+
def self.interconnect_attachment_groups_available? version: :v1
|
|
1797
|
+
require "google/cloud/compute/#{version.to_s.downcase}"
|
|
1798
|
+
package_name = Google::Cloud::Compute
|
|
1799
|
+
.constants
|
|
1800
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
|
1801
|
+
.first
|
|
1802
|
+
return false unless package_name
|
|
1803
|
+
service_module = Google::Cloud::Compute.const_get package_name
|
|
1804
|
+
return false unless service_module.const_defined? :InterconnectAttachmentGroups
|
|
1805
|
+
service_module = service_module.const_get :InterconnectAttachmentGroups
|
|
1806
|
+
return false unless service_module.const_defined? :Rest
|
|
1807
|
+
service_module = service_module.const_get :Rest
|
|
1808
|
+
service_module.const_defined? :Client
|
|
1809
|
+
rescue ::LoadError
|
|
1810
|
+
false
|
|
1811
|
+
end
|
|
1812
|
+
|
|
1750
1813
|
##
|
|
1751
1814
|
# Create a new client object for InterconnectAttachments.
|
|
1752
1815
|
#
|
|
@@ -1810,6 +1873,69 @@ module Google
|
|
|
1810
1873
|
false
|
|
1811
1874
|
end
|
|
1812
1875
|
|
|
1876
|
+
##
|
|
1877
|
+
# Create a new client object for InterconnectGroups.
|
|
1878
|
+
#
|
|
1879
|
+
# By default, this returns an instance of
|
|
1880
|
+
# [Google::Cloud::Compute::V1::InterconnectGroups::Rest::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-InterconnectGroups-Rest-Client)
|
|
1881
|
+
# for a REST client for version V1 of the API.
|
|
1882
|
+
# However, you can specify a different API version by passing it in the
|
|
1883
|
+
# `version` parameter. If the InterconnectGroups service is
|
|
1884
|
+
# supported by that API version, and the corresponding gem is available, the
|
|
1885
|
+
# appropriate versioned client will be returned.
|
|
1886
|
+
#
|
|
1887
|
+
# Raises an exception if the currently installed versioned client gem for the
|
|
1888
|
+
# given API version does not support the InterconnectGroups service.
|
|
1889
|
+
# You can determine whether the method will succeed by calling
|
|
1890
|
+
# {Google::Cloud::Compute.interconnect_groups_available?}.
|
|
1891
|
+
#
|
|
1892
|
+
# ## About InterconnectGroups
|
|
1893
|
+
#
|
|
1894
|
+
# The InterconnectGroups API.
|
|
1895
|
+
#
|
|
1896
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
|
1897
|
+
# Defaults to `:v1`.
|
|
1898
|
+
# @return [::Object] A client object for the specified version.
|
|
1899
|
+
#
|
|
1900
|
+
def self.interconnect_groups version: :v1, &block
|
|
1901
|
+
require "google/cloud/compute/#{version.to_s.downcase}"
|
|
1902
|
+
|
|
1903
|
+
package_name = Google::Cloud::Compute
|
|
1904
|
+
.constants
|
|
1905
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
|
1906
|
+
.first
|
|
1907
|
+
service_module = Google::Cloud::Compute.const_get(package_name).const_get(:InterconnectGroups)
|
|
1908
|
+
service_module.const_get(:Rest).const_get(:Client).new(&block)
|
|
1909
|
+
end
|
|
1910
|
+
|
|
1911
|
+
##
|
|
1912
|
+
# Determines whether the InterconnectGroups service is supported by the current client.
|
|
1913
|
+
# If true, you can retrieve a client object by calling {Google::Cloud::Compute.interconnect_groups}.
|
|
1914
|
+
# If false, that method will raise an exception. This could happen if the given
|
|
1915
|
+
# API version does not exist or does not support the InterconnectGroups service,
|
|
1916
|
+
# or if the versioned client gem needs an update to support the InterconnectGroups service.
|
|
1917
|
+
#
|
|
1918
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
|
1919
|
+
# Defaults to `:v1`.
|
|
1920
|
+
# @return [boolean] Whether the service is available.
|
|
1921
|
+
#
|
|
1922
|
+
def self.interconnect_groups_available? version: :v1
|
|
1923
|
+
require "google/cloud/compute/#{version.to_s.downcase}"
|
|
1924
|
+
package_name = Google::Cloud::Compute
|
|
1925
|
+
.constants
|
|
1926
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
|
1927
|
+
.first
|
|
1928
|
+
return false unless package_name
|
|
1929
|
+
service_module = Google::Cloud::Compute.const_get package_name
|
|
1930
|
+
return false unless service_module.const_defined? :InterconnectGroups
|
|
1931
|
+
service_module = service_module.const_get :InterconnectGroups
|
|
1932
|
+
return false unless service_module.const_defined? :Rest
|
|
1933
|
+
service_module = service_module.const_get :Rest
|
|
1934
|
+
service_module.const_defined? :Client
|
|
1935
|
+
rescue ::LoadError
|
|
1936
|
+
false
|
|
1937
|
+
end
|
|
1938
|
+
|
|
1813
1939
|
##
|
|
1814
1940
|
# Create a new client object for InterconnectLocations.
|
|
1815
1941
|
#
|
|
@@ -2818,6 +2944,69 @@ module Google
|
|
|
2818
2944
|
false
|
|
2819
2945
|
end
|
|
2820
2946
|
|
|
2947
|
+
##
|
|
2948
|
+
# Create a new client object for OrganizationSecurityPolicies.
|
|
2949
|
+
#
|
|
2950
|
+
# By default, this returns an instance of
|
|
2951
|
+
# [Google::Cloud::Compute::V1::OrganizationSecurityPolicies::Rest::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-OrganizationSecurityPolicies-Rest-Client)
|
|
2952
|
+
# for a REST client for version V1 of the API.
|
|
2953
|
+
# However, you can specify a different API version by passing it in the
|
|
2954
|
+
# `version` parameter. If the OrganizationSecurityPolicies service is
|
|
2955
|
+
# supported by that API version, and the corresponding gem is available, the
|
|
2956
|
+
# appropriate versioned client will be returned.
|
|
2957
|
+
#
|
|
2958
|
+
# Raises an exception if the currently installed versioned client gem for the
|
|
2959
|
+
# given API version does not support the OrganizationSecurityPolicies service.
|
|
2960
|
+
# You can determine whether the method will succeed by calling
|
|
2961
|
+
# {Google::Cloud::Compute.organization_security_policies_available?}.
|
|
2962
|
+
#
|
|
2963
|
+
# ## About OrganizationSecurityPolicies
|
|
2964
|
+
#
|
|
2965
|
+
# The OrganizationSecurityPolicies API.
|
|
2966
|
+
#
|
|
2967
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
|
2968
|
+
# Defaults to `:v1`.
|
|
2969
|
+
# @return [::Object] A client object for the specified version.
|
|
2970
|
+
#
|
|
2971
|
+
def self.organization_security_policies version: :v1, &block
|
|
2972
|
+
require "google/cloud/compute/#{version.to_s.downcase}"
|
|
2973
|
+
|
|
2974
|
+
package_name = Google::Cloud::Compute
|
|
2975
|
+
.constants
|
|
2976
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
|
2977
|
+
.first
|
|
2978
|
+
service_module = Google::Cloud::Compute.const_get(package_name).const_get(:OrganizationSecurityPolicies)
|
|
2979
|
+
service_module.const_get(:Rest).const_get(:Client).new(&block)
|
|
2980
|
+
end
|
|
2981
|
+
|
|
2982
|
+
##
|
|
2983
|
+
# Determines whether the OrganizationSecurityPolicies service is supported by the current client.
|
|
2984
|
+
# If true, you can retrieve a client object by calling {Google::Cloud::Compute.organization_security_policies}.
|
|
2985
|
+
# If false, that method will raise an exception. This could happen if the given
|
|
2986
|
+
# API version does not exist or does not support the OrganizationSecurityPolicies service,
|
|
2987
|
+
# or if the versioned client gem needs an update to support the OrganizationSecurityPolicies service.
|
|
2988
|
+
#
|
|
2989
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
|
2990
|
+
# Defaults to `:v1`.
|
|
2991
|
+
# @return [boolean] Whether the service is available.
|
|
2992
|
+
#
|
|
2993
|
+
def self.organization_security_policies_available? version: :v1
|
|
2994
|
+
require "google/cloud/compute/#{version.to_s.downcase}"
|
|
2995
|
+
package_name = Google::Cloud::Compute
|
|
2996
|
+
.constants
|
|
2997
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
|
2998
|
+
.first
|
|
2999
|
+
return false unless package_name
|
|
3000
|
+
service_module = Google::Cloud::Compute.const_get package_name
|
|
3001
|
+
return false unless service_module.const_defined? :OrganizationSecurityPolicies
|
|
3002
|
+
service_module = service_module.const_get :OrganizationSecurityPolicies
|
|
3003
|
+
return false unless service_module.const_defined? :Rest
|
|
3004
|
+
service_module = service_module.const_get :Rest
|
|
3005
|
+
service_module.const_defined? :Client
|
|
3006
|
+
rescue ::LoadError
|
|
3007
|
+
false
|
|
3008
|
+
end
|
|
3009
|
+
|
|
2821
3010
|
##
|
|
2822
3011
|
# Create a new client object for PacketMirrorings.
|
|
2823
3012
|
#
|
|
@@ -2881,6 +3070,69 @@ module Google
|
|
|
2881
3070
|
false
|
|
2882
3071
|
end
|
|
2883
3072
|
|
|
3073
|
+
##
|
|
3074
|
+
# Create a new client object for PreviewFeatures.
|
|
3075
|
+
#
|
|
3076
|
+
# By default, this returns an instance of
|
|
3077
|
+
# [Google::Cloud::Compute::V1::PreviewFeatures::Rest::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-PreviewFeatures-Rest-Client)
|
|
3078
|
+
# for a REST client for version V1 of the API.
|
|
3079
|
+
# However, you can specify a different API version by passing it in the
|
|
3080
|
+
# `version` parameter. If the PreviewFeatures service is
|
|
3081
|
+
# supported by that API version, and the corresponding gem is available, the
|
|
3082
|
+
# appropriate versioned client will be returned.
|
|
3083
|
+
#
|
|
3084
|
+
# Raises an exception if the currently installed versioned client gem for the
|
|
3085
|
+
# given API version does not support the PreviewFeatures service.
|
|
3086
|
+
# You can determine whether the method will succeed by calling
|
|
3087
|
+
# {Google::Cloud::Compute.preview_features_available?}.
|
|
3088
|
+
#
|
|
3089
|
+
# ## About PreviewFeatures
|
|
3090
|
+
#
|
|
3091
|
+
# The PreviewFeatures API.
|
|
3092
|
+
#
|
|
3093
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
|
3094
|
+
# Defaults to `:v1`.
|
|
3095
|
+
# @return [::Object] A client object for the specified version.
|
|
3096
|
+
#
|
|
3097
|
+
def self.preview_features version: :v1, &block
|
|
3098
|
+
require "google/cloud/compute/#{version.to_s.downcase}"
|
|
3099
|
+
|
|
3100
|
+
package_name = Google::Cloud::Compute
|
|
3101
|
+
.constants
|
|
3102
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
|
3103
|
+
.first
|
|
3104
|
+
service_module = Google::Cloud::Compute.const_get(package_name).const_get(:PreviewFeatures)
|
|
3105
|
+
service_module.const_get(:Rest).const_get(:Client).new(&block)
|
|
3106
|
+
end
|
|
3107
|
+
|
|
3108
|
+
##
|
|
3109
|
+
# Determines whether the PreviewFeatures service is supported by the current client.
|
|
3110
|
+
# If true, you can retrieve a client object by calling {Google::Cloud::Compute.preview_features}.
|
|
3111
|
+
# If false, that method will raise an exception. This could happen if the given
|
|
3112
|
+
# API version does not exist or does not support the PreviewFeatures service,
|
|
3113
|
+
# or if the versioned client gem needs an update to support the PreviewFeatures service.
|
|
3114
|
+
#
|
|
3115
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
|
3116
|
+
# Defaults to `:v1`.
|
|
3117
|
+
# @return [boolean] Whether the service is available.
|
|
3118
|
+
#
|
|
3119
|
+
def self.preview_features_available? version: :v1
|
|
3120
|
+
require "google/cloud/compute/#{version.to_s.downcase}"
|
|
3121
|
+
package_name = Google::Cloud::Compute
|
|
3122
|
+
.constants
|
|
3123
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
|
3124
|
+
.first
|
|
3125
|
+
return false unless package_name
|
|
3126
|
+
service_module = Google::Cloud::Compute.const_get package_name
|
|
3127
|
+
return false unless service_module.const_defined? :PreviewFeatures
|
|
3128
|
+
service_module = service_module.const_get :PreviewFeatures
|
|
3129
|
+
return false unless service_module.const_defined? :Rest
|
|
3130
|
+
service_module = service_module.const_get :Rest
|
|
3131
|
+
service_module.const_defined? :Client
|
|
3132
|
+
rescue ::LoadError
|
|
3133
|
+
false
|
|
3134
|
+
end
|
|
3135
|
+
|
|
2884
3136
|
##
|
|
2885
3137
|
# Create a new client object for Projects.
|
|
2886
3138
|
#
|
|
@@ -4708,6 +4960,69 @@ module Google
|
|
|
4708
4960
|
false
|
|
4709
4961
|
end
|
|
4710
4962
|
|
|
4963
|
+
##
|
|
4964
|
+
# Create a new client object for ReservationSubBlocks.
|
|
4965
|
+
#
|
|
4966
|
+
# By default, this returns an instance of
|
|
4967
|
+
# [Google::Cloud::Compute::V1::ReservationSubBlocks::Rest::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-ReservationSubBlocks-Rest-Client)
|
|
4968
|
+
# for a REST client for version V1 of the API.
|
|
4969
|
+
# However, you can specify a different API version by passing it in the
|
|
4970
|
+
# `version` parameter. If the ReservationSubBlocks service is
|
|
4971
|
+
# supported by that API version, and the corresponding gem is available, the
|
|
4972
|
+
# appropriate versioned client will be returned.
|
|
4973
|
+
#
|
|
4974
|
+
# Raises an exception if the currently installed versioned client gem for the
|
|
4975
|
+
# given API version does not support the ReservationSubBlocks service.
|
|
4976
|
+
# You can determine whether the method will succeed by calling
|
|
4977
|
+
# {Google::Cloud::Compute.reservation_sub_blocks_available?}.
|
|
4978
|
+
#
|
|
4979
|
+
# ## About ReservationSubBlocks
|
|
4980
|
+
#
|
|
4981
|
+
# The ReservationSubBlocks API.
|
|
4982
|
+
#
|
|
4983
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
|
4984
|
+
# Defaults to `:v1`.
|
|
4985
|
+
# @return [::Object] A client object for the specified version.
|
|
4986
|
+
#
|
|
4987
|
+
def self.reservation_sub_blocks version: :v1, &block
|
|
4988
|
+
require "google/cloud/compute/#{version.to_s.downcase}"
|
|
4989
|
+
|
|
4990
|
+
package_name = Google::Cloud::Compute
|
|
4991
|
+
.constants
|
|
4992
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
|
4993
|
+
.first
|
|
4994
|
+
service_module = Google::Cloud::Compute.const_get(package_name).const_get(:ReservationSubBlocks)
|
|
4995
|
+
service_module.const_get(:Rest).const_get(:Client).new(&block)
|
|
4996
|
+
end
|
|
4997
|
+
|
|
4998
|
+
##
|
|
4999
|
+
# Determines whether the ReservationSubBlocks service is supported by the current client.
|
|
5000
|
+
# If true, you can retrieve a client object by calling {Google::Cloud::Compute.reservation_sub_blocks}.
|
|
5001
|
+
# If false, that method will raise an exception. This could happen if the given
|
|
5002
|
+
# API version does not exist or does not support the ReservationSubBlocks service,
|
|
5003
|
+
# or if the versioned client gem needs an update to support the ReservationSubBlocks service.
|
|
5004
|
+
#
|
|
5005
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
|
5006
|
+
# Defaults to `:v1`.
|
|
5007
|
+
# @return [boolean] Whether the service is available.
|
|
5008
|
+
#
|
|
5009
|
+
def self.reservation_sub_blocks_available? version: :v1
|
|
5010
|
+
require "google/cloud/compute/#{version.to_s.downcase}"
|
|
5011
|
+
package_name = Google::Cloud::Compute
|
|
5012
|
+
.constants
|
|
5013
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
|
5014
|
+
.first
|
|
5015
|
+
return false unless package_name
|
|
5016
|
+
service_module = Google::Cloud::Compute.const_get package_name
|
|
5017
|
+
return false unless service_module.const_defined? :ReservationSubBlocks
|
|
5018
|
+
service_module = service_module.const_get :ReservationSubBlocks
|
|
5019
|
+
return false unless service_module.const_defined? :Rest
|
|
5020
|
+
service_module = service_module.const_get :Rest
|
|
5021
|
+
service_module.const_defined? :Client
|
|
5022
|
+
rescue ::LoadError
|
|
5023
|
+
false
|
|
5024
|
+
end
|
|
5025
|
+
|
|
4711
5026
|
##
|
|
4712
5027
|
# Create a new client object for Reservations.
|
|
4713
5028
|
#
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-compute
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
69
69
|
- !ruby/object:Gem::Version
|
|
70
70
|
version: '0'
|
|
71
71
|
requirements: []
|
|
72
|
-
rubygems_version: 3.6.
|
|
72
|
+
rubygems_version: 3.6.9
|
|
73
73
|
specification_version: 4
|
|
74
74
|
summary: API Client library for the Google Cloud Compute API
|
|
75
75
|
test_files: []
|