google-cloud-compute 1.1.0 → 1.3.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: 5bc6c5088c59d4102ce3a482872179d21ee081ea294b000edee430ebfeeaefbb
4
- data.tar.gz: d89f05e8062f72e26679b27ccd21733f390225da24b4e4e9a84e01909630d7e2
3
+ metadata.gz: 2ce118bd0dc44519c446a60e6af1490c87aa2bef2f3e19c3decc08bc7e3c273b
4
+ data.tar.gz: b90b563252074bd3d7a3540c5b5a52d52d17d9b3033882233877a238abdbdf8d
5
5
  SHA512:
6
- metadata.gz: ba15f09015d0ad77ddb3f94dd71102e07a3743cc4965cebce3dc6ba149118fc23428ed0a3a2a8a28e38bb33c1fae9b8407a9ea1f05eafac1afaf43a99a806712
7
- data.tar.gz: c58341fafa73bf9f3c87d6390c680335414a80ba15da716af96aa97e586c9a272167a7e67d0196e8c541f8b59e554e25a63a38bc11150288cc02957d63b30b97
6
+ metadata.gz: 4addb1679124d58f9366d1c2c9baf3bf0f30d8941edacd1dfe03befe373251c1ebe42a3e8615476f36b7d69618058669a54440d1ccc10fc92f767bd92a662c0a
7
+ data.tar.gz: 239dbfceeb27d4a3335c101a281f422812281b54c0734d5c09d9f59471eca18447b890470e5c13759a5b9d0eed81af86908764b414cde60d5a133488393817c8
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Compute
23
- VERSION = "1.1.0"
23
+ VERSION = "1.3.0"
24
24
  end
25
25
  end
26
26
  end
@@ -825,6 +825,36 @@ module Google
825
825
  service_module.const_get(:Rest).const_get(:Client).new(&block)
826
826
  end
827
827
 
828
+ ##
829
+ # Create a new client object for InterconnectRemoteLocations.
830
+ #
831
+ # By default, this returns an instance of
832
+ # [Google::Cloud::Compute::V1::InterconnectRemoteLocations::Rest::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-InterconnectRemoteLocations-Rest-Client)
833
+ # for a REST client for version V1 of the API.
834
+ # However, you can specify a different API version by passing it in the
835
+ # `version` parameter. If the InterconnectRemoteLocations service is
836
+ # supported by that API version, and the corresponding gem is available, the
837
+ # appropriate versioned client will be returned.
838
+ #
839
+ # ## About InterconnectRemoteLocations
840
+ #
841
+ # The InterconnectRemoteLocations API.
842
+ #
843
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
844
+ # Defaults to `:v1`.
845
+ # @return [::Object] A client object for the specified version.
846
+ #
847
+ def self.interconnect_remote_locations version: :v1, &block
848
+ require "google/cloud/compute/#{version.to_s.downcase}"
849
+
850
+ package_name = Google::Cloud::Compute
851
+ .constants
852
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
853
+ .first
854
+ service_module = Google::Cloud::Compute.const_get(package_name).const_get(:InterconnectRemoteLocations)
855
+ service_module.const_get(:Rest).const_get(:Client).new(&block)
856
+ end
857
+
828
858
  ##
829
859
  # Create a new client object for Interconnects.
830
860
  #
@@ -2205,6 +2235,36 @@ module Google
2205
2235
  service_module.const_get(:Rest).const_get(:Client).new(&block)
2206
2236
  end
2207
2237
 
2238
+ ##
2239
+ # Create a new client object for SnapshotSettingsService.
2240
+ #
2241
+ # By default, this returns an instance of
2242
+ # [Google::Cloud::Compute::V1::SnapshotSettingsService::Rest::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-SnapshotSettingsService-Rest-Client)
2243
+ # for a REST client for version V1 of the API.
2244
+ # However, you can specify a different API version by passing it in the
2245
+ # `version` parameter. If the SnapshotSettingsService service is
2246
+ # supported by that API version, and the corresponding gem is available, the
2247
+ # appropriate versioned client will be returned.
2248
+ #
2249
+ # ## About SnapshotSettingsService
2250
+ #
2251
+ # The SnapshotSettings API.
2252
+ #
2253
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
2254
+ # Defaults to `:v1`.
2255
+ # @return [::Object] A client object for the specified version.
2256
+ #
2257
+ def self.snapshot_settings_service version: :v1, &block
2258
+ require "google/cloud/compute/#{version.to_s.downcase}"
2259
+
2260
+ package_name = Google::Cloud::Compute
2261
+ .constants
2262
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
2263
+ .first
2264
+ service_module = Google::Cloud::Compute.const_get(package_name).const_get(:SnapshotSettingsService)
2265
+ service_module.const_get(:Rest).const_get(:Client).new(&block)
2266
+ end
2267
+
2208
2268
  ##
2209
2269
  # Create a new client object for Snapshots.
2210
2270
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-compute
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.3.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-03-23 00:00:00.000000000 Z
11
+ date: 2023-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-compute-v1
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.1'
19
+ version: '2.6'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.1'
26
+ version: '2.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-core
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  - !ruby/object:Gem::Version
184
184
  version: '0'
185
185
  requirements: []
186
- rubygems_version: 3.4.2
186
+ rubygems_version: 3.4.19
187
187
  signing_key:
188
188
  specification_version: 4
189
189
  summary: API Client library for the Google Cloud Compute API