google-cloud-compute 1.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3885705e391d3458bc67515909041cc33030132ff61629a5ca6a5abc12bc4671
4
- data.tar.gz: 2e6e74cfe92cea0edb071f5fbd7a67d45d6a41760c5670c976c58badadae45c0
3
+ metadata.gz: 41ea35f15b9523383f080b39494319cec7b4c216f308d8b7354ed9f86b9b2dd2
4
+ data.tar.gz: 29d9e2a2f2e8a1f356fc7578a46a76e2d47f72ad4a74a0fac6a54451659fb69a
5
5
  SHA512:
6
- metadata.gz: 49b036b452c803e65a07dbbca65b7e777f2b4126a13ad6a926a2c1ee6e446d4f8759fbb30a25aeaeed9c4a5879422029ed5acd7cb1b5721a1bc639f15c74e070
7
- data.tar.gz: 9643d7afc3c306172837639bfe99f72870e32d83ded9dc985718d5d7dab3df1cf34b9636596097bf4939319a2df314acdeca861ee08540f63bd347b4bcbfb7dd
6
+ metadata.gz: 67eec134ef0f557cb046f31be41827fb856211a7ad3c42c016b9bf232237d4a08dc25aef0cdf1cf857ae23b788844bb327463b2528a1e43734e508f80fee3251
7
+ data.tar.gz: 9c83d09e9a8998bc1ca3ec4c8a7865ce6fb9a16817fc61f63233747eaa8a181a69c599f1a40e43e9f69d0c7ed70e1f5879df0cf75306220587cb6c3f9966468a
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Compute
23
- VERSION = "1.7.0"
23
+ VERSION = "1.8.0"
24
24
  end
25
25
  end
26
26
  end
@@ -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
  #
@@ -2446,6 +2506,66 @@ module Google
2446
2506
  service_module.const_get(:Rest).const_get(:Client).new(&block)
2447
2507
  end
2448
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
+
2449
2569
  ##
2450
2570
  # Create a new client object for Subnetworks.
2451
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.7.0
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-03-06 00:00:00.000000000 Z
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.10'
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.10'
26
+ version: '2.11'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-core
29
29
  requirement: !ruby/object:Gem::Requirement