google-apis-gkeonprem_v1 0.6.0 → 0.8.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: 3337c0ae3b239e506d2d6ee9b5fb6b61700cd39218819f0f134df6090604c94b
4
- data.tar.gz: b14134761cd1353630c7c02d2430cd8ec388a158d5b63a75246bc92bb309965f
3
+ metadata.gz: 2b88803409c4352db0ba1e5ec95f86d0973595b808ff425ab734410ddda0a28b
4
+ data.tar.gz: ba194c2bdee1ee4acafe895a5f4483d2288e9e60396cb482893ca4b98d56dee8
5
5
  SHA512:
6
- metadata.gz: e885d6d4e7d190a3af3cdb8897fb791b0119207dfc75394fd5861f2f9805a0df2ae7f3663172e9b7d086cb5ccdfa32abc0b6f064b5de081421c08b0301ee79c6
7
- data.tar.gz: 96bd088858880bbf7b484fe65665ea1afd943ecdd86356ef26998bd10fa71ed1cb09d58d8d4e4def91d45728fc402b2aa4520f601e7169a82f2bb8b75374fa7f
6
+ metadata.gz: a9314f0e831f57eda7946e8db28394cbe01a12147c04f63b1d280656465eec0dfe1ed5002658e05eacb269e79cc16bfe53ebddf0c0d9133918632653dd6ca420
7
+ data.tar.gz: 676def8b323b57e4bc0699eb39e4377dea6e63d968e2effb27d9018f705aa1da4e05e4c103ad1150c0a60217b0f42d2c6d3ae14fa9ecb48e7a9cfc688173f84e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkeonprem_v1
2
2
 
3
+ ### v0.8.0 (2023-07-23)
4
+
5
+ * Regenerated from discovery document revision 20230717
6
+
7
+ ### v0.7.0 (2023-07-16)
8
+
9
+ * Regenerated from discovery document revision 20230705
10
+
3
11
  ### v0.6.0 (2023-07-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20230626
@@ -1833,8 +1833,7 @@ module Google
1833
1833
  class BareMetalParallelUpgradeConfig
1834
1834
  include Google::Apis::Core::Hashable
1835
1835
 
1836
- # Required. The maximum number of nodes that can be upgraded at once. Defaults
1837
- # to 1.
1836
+ # The maximum number of nodes that can be upgraded at once.
1838
1837
  # Corresponds to the JSON property `concurrentNodes`
1839
1838
  # @return [Fixnum]
1840
1839
  attr_accessor :concurrent_nodes
@@ -3782,6 +3781,12 @@ module Google
3782
3781
  # @return [Fixnum]
3783
3782
  attr_accessor :memory
3784
3783
 
3784
+ # The number of control plane nodes for this VMware admin cluster. (default: 1
3785
+ # replica).
3786
+ # Corresponds to the JSON property `replicas`
3787
+ # @return [Fixnum]
3788
+ attr_accessor :replicas
3789
+
3785
3790
  def initialize(**args)
3786
3791
  update!(**args)
3787
3792
  end
@@ -3790,6 +3795,7 @@ module Google
3790
3795
  def update!(**args)
3791
3796
  @cpus = args[:cpus] if args.key?(:cpus)
3792
3797
  @memory = args[:memory] if args.key?(:memory)
3798
+ @replicas = args[:replicas] if args.key?(:replicas)
3793
3799
  end
3794
3800
  end
3795
3801
 
@@ -3826,6 +3832,25 @@ module Google
3826
3832
  end
3827
3833
  end
3828
3834
 
3835
+ # Specifies HA admin control plane config.
3836
+ class VmwareAdminHaControlPlaneConfig
3837
+ include Google::Apis::Core::Hashable
3838
+
3839
+ # Represents a collection of IP addresses to assign to nodes.
3840
+ # Corresponds to the JSON property `controlPlaneIpBlock`
3841
+ # @return [Google::Apis::GkeonpremV1::VmwareIpBlock]
3842
+ attr_accessor :control_plane_ip_block
3843
+
3844
+ def initialize(**args)
3845
+ update!(**args)
3846
+ end
3847
+
3848
+ # Update properties of this object
3849
+ def update!(**args)
3850
+ @control_plane_ip_block = args[:control_plane_ip_block] if args.key?(:control_plane_ip_block)
3851
+ end
3852
+ end
3853
+
3829
3854
  # VmwareAdminLoadBalancerConfig contains load balancer configuration for VMware
