google-cloud-compute 0.2.0 → 0.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: b4045934ea5582927517f07d73d01c69c420a0120157a7dbe79ab883621e20c2
4
- data.tar.gz: 4f7642d5f8096a3b016743903c5e75dc4002824759a8a02438da69ceae4776d6
3
+ metadata.gz: a6867a36a7aec2b0a7e66857dbf64f4bcb88d6c22f032af0bf7d4b52cf7348f0
4
+ data.tar.gz: 0ff99c82a9091116e25f252eea0fa1b3375ee2eff846cff02f95373995393c7f
5
5
  SHA512:
6
- metadata.gz: 85d36603bede22d2f950318e347fbceccd9db73c98c87e2348e4b71d12790a7e8fd7ad8a815778b1ed89620bda624b10f8756812976501ca1521eb441376ed38
7
- data.tar.gz: cccd7fa83b239b6bd9649f58de0e59daaadeb5bce1fc875fc35708d0ddab75be6bd3e2376ff3fb7fe35c7bfa3d495eccca56ab26a47b3a570321a43bb7d799e1
6
+ metadata.gz: c7d0dd6d6fcd3a8795033722984ab614a3a332f72152cb7824ad54a71b331fe616496c1621b5650068cc4c97d3a77901cbf1f9c95720f1730e2682aeb9186158
7
+ data.tar.gz: 89a1341c648287fd261d444933b35a965a09e7219188a5a301c0f37f01550b41768bff714a6d65d375a87d907dcd89538cf12a81a663a6a6074abf619c422550
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Compute
23
- VERSION = "0.2.0"
23
+ VERSION = "0.3.0"
24
24
  end
25
25
  end
26
26
  end
@@ -973,6 +973,36 @@ module Google
973
973
  package_module.const_get(:MachineTypes).const_get(:Rest).const_get(:Client).new(&block)
974
974
  end
975
975
 
976
+ ##
977
+ # Create a new client object for NetworkEdgeSecurityServices.
978
+ #
979
+ # By default, this returns an instance of
980
+ # [Google::Cloud::Compute::V1::NetworkEdgeSecurityServices::Rest::Client](https://googleapis.dev/ruby/google-cloud-compute-v1/latest/Google/Cloud/Compute/V1/NetworkEdgeSecurityServices/Rest/Client.html)
981
+ # for version V1 of the API.
982
+ # However, you can specify specify a different API version by passing it in the
983
+ # `version` parameter. If the NetworkEdgeSecurityServices service is
984
+ # supported by that API version, and the corresponding gem is available, the
985
+ # appropriate versioned client will be returned.
986
+ #
987
+ # ## About NetworkEdgeSecurityServices
988
+ #
989
+ # The NetworkEdgeSecurityServices API.
990
+ #
991
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
992
+ # Defaults to `:v1`.
993
+ # @return [NetworkEdgeSecurityServices::Rest::Client] A client object for the specified version.
994
+ #
995
+ def self.network_edge_security_services version: :v1, &block
996
+ require "google/cloud/compute/#{version.to_s.downcase}"
997
+
998
+ package_name = Google::Cloud::Compute
999
+ .constants
1000
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
1001
+ .first
1002
+ package_module = Google::Cloud::Compute.const_get package_name
1003
+ package_module.const_get(:NetworkEdgeSecurityServices).const_get(:Rest).const_get(:Client).new(&block)
1004
+ end
1005
+
976
1006
  ##
977
1007
  # Create a new client object for NetworkEndpointGroups.
978
1008
  #
@@ -1003,6 +1033,36 @@ module Google
1003
1033
  package_module.const_get(:NetworkEndpointGroups).const_get(:Rest).const_get(:Client).new(&block)
1004
1034
  end
1005
1035
 
1036
+ ##
1037
+ # Create a new client object for NetworkFirewallPolicies.
1038
+ #
1039
+ # By default, this returns an instance of
1040
+ # [Google::Cloud::Compute::V1::NetworkFirewallPolicies::Rest::Client](https://googleapis.dev/ruby/google-cloud-compute-v1/latest/Google/Cloud/Compute/V1/NetworkFirewallPolicies/Rest/Client.html)
1041
+ # for version V1 of the API.
1042
+ # However, you can specify specify a different API version by passing it in the
1043
+ # `version` parameter. If the NetworkFirewallPolicies service is
1044
+ # supported by that API version, and the corresponding gem is available, the
1045
+ # appropriate versioned client will be returned.
1046
+ #
1047
+ # ## About NetworkFirewallPolicies
1048
+ #
1049
+ # The NetworkFirewallPolicies API.
1050
+ #
1051
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
1052
+ # Defaults to `:v1`.
1053
+ # @return [NetworkFirewallPolicies::Rest::Client] A client object for the specified version.
1054
+ #
1055
+ def self.network_firewall_policies version: :v1, &block
1056
+ require "google/cloud/compute/#{version.to_s.downcase}"
1057
+
1058
+ package_name = Google::Cloud::Compute
1059
+ .constants
1060
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
1061
+ .first
1062
+ package_module = Google::Cloud::Compute.const_get package_name
1063
+ package_module.const_get(:NetworkFirewallPolicies).const_get(:Rest).const_get(:Client).new(&block)
1064
+ end
1065
+
1006
1066
  ##
