google-cloud-compute 1.6.0 → 1.8.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/lib/google/cloud/compute/version.rb +1 -1
- data/lib/google/cloud/compute.rb +180 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41ea35f15b9523383f080b39494319cec7b4c216f308d8b7354ed9f86b9b2dd2
|
4
|
+
data.tar.gz: 29d9e2a2f2e8a1f356fc7578a46a76e2d47f72ad4a74a0fac6a54451659fb69a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67eec134ef0f557cb046f31be41827fb856211a7ad3c42c016b9bf232237d4a08dc25aef0cdf1cf857ae23b788844bb327463b2528a1e43734e508f80fee3251
|
7
|
+
data.tar.gz: 9c83d09e9a8998bc1ca3ec4c8a7865ce6fb9a16817fc61f63233747eaa8a181a69c599f1a40e43e9f69d0c7ed70e1f5879df0cf75306220587cb6c3f9966468a
|
data/lib/google/cloud/compute.rb
CHANGED
@@ -646,6 +646,36 @@ module Google
|
|
646
646
|
service_module.const_get(:Rest).const_get(:Client).new(&block)
|
647
647
|
end
|
648
648
|
|
649
|
+
##
|
650
|
+
# Create a new client object for InstanceGroupManagerResizeRequests.
|
651
|
+
#
|
652
|
+
# By default, this returns an instance of
|
653
|
+
# [Google::Cloud::Compute::V1::InstanceGroupManagerResizeRequests::Rest::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-InstanceGroupManagerResizeRequests-Rest-Client)
|
654
|
+
# for a REST client for version V1 of the API.
|
655
|
+
# However, you can specify a different API version by passing it in the
|
656
|
+
# `version` parameter. If the InstanceGroupManagerResizeRequests service is
|
657
|
+
# supported by that API version, and the corresponding gem is available, the
|
658
|
+
# appropriate versioned client will be returned.
|
659
|
+
#
|
660
|
+
# ## About InstanceGroupManagerResizeRequests
|
661
|
+
#
|
662
|
+
# The InstanceGroupManagerResizeRequests API.
|
663
|
+
#
|
664
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
665
|
+
# Defaults to `:v1`.
|
666
|
+
# @return [::Object] A client object for the specified version.
|
667
|
+
#
|
668
|
+
def self.instance_group_manager_resize_requests version: :v1, &block
|
669
|
+
require "google/cloud/compute/#{version.to_s.downcase}"
|
670
|
+
|
671
|
+
package_name = Google::Cloud::Compute
|
672
|
+
.constants
|
673
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
674
|
+
.first
|
675
|
+
service_module = Google::Cloud::Compute.const_get(package_name).const_get(:InstanceGroupManagerResizeRequests)
|
676
|
+
service_module.const_get(:Rest).const_get(:Client).new(&block)
|
677
|
+
end
|
678
|
+
|
649
679
|
##
|
650
680
|
# Create a new client object for InstanceGroupManagers.
|
651
681
|
#
|
@@ -706,6 +736,36 @@ module Google
|
|
706
736
|
service_module.const_get(:Rest).const_get(:Client).new(&block)
|
707
737
|
end
|
708
738
|
|
739
|
+
##
|
740
|
+
# Create a new client object for InstanceSettingsService.
|
741
|
+
#
|
742
|
+
# By default, this returns an instance of
|
743
|
+
# [Google::Cloud::Compute::V1::InstanceSettingsService::Rest::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-InstanceSettingsService-Rest-Client)
|
744
|
+
# for a REST client for version V1 of the API.
|
745
|
+
# However, you can specify a different API version by passing it in the
|
746
|
+
# `version` parameter. If the InstanceSettingsService service is
|
747
|
+
# supported by that API version, and the corresponding gem is available, the
|
748
|
+
# appropriate versioned client will be returned.
|
749
|
+
#
|
750
|
+
# ## About InstanceSettingsService
|
751
|
+
#
|
752
|
+
# The InstanceSettings API.
|
753
|
+
#
|
754
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
755
|
+
# Defaults to `:v1`.
|
756
|
+
# @return [::Object] A client object for the specified version.
|
757
|
+
#
|
758
|
+
def self.instance_settings_service version: :v1, &block
|
759
|
+
require "google/cloud/compute/#{version.to_s.downcase}"
|
760
|
+
|
761
|
+
package_name = Google::Cloud::Compute
|
762
|
+
.constants
|
763
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
764
|
+
.first
|
765
|
+
service_module = Google::Cloud::Compute.const_get(package_name).const_get(:InstanceSettingsService)
|
766
|
+
service_module.const_get(:Rest).const_get(:Client).new(&block)
|
767
|
+
end
|
768
|
+
|
709
769
|
##
|
710
770
|
# Create a new client object for InstanceTemplates.
|
711
771
|
#
|
@@ -766,6 +826,36 @@ module Google
|
|
766
826
|
service_module.const_get(:Rest).const_get(:Client).new(&block)
|
767
827
|
end
|
768
828
|
|
829
|
+
##
|
830
|
+
# Create a new client object for InstantSnapshots.
|
831
|
+
#
|
832
|
+
# By default, this returns an instance of
|
833
|
+
# [Google::Cloud::Compute::V1::InstantSnapshots::Rest::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-InstantSnapshots-Rest-Client)
|
834
|
+
# for a REST client for version V1 of the API.
|
835
|
+
# However, you can specify a different API version by passing it in the
|
836
|
+
# `version` parameter. If the InstantSnapshots service is
|
837
|
+
# supported by that API version, and the corresponding gem is available, the
|
838
|
+
# appropriate versioned client will be returned.
|
839
|
+
#
|
840
|
+
# ## About InstantSnapshots
|
841
|
+
#
|
842
|
+
# The InstantSnapshots API.
|
843
|
+
#
|
844
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
845
|
+
# Defaults to `:v1`.
|
846
|
+
# @return [::Object] A client object for the specified version.
|
847
|
+
#
|
848
|
+
def self.instant_snapshots version: :v1, &block
|
849
|
+
require "google/cloud/compute/#{version.to_s.downcase}"
|
850
|
+
|
851
|
+
package_name = Google::Cloud::Compute
|
852
|
+
.constants
|
853
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
854
|
+
.first
|
855
|
+
service_module = Google::Cloud::Compute.const_get(package_name).const_get(:InstantSnapshots)
|
856
|
+
service_module.const_get(:Rest).const_get(:Client).new(&block)
|
857
|
+
end
|
858
|
+
|
769
859
|
##
|
770
860
|
# Create a new client object for InterconnectAttachments.
|
771
861
|
#
|
@@ -1696,6 +1786,36 @@ module Google
|
|
1696
1786
|
service_module.const_get(:Rest).const_get(:Client).new(&block)
|
1697
1787
|
end
|
1698
1788
|
|
1789
|
+
##
|
1790
|
+
# Create a new client object for RegionInstantSnapshots.
|
1791
|
+
#
|
1792
|
+
# By default, this returns an instance of
|
1793
|
+
# [Google::Cloud::Compute::V1::RegionInstantSnapshots::Rest::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-RegionInstantSnapshots-Rest-Client)
|
1794
|
+
# for a REST client for version V1 of the API.
|
1795
|
+
# However, you can specify a different API version by passing it in the
|
1796
|
+
# `version` parameter. If the RegionInstantSnapshots service is
|
1797
|
+
# supported by that API version, and the corresponding gem is available, the
|
1798
|
+
# appropriate versioned client will be returned.
|
1799
|
+
#
|
1800
|
+
# ## About RegionInstantSnapshots
|
1801
|
+
#
|
1802
|
+
# The RegionInstantSnapshots API.
|
1803
|
+
#
|
1804
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
1805
|
+
# Defaults to `:v1`.
|
1806
|
+
# @return [::Object] A client object for the specified version.
|
1807
|
+
#
|
1808
|
+
def self.region_instant_snapshots version: :v1, &block
|
1809
|
+
require "google/cloud/compute/#{version.to_s.downcase}"
|
1810
|
+
|
1811
|
+
package_name = Google::Cloud::Compute
|
1812
|
+
.constants
|
1813
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
1814
|
+
.first
|
1815
|
+
service_module = Google::Cloud::Compute.const_get(package_name).const_get(:RegionInstantSnapshots)
|
1816
|
+
service_module.const_get(:Rest).const_get(:Client).new(&block)
|
1817
|
+
end
|
1818
|
+
|
1699
1819
|
##
|
1700
1820
|
# Create a new client object for RegionNetworkEndpointGroups.
|
1701
1821
|
#
|
@@ -2386,6 +2506,66 @@ module Google
|
|
2386
2506
|
service_module.const_get(:Rest).const_get(:Client).new(&block)
|
2387
2507
|
end
|
2388
2508
|
|
2509
|
+
##
|
2510
|
+
# Create a new client object for StoragePoolTypes.
|
2511
|
+
#
|
2512
|
+
# By default, this returns an instance of
|
2513
|
+
# [Google::Cloud::Compute::V1::StoragePoolTypes::Rest::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-StoragePoolTypes-Rest-Client)
|
2514
|
+
# for a REST client for version V1 of the API.
|
2515
|
+
# However, you can specify a different API version by passing it in the
|
2516
|
+
# `version` parameter. If the StoragePoolTypes service is
|
2517
|
+
# supported by that API version, and the corresponding gem is available, the
|
2518
|
+
# appropriate versioned client will be returned.
|
2519
|
+
#
|
2520
|
+
# ## About StoragePoolTypes
|
2521
|
+
#
|
2522
|
+
# The StoragePoolTypes API.
|
2523
|
+
#
|
2524
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
2525
|
+
# Defaults to `:v1`.
|
2526
|
+
# @return [::Object] A client object for the specified version.
|
2527
|
+
#
|
2528
|
+
def self.storage_pool_types version: :v1, &block
|
2529
|
+
require "google/cloud/compute/#{version.to_s.downcase}"
|
2530
|
+
|
2531
|
+
package_name = Google::Cloud::Compute
|
2532
|
+
.constants
|
2533
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
2534
|
+
.first
|
2535
|
+
service_module = Google::Cloud::Compute.const_get(package_name).const_get(:StoragePoolTypes)
|
2536
|
+
service_module.const_get(:Rest).const_get(:Client).new(&block)
|
2537
|
+
end
|
2538
|
+
|
2539
|
+
##
|
2540
|
+
# Create a new client object for StoragePools.
|
2541
|
+
#
|
2542
|
+
# By default, this returns an instance of
|
2543
|
+
# [Google::Cloud::Compute::V1::StoragePools::Rest::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest/Google-Cloud-Compute-V1-StoragePools-Rest-Client)
|
2544
|
+
# for a REST client for version V1 of the API.
|
2545
|
+
# However, you can specify a different API version by passing it in the
|
2546
|
+
# `version` parameter. If the StoragePools service is
|
2547
|
+
# supported by that API version, and the corresponding gem is available, the
|
2548
|
+
# appropriate versioned client will be returned.
|
2549
|
+
#
|
2550
|
+
# ## About StoragePools
|
2551
|
+
#
|
2552
|
+
# The StoragePools API.
|
2553
|
+
#
|
2554
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
2555
|
+
# Defaults to `:v1`.
|
2556
|
+
# @return [::Object] A client object for the specified version.
|
2557
|
+
#
|
2558
|
+
def self.storage_pools version: :v1, &block
|
2559
|
+
require "google/cloud/compute/#{version.to_s.downcase}"
|
2560
|
+
|
2561
|
+
package_name = Google::Cloud::Compute
|
2562
|
+
.constants
|
2563
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
2564
|
+
.first
|
2565
|
+
service_module = Google::Cloud::Compute.const_get(package_name).const_get(:StoragePools)
|
2566
|
+
service_module.const_get(:Rest).const_get(:Client).new(&block)
|
2567
|
+
end
|
2568
|
+
|
2389
2569
|
##
|
2390
2570
|
# Create a new client object for Subnetworks.
|
2391
2571
|
#
|
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.
|
4
|
+
version: 1.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: 2024-
|
11
|
+
date: 2024-05-16 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.
|
19
|
+
version: '2.11'
|
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.
|
26
|
+
version: '2.11'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: google-cloud-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|