3830
3855
  # admin cluster.
3831
3856
  class VmwareAdminLoadBalancerConfig
@@ -3848,6 +3873,26 @@ module Google
3848
3873
  # @return [Google::Apis::GkeonpremV1::VmwareAdminMetalLbConfig]
3849
3874
  attr_accessor :metal_lb_config
3850
3875
 
3876
+ # VmwareSeesawConfig represents configuration parameters for an already existing
3877
+ # Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will
3878
+ # not generate or update Seesaw configurations it can only bind a pre-existing
3879
+ # configuration to a new user cluster. IMPORTANT: When attempting to create a
3880
+ # user cluster with a pre-existing Seesaw load balancer you will need to follow
3881
+ # some preparation steps before calling the 'CreateVmwareCluster' API method.
3882
+ # First you will need to create the user cluster's namespace via kubectl. The
3883
+ # namespace will need to use the following naming convention : -gke-onprem-mgmt
3884
+ # or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.
3885
+ # local_name' to disambiguate collisions; for more context see the documentation
3886
+ # of 'VmwareCluster.local_name'. Once the namespace is created you will need to
3887
+ # create a secret resource via kubectl. This secret will contain copies of your
3888
+ # Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain
3889
+ # Seesaw's SSH and Cert credentials. The credentials must be keyed with the
3890
+ # following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-
3891
+ # ssh-ca-key', 'seesaw-ssh-ca-cert'.
3892
+ # Corresponds to the JSON property `seesawConfig`
3893
+ # @return [Google::Apis::GkeonpremV1::VmwareAdminSeesawConfig]
3894
+ attr_accessor :seesaw_config
3895
+
3851
3896
  # VmwareAdminVipConfig for VMware load balancer configurations.
3852
3897
  # Corresponds to the JSON property `vipConfig`
3853
3898
  # @return [Google::Apis::GkeonpremV1::VmwareAdminVipConfig]
@@ -3862,6 +3907,7 @@ module Google
3862
3907
  @f5_config = args[:f5_config] if args.key?(:f5_config)
3863
3908
  @manual_lb_config = args[:manual_lb_config] if args.key?(:manual_lb_config)
3864
3909
  @metal_lb_config = args[:metal_lb_config] if args.key?(:metal_lb_config)
3910
+ @seesaw_config = args[:seesaw_config] if args.key?(:seesaw_config)
3865
3911
  @vip_config = args[:vip_config] if args.key?(:vip_config)
3866
3912
  end
3867
3913
  end
@@ -3938,6 +3984,11 @@ module Google
3938
3984
  # @return [Google::Apis::GkeonpremV1::VmwareDhcpIpConfig]
3939
3985
  attr_accessor :dhcp_ip_config
3940
3986
 
3987
+ # Specifies HA admin control plane config.
3988
+ # Corresponds to the JSON property `haControlPlaneConfig`
3989
+ # @return [Google::Apis::GkeonpremV1::VmwareAdminHaControlPlaneConfig]
3990
+ attr_accessor :ha_control_plane_config
3991
+
3941
3992
  # Represents the common parameters for all the hosts irrespective of their IP
3942
3993
  # address.
3943
3994
  # Corresponds to the JSON property `hostConfig`
@@ -3976,6 +4027,7 @@ module Google
3976
4027
  # Update properties of this object
3977
4028
  def update!(**args)
3978
4029
  @dhcp_ip_config = args[:dhcp_ip_config] if args.key?(:dhcp_ip_config)
4030
+ @ha_control_plane_config = args[:ha_control_plane_config] if args.key?(:ha_control_plane_config)
3979
4031
  @host_config = args[:host_config] if args.key?(:host_config)
3980
4032
  @pod_address_cidr_blocks = args[:pod_address_cidr_blocks] if args.key?(:pod_address_cidr_blocks)