1007
1067
  # Create a new client object for Networks.
1008
1068
  #
@@ -1573,6 +1633,36 @@ module Google
1573
1633
  package_module.const_get(:RegionNetworkEndpointGroups).const_get(:Rest).const_get(:Client).new(&block)
1574
1634
  end
1575
1635
 
1636
+ ##
1637
+ # Create a new client object for RegionNetworkFirewallPolicies.
1638
+ #
1639
+ # By default, this returns an instance of
1640
+ # [Google::Cloud::Compute::V1::RegionNetworkFirewallPolicies::Rest::Client](https://googleapis.dev/ruby/google-cloud-compute-v1/latest/Google/Cloud/Compute/V1/RegionNetworkFirewallPolicies/Rest/Client.html)
1641
+ # for version V1 of the API.
1642
+ # However, you can specify specify a different API version by passing it in the
1643
+ # `version` parameter. If the RegionNetworkFirewallPolicies service is
1644
+ # supported by that API version, and the corresponding gem is available, the
1645
+ # appropriate versioned client will be returned.
1646
+ #
1647
+ # ## About RegionNetworkFirewallPolicies
1648
+ #
1649
+ # The RegionNetworkFirewallPolicies API.
1650
+ #
1651
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
1652
+ # Defaults to `:v1`.
1653
+ # @return [RegionNetworkFirewallPolicies::Rest::Client] A client object for the specified version.
1654
+ #
1655
+ def self.region_network_firewall_policies version: :v1, &block
1656
+ require "google/cloud/compute/#{version.to_s.downcase}"
1657
+
1658
+ package_name = Google::Cloud::Compute
1659
+ .constants
1660
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
1661
+ .first
1662
+ package_module = Google::Cloud::Compute.const_get package_name
1663
+ package_module.const_get(:RegionNetworkFirewallPolicies).const_get(:Rest).const_get(:Client).new(&block)
1664
+ end
1665
+
1576
1666
  ##
1577
1667
  # Create a new client object for RegionNotificationEndpoints.
1578
1668
  #
@@ -1633,6 +1723,36 @@ module Google
1633
1723
  package_module.const_get(:RegionOperations).const_get(:Rest).const_get(:Client).new(&block)
1634
1724
  end
1635
1725
 
1726
+ ##
1727
+ # Create a new client object for RegionSecurityPolicies.
1728
+ #
1729
+ # By default, this returns an instance of
1730
+ # [Google::Cloud::Compute::V1::RegionSecurityPolicies::Rest::Client](https://googleapis.dev/ruby/google-cloud-compute-v1/latest/Google/Cloud/Compute/V1/RegionSecurityPolicies/Rest/Client.html)
1731
+ # for version V1 of the API.
1732
+ # However, you can specify specify a different API version by passing it in the
1733
+ # `version` parameter. If the RegionSecurityPolicies service is
1734
+ # supported by that API version, and the corresponding gem is available, the
1735
+ # appropriate versioned client will be returned.
1736
+ #
1737
+ # ## About RegionSecurityPolicies
1738
+ #
1739
+ # The RegionSecurityPolicies API.
1740
+ #
1741
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
1742
+ # Defaults to `:v1`.
1743
+ # @return [RegionSecurityPolicies::Rest::Client] A client object for the specified version.
1744
+ #
1745
+ def self.region_security_policies version: :v1, &block
1746
+ require "google/cloud/compute/#{version.to_s.downcase}"
1747
+
1748
+ package_name = Google::Cloud::Compute
1749
+ .constants
1750
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
1751
+ .first
1752
+ package_module = Google::Cloud::Compute.const_get package_name
1753
+ package_module.const_get(:RegionSecurityPolicies).const_get(:Rest).const_get(:Client).new(&block)
1754
+ end
1755
+
1636
1756
  ##
1637
1757
  # Create a new client object for RegionSslCertificates.
1638
1758
  #
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: 0.2.0
4
+ version: 0.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: 2022-02-17 00:00:00.000000000 Z
11
+ date: 2022-04-19 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: '1.1'
19
+ version: '1.3'
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: '1.1'
26
+ version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-core
29
29
  requirement: !ruby/object:Gem::Requirement