3981
4033
  @service_address_cidr_blocks = args[:service_address_cidr_blocks] if args.key?(:service_address_cidr_blocks)
@@ -3984,6 +4036,67 @@ module Google
3984
4036
  end
3985
4037
  end
3986
4038
 
4039
+ # VmwareSeesawConfig represents configuration parameters for an already existing
4040
+ # Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will
4041
+ # not generate or update Seesaw configurations it can only bind a pre-existing
4042
+ # configuration to a new user cluster. IMPORTANT: When attempting to create a
4043
+ # user cluster with a pre-existing Seesaw load balancer you will need to follow
4044
+ # some preparation steps before calling the 'CreateVmwareCluster' API method.
4045
+ # First you will need to create the user cluster's namespace via kubectl. The
4046
+ # namespace will need to use the following naming convention : -gke-onprem-mgmt
4047
+ # or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.
4048
+ # local_name' to disambiguate collisions; for more context see the documentation
4049
+ # of 'VmwareCluster.local_name'. Once the namespace is created you will need to
4050
+ # create a secret resource via kubectl. This secret will contain copies of your
4051
+ # Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain
4052
+ # Seesaw's SSH and Cert credentials. The credentials must be keyed with the
4053
+ # following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-
4054
+ # ssh-ca-key', 'seesaw-ssh-ca-cert'.
4055
+ class VmwareAdminSeesawConfig
4056
+ include Google::Apis::Core::Hashable
4057
+
4058
+ # Enable two load balancer VMs to achieve a highly-available Seesaw load
4059
+ # balancer.
4060
+ # Corresponds to the JSON property `enableHa`
4061
+ # @return [Boolean]
4062
+ attr_accessor :enable_ha
4063
+ alias_method :enable_ha?, :enable_ha
4064
+
4065
+ # In general the following format should be used for the Seesaw group name:
4066
+ # seesaw-for-[cluster_name].
4067
+ # Corresponds to the JSON property `group`
4068
+ # @return [String]
4069
+ attr_accessor :group
4070
+
4071
+ # The IP Blocks to be used by the Seesaw load balancer
4072
+ # Corresponds to the JSON property `ipBlocks`
4073
+ # @return [Array<Google::Apis::GkeonpremV1::VmwareIpBlock>]
4074
+ attr_accessor :ip_blocks
4075
+
4076
+ # MasterIP is the IP announced by the master of Seesaw group.
4077
+ # Corresponds to the JSON property `masterIp`
4078
+ # @return [String]
4079
+ attr_accessor :master_ip
4080
+
4081
+ # Names of the VMs created for this Seesaw group.
4082
+ # Corresponds to the JSON property `vms`
4083
+ # @return [Array<String>]
4084
+ attr_accessor :vms
4085
+
4086
+ def initialize(**args)
4087
+ update!(**args)
4088
+ end
4089
+
4090
+ # Update properties of this object
4091
+ def update!(**args)
4092
+ @enable_ha = args[:enable_ha] if args.key?(:enable_ha)
4093
+ @group = args[:group] if args.key?(:group)
4094
+ @ip_blocks = args[:ip_blocks] if args.key?(:ip_blocks)
4095
+ @master_ip = args[:master_ip] if args.key?(:master_ip)
4096
+ @vms = args[:vms] if args.key?(:vms)
4097
+ end
4098
+ end
4099
+
3987
4100
  # VmwareAdminVCenterConfig contains VCenter configuration for VMware admin
3988
4101
  # cluster.
3989
4102
  class VmwareAdminVCenterConfig
@@ -4432,11 +4545,6 @@ module Google
4432
4545
  # @return [String]
4433
4546
  attr_accessor :datastore
4434
4547
 
4435
- # The Vsphere storage policy used by the control plane Node.
4436
- # Corresponds to the JSON property `storagePolicyName`
4437
- # @return [String]
4438
- attr_accessor :storage_policy_name
4439
-
4440
4548
  def initialize(**args)
4441
4549
  update!(**args)
4442
4550
  end
@@ -4444,7 +4552,6 @@ module Google
4444
4552
  # Update properties of this object
4445
4553
  def update!(**args)
4446
4554
  @datastore = args[:datastore] if args.key?(:datastore)
4447
- @storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
4448
4555
  end
4449
4556
  end
4450
4557
 
@@ -5137,11 +5244,6 @@ module Google
5137
5244
  # @return [String]
5138
5245
  attr_accessor :resource_pool
5139
5246
 
5140
- # The name of the vCenter storage policy for the user cluster.
5141
- # Corresponds to the JSON property `storagePolicyName`
5142
- # @return [String]
5143
- attr_accessor :storage_policy_name
5144
-
5145
5247
  def initialize(**args)
5146
5248
  update!(**args)
5147
5249
  end
@@ -5155,7 +5257,6 @@ module Google
5155
5257
  @datastore = args[:datastore] if args.key?(:datastore)
5156
5258
  @folder = args[:folder] if args.key?(:folder)
5157
5259
  @resource_pool = args[:resource_pool] if args.key?(:resource_pool)
5158
- @storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
5159
5260
  end
5160
5261
  end
5161
5262
 
@@ -5231,11 +5332,6 @@ module Google
5231
5332
  # @return [String]
5232
5333
  attr_accessor :datastore
5233
5334
 
5234
- # The name of the vCenter storage policy. Inherited from the user cluster.
5235
- # Corresponds to the JSON property `storagePolicyName`
5236
- # @return [String]
5237
- attr_accessor :storage_policy_name
5238
-
5239
5335
  # Tags to apply to VMs.
5240
5336
  # Corresponds to the JSON property `tags`
5241
5337
  # @return [Array<Google::Apis::GkeonpremV1::VmwareVsphereTag>]
@@ -5248,7 +5344,6 @@ module Google
5248
5344
  # Update properties of this object
5249
5345
  def update!(**args)
5250
5346
  @datastore = args[:datastore] if args.key?(:datastore)
5251
- @storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
5252
5347
  @tags = args[:tags] if args.key?(:tags)
5253
5348
  end
5254
5349
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkeonpremV1
18
18
  # Version of the google-apis-gkeonprem_v1 gem
19
- GEM_VERSION = "0.6.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230626"
25
+ REVISION = "20230717"
26
26
  end
27
27
  end
28
28
  end
@@ -670,6 +670,12 @@ module Google
670
670
  include Google::Apis::Core::JsonObjectSupport
671
671
  end
672
672
 
673
+ class VmwareAdminHaControlPlaneConfig
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
673
679
  class VmwareAdminLoadBalancerConfig
674
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
675
681
 
@@ -694,6 +700,12 @@ module Google
694
700
  include Google::Apis::Core::JsonObjectSupport
695
701
  end
696
702
 
703
+ class VmwareAdminSeesawConfig
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
697
709
  class VmwareAdminVCenterConfig
698
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
699
711
 
@@ -1938,6 +1950,7 @@ module Google
1938
1950
  class Representation < Google::Apis::Core::JsonRepresentation
1939
1951
  property :cpus, :numeric_string => true, as: 'cpus'
1940
1952
  property :memory, :numeric_string => true, as: 'memory'
1953
+ property :replicas, :numeric_string => true, as: 'replicas'
1941
1954
  end
1942
1955
  end
1943
1956
 
@@ -1950,6 +1963,14 @@ module Google
1950
1963
  end
1951
1964
  end
1952
1965
 
1966
+ class VmwareAdminHaControlPlaneConfig
1967
+ # @private
1968
+ class Representation < Google::Apis::Core::JsonRepresentation
1969
+ property :control_plane_ip_block, as: 'controlPlaneIpBlock', class: Google::Apis::GkeonpremV1::VmwareIpBlock, decorator: Google::Apis::GkeonpremV1::VmwareIpBlock::Representation
1970
+
1971
+ end
1972
+ end
1973
+
1953
1974
  class VmwareAdminLoadBalancerConfig
1954
1975
  # @private
1955
1976
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1959,6 +1980,8 @@ module Google
1959
1980
 
1960
1981
  property :metal_lb_config, as: 'metalLbConfig', class: Google::Apis::GkeonpremV1::VmwareAdminMetalLbConfig, decorator: Google::Apis::GkeonpremV1::VmwareAdminMetalLbConfig::Representation
1961
1982
 
1983
+ property :seesaw_config, as: 'seesawConfig', class: Google::Apis::GkeonpremV1::VmwareAdminSeesawConfig, decorator: Google::Apis::GkeonpremV1::VmwareAdminSeesawConfig::Representation
1984
+
1962
1985
  property :vip_config, as: 'vipConfig', class: Google::Apis::GkeonpremV1::VmwareAdminVipConfig, decorator: Google::Apis::GkeonpremV1::VmwareAdminVipConfig::Representation
1963
1986
 
1964
1987
  end
@@ -1986,6 +2009,8 @@ module Google
1986
2009
  class Representation < Google::Apis::Core::JsonRepresentation
1987
2010
  property :dhcp_ip_config, as: 'dhcpIpConfig', class: Google::Apis::GkeonpremV1::VmwareDhcpIpConfig, decorator: Google::Apis::GkeonpremV1::VmwareDhcpIpConfig::Representation
1988
2011
 
2012
+ property :ha_control_plane_config, as: 'haControlPlaneConfig', class: Google::Apis::GkeonpremV1::VmwareAdminHaControlPlaneConfig, decorator: Google::Apis::GkeonpremV1::VmwareAdminHaControlPlaneConfig::Representation
2013
+
1989
2014
  property :host_config, as: 'hostConfig', class: Google::Apis::GkeonpremV1::VmwareHostConfig, decorator: Google::Apis::GkeonpremV1::VmwareHostConfig::Representation
1990
2015
 
1991
2016
  collection :pod_address_cidr_blocks, as: 'podAddressCidrBlocks'
@@ -1996,6 +2021,18 @@ module Google
1996
2021
  end
1997
2022
  end
1998
2023
 
2024
+ class VmwareAdminSeesawConfig
2025
+ # @private
2026
+ class Representation < Google::Apis::Core::JsonRepresentation
2027
+ property :enable_ha, as: 'enableHa'
2028
+ property :group, as: 'group'
2029
+ collection :ip_blocks, as: 'ipBlocks', class: Google::Apis::GkeonpremV1::VmwareIpBlock, decorator: Google::Apis::GkeonpremV1::VmwareIpBlock::Representation
2030
+
2031
+ property :master_ip, as: 'masterIp'
2032
+ collection :vms, as: 'vms'
2033
+ end
2034
+ end
2035
+
1999
2036
  class VmwareAdminVCenterConfig
2000
2037
  # @private
2001
2038
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2113,7 +2150,6 @@ module Google
2113
2150
  # @private
2114
2151
  class Representation < Google::Apis::Core::JsonRepresentation
2115
2152
  property :datastore, as: 'datastore'
2116
- property :storage_policy_name, as: 'storagePolicyName'
2117
2153
  end
2118
2154
  end
2119
2155
 
@@ -2304,7 +2340,6 @@ module Google
2304
2340
  property :datastore, as: 'datastore'
2305
2341
  property :folder, as: 'folder'
2306
2342
  property :resource_pool, as: 'resourcePool'
2307
- property :storage_policy_name, as: 'storagePolicyName'
2308
2343
  end
2309
2344
  end
2310
2345
 
@@ -2329,7 +2364,6 @@ module Google
2329
2364
  # @private
2330
2365
  class Representation < Google::Apis::Core::JsonRepresentation
2331
2366
  property :datastore, as: 'datastore'
2332
- property :storage_policy_name, as: 'storagePolicyName'
2333
2367
  collection :tags, as: 'tags', class: Google::Apis::GkeonpremV1::VmwareVsphereTag, decorator: Google::Apis::GkeonpremV1::VmwareVsphereTag::Representation
2334
2368
 
2335
2369
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkeonprem_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.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: 2023-07-02 00:00:00.000000000 Z
11
+ date: 2023-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkeonprem_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkeonprem_v1/v0.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkeonprem_v1/v0.8.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkeonprem_v1
63
63
  post_install_message:
64
64
  rdoc_options: []