google-apis-gkehub_v1 0.24.0 → 0.27.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: df9e290ef1e20352201ea040cb4ce96137849039c69158832356ef43192c57fb
4
- data.tar.gz: 848190fef3d3bff51e304f4e5e1420b5efacbbbca93943abd500caeae1ef6d4e
3
+ metadata.gz: 2fb57fb0553339bdcf7c6ed28a1681ed857e6e7634b9f79e07d6146bb9b13fd7
4
+ data.tar.gz: 349b860bb10a4e5915b6637355f58598d4c8f5f67b5b35b4e4ea590c84d70992
5
5
  SHA512:
6
- metadata.gz: a589fbfbc587a59d72482d6c060bf37f106b4279533b0c693d66d2fa99f5f350562c3e8f51e3427f042e260e190f9f095176fa8fd06f01ec4ec3bfc8561e490e
7
- data.tar.gz: a40b2dae13198da3f12c8eeb405bb49b453e601ffcb1cc4ce09c105912b4b69865d3acd505504d5c1a37c2fe28029186d29f380a95dd22fafb3f52ab4f2d4193
6
+ metadata.gz: 5fdb0fd3fffb3704ff9f59bb1a1471a72b3e7497a131d761e8ba7659b0339eefc3dba5cc54a790458faf1fdd2165274aba9bb43e8e265c91bbe961fe60e57a79
7
+ data.tar.gz: ffaf417f92ac35a80a731381f415c4265be189596fbdc00799d3562dda521a135b75e5ac48757abfc46413defae6210f3c5c3275d769109469ddd357a7c34f24
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.27.0 (2022-05-16)
4
+
5
+ * Regenerated from discovery document revision 20220505
6
+
7
+ ### v0.26.0 (2022-05-08)
8
+
9
+ * Regenerated from discovery document revision 20220429
10
+
11
+ ### v0.25.0 (2022-04-30)
12
+
13
+ * Regenerated from discovery document revision 20220422
14
+
3
15
  ### v0.24.0 (2022-04-16)
4
16
 
5
17
  * Regenerated from discovery document revision 20220408
@@ -22,6 +22,129 @@ module Google
22
22
  module Apis
23
23
  module GkehubV1
24
24
 
25
+ # AnthosVMMembershipSpec contains the AnthosVM feature configuration for a
26
+ # membership/cluster.
27
+ class AnthosVmMembershipSpec
28
+ include Google::Apis::Core::Hashable
29
+
30
+ # List of configurations of the Anthos For VM subfeatures that are to be enabled
31
+ # Corresponds to the JSON property `subfeaturesSpec`
32
+ # @return [Array<Google::Apis::GkehubV1::AnthosVmSubFeatureSpec>]
33
+ attr_accessor :subfeatures_spec
34
+
35
+ def initialize(**args)
36
+ update!(**args)
37
+ end
38
+
39
+ # Update properties of this object
40
+ def update!(**args)
41
+ @subfeatures_spec = args[:subfeatures_spec] if args.key?(:subfeatures_spec)
42
+ end
43
+ end
44
+
45
+ # AnthosVMFeatureState contains the state of the AnthosVM feature. It represents
46
+ # the actual state in the cluster, while the AnthosVMMembershipSpec represents
47
+ # the desired state.
48
+ class AnthosVmMembershipState
49
+ include Google::Apis::Core::Hashable
50
+
51
+ # LocalControllerState contains the state of the local controller deployed in
52
+ # the cluster.
53
+ # Corresponds to the JSON property `localControllerState`
54
+ # @return [Google::Apis::GkehubV1::LocalControllerState]
55
+ attr_accessor :local_controller_state
56
+
57
+ # List of AnthosVM subfeature states
58
+ # Corresponds to the JSON property `subfeatureState`
59
+ # @return [Array<Google::Apis::GkehubV1::AnthosVmSubFeatureState>]
60
+ attr_accessor :subfeature_state
61
+
62
+ def initialize(**args)
63
+ update!(**args)
64
+ end
65
+
66
+ # Update properties of this object
67
+ def update!(**args)
68
+ @local_controller_state = args[:local_controller_state] if args.key?(:local_controller_state)
69
+ @subfeature_state = args[:subfeature_state] if args.key?(:subfeature_state)
70
+ end
71
+ end
72
+
73
+ # AnthosVMSubFeatureSpec contains the subfeature configuration for a membership/
74
+ # cluster.
75
+ class AnthosVmSubFeatureSpec
76
+ include Google::Apis::Core::Hashable
77
+
78
+ # Indicates whether the subfeature should be enabled on the cluster or not. If
79
+ # set to true, the subfeature's control plane and resources will be installed in
80
+ # the cluster. If set to false, the oneof spec if present will be ignored and
81
+ # nothing will be installed in the cluster.
82
+ # Corresponds to the JSON property `enabled`
83
+ # @return [Boolean]
84
+ attr_accessor :enabled
85
+ alias_method :enabled?, :enabled
86
+
87
+ # MigrateSpec contains the migrate subfeature configuration.
88
+ # Corresponds to the JSON property `migrateSpec`
89
+ # @return [Google::Apis::GkehubV1::MigrateSpec]
90
+ attr_accessor :migrate_spec
91
+
92
+ # ServiceMeshSpec contains the serviceMesh subfeature configuration.
93
+ # Corresponds to the JSON property `serviceMeshSpec`
94
+ # @return [Google::Apis::GkehubV1::ServiceMeshSpec]
95
+ attr_accessor :service_mesh_spec
96
+
97
+ def initialize(**args)
98
+ update!(**args)
99
+ end
100
+
101
+ # Update properties of this object
102
+ def update!(**args)
103
+ @enabled = args[:enabled] if args.key?(:enabled)
104
+ @migrate_spec = args[:migrate_spec] if args.key?(:migrate_spec)
105
+ @service_mesh_spec = args[:service_mesh_spec] if args.key?(:service_mesh_spec)
106
+ end
107
+ end
108
+
109
+ # AnthosVMSubFeatureState contains the state of the AnthosVM subfeatures.
110
+ class AnthosVmSubFeatureState
111
+ include Google::Apis::Core::Hashable
112
+
113
+ # Description represents human readable description of the subfeature state. If
114
+ # the deployment failed, this should also contain the reason for the failure.
115
+ # Corresponds to the JSON property `description`
116
+ # @return [String]
117
+ attr_accessor :description
118
+
119
+ # InstallationState represents the state of installation of the subfeature in
120
+ # the cluster.
121
+ # Corresponds to the JSON property `installationState`
122
+ # @return [String]
123
+ attr_accessor :installation_state
124
+
125
+ # MigrateState contains the state of Migrate subfeature
126
+ # Corresponds to the JSON property `migrateState`
127
+ # @return [Google::Apis::GkehubV1::MigrateState]
128
+ attr_accessor :migrate_state
129
+
130
+ # ServiceMeshState contains the state of Service Mesh subfeature
131
+ # Corresponds to the JSON property `serviceMeshState`
132
+ # @return [Google::Apis::GkehubV1::ServiceMeshState]
133
+ attr_accessor :service_mesh_state
134
+
135
+ def initialize(**args)
136
+ update!(**args)
137
+ end
138
+
139
+ # Update properties of this object
140
+ def update!(**args)
141
+ @description = args[:description] if args.key?(:description)
142
+ @installation_state = args[:installation_state] if args.key?(:installation_state)
143
+ @migrate_state = args[:migrate_state] if args.key?(:migrate_state)
144
+ @service_mesh_state = args[:service_mesh_state] if args.key?(:service_mesh_state)
145
+ end
146
+ end
147
+
25
148
  # Spec for App Dev Experience Feature.
26
149
  class AppDevExperienceFeatureSpec
27
150
  include Google::Apis::Core::Hashable
@@ -67,8 +190,8 @@ module Google
67
190
  # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
68
191
  # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
69
192
  # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
70
- # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
71
- # DATA_WRITE logging.
193
+ # exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
194
+ # from DATA_WRITE logging.
72
195
  class AuditConfig
73
196
  include Google::Apis::Core::Hashable
74
197
 
@@ -1455,6 +1578,191 @@ module Google
1455
1578
  end
1456
1579
  end
1457
1580
 
1581
+ # Configuration of an auth method for a member/cluster. Only one authentication
1582
+ # method (e.g., OIDC and LDAP) can be set per AuthMethod.
1583
+ class IdentityServiceAuthMethod
1584
+ include Google::Apis::Core::Hashable
1585
+
1586
+ # Identifier for auth config.
1587
+ # Corresponds to the JSON property `name`
1588
+ # @return [String]
1589
+ attr_accessor :name
1590
+
1591
+ # Configuration for OIDC Auth flow.
1592
+ # Corresponds to the JSON property `oidcConfig`
1593
+ # @return [Google::Apis::GkehubV1::IdentityServiceOidcConfig]
1594
+ attr_accessor :oidc_config
1595
+
1596
+ # Proxy server address to use for auth method.
1597
+ # Corresponds to the JSON property `proxy`
1598
+ # @return [String]
1599
+ attr_accessor :proxy
1600
+
1601
+ def initialize(**args)
1602
+ update!(**args)
1603
+ end
1604
+
1605
+ # Update properties of this object
1606
+ def update!(**args)
1607
+ @name = args[:name] if args.key?(:name)
1608
+ @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
1609
+ @proxy = args[:proxy] if args.key?(:proxy)
1610
+ end
1611
+ end
1612
+
1613
+ # **Anthos Identity Service**: Configuration for a single Membership.
1614
+ class IdentityServiceMembershipSpec
1615
+ include Google::Apis::Core::Hashable
1616
+
1617
+ # A member may support multiple auth methods.
1618
+ # Corresponds to the JSON property `authMethods`
1619
+ # @return [Array<Google::Apis::GkehubV1::IdentityServiceAuthMethod>]
1620
+ attr_accessor :auth_methods
1621
+
1622
+ def initialize(**args)
1623
+ update!(**args)
1624
+ end
1625
+
1626
+ # Update properties of this object
1627
+ def update!(**args)
1628
+ @auth_methods = args[:auth_methods] if args.key?(:auth_methods)
1629
+ end
1630
+ end
1631
+
1632
+ # **Anthos Identity Service**: State for a single Membership.
1633
+ class IdentityServiceMembershipState
1634
+ include Google::Apis::Core::Hashable
1635
+
1636
+ # The reason of the failure.
1637
+ # Corresponds to the JSON property `failureReason`
1638
+ # @return [String]
1639
+ attr_accessor :failure_reason
1640
+
1641
+ # Installed AIS version. This is the AIS version installed on this member. The
1642
+ # values makes sense iff state is OK.
1643
+ # Corresponds to the JSON property `installedVersion`
1644
+ # @return [String]
1645
+ attr_accessor :installed_version
1646
+
1647
+ # **Anthos Identity Service**: Configuration for a single Membership.
1648
+ # Corresponds to the JSON property `memberConfig`
1649
+ # @return [Google::Apis::GkehubV1::IdentityServiceMembershipSpec]
1650
+ attr_accessor :member_config
1651
+
1652
+ # Deployment state on this member
1653
+ # Corresponds to the JSON property `state`
1654
+ # @return [String]
1655
+ attr_accessor :state
1656
+
1657
+ def initialize(**args)
1658
+ update!(**args)
1659
+ end
1660
+
1661
+ # Update properties of this object
1662
+ def update!(**args)
1663
+ @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
1664
+ @installed_version = args[:installed_version] if args.key?(:installed_version)
1665
+ @member_config = args[:member_config] if args.key?(:member_config)
1666
+ @state = args[:state] if args.key?(:state)
1667
+ end
1668
+ end
1669
+
1670
+ # Configuration for OIDC Auth flow.
1671
+ class IdentityServiceOidcConfig
1672
+ include Google::Apis::Core::Hashable
1673
+
1674
+ # PEM-encoded CA for OIDC provider.
1675
+ # Corresponds to the JSON property `certificateAuthorityData`
1676
+ # @return [String]
1677
+ attr_accessor :certificate_authority_data
1678
+
1679
+ # ID for OIDC client application.
1680
+ # Corresponds to the JSON property `clientId`
1681
+ # @return [String]
1682
+ attr_accessor :client_id
1683
+
1684
+ # Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
1685
+ # Corresponds to the JSON property `clientSecret`
1686
+ # @return [String]
1687
+ attr_accessor :client_secret
1688
+
1689
+ # Flag to denote if reverse proxy is used to connect to auth provider. This flag
1690
+ # should be set to true when provider is not reachable by Google Cloud Console.
1691
+ # Corresponds to the JSON property `deployCloudConsoleProxy`
1692
+ # @return [Boolean]
1693
+ attr_accessor :deploy_cloud_console_proxy
1694
+ alias_method :deploy_cloud_console_proxy?, :deploy_cloud_console_proxy
1695
+
1696
+ # Output only. Encrypted OIDC Client secret
1697
+ # Corresponds to the JSON property `encryptedClientSecret`
1698
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1699
+ # @return [String]
1700
+ attr_accessor :encrypted_client_secret
1701
+
1702
+ # Comma-separated list of key-value pairs.
1703
+ # Corresponds to the JSON property `extraParams`
1704
+ # @return [String]
1705
+ attr_accessor :extra_params
1706
+
1707
+ # Prefix to prepend to group name.
1708
+ # Corresponds to the JSON property `groupPrefix`
1709
+ # @return [String]
1710
+ attr_accessor :group_prefix
1711
+
1712
+ # Claim in OIDC ID token that holds group information.
1713
+ # Corresponds to the JSON property `groupsClaim`
1714
+ # @return [String]
1715
+ attr_accessor :groups_claim
1716
+
1717
+ # URI for the OIDC provider. This should point to the level below .well-known/
1718
+ # openid-configuration.
1719
+ # Corresponds to the JSON property `issuerUri`
1720
+ # @return [String]
1721
+ attr_accessor :issuer_uri
1722
+
1723
+ # Registered redirect uri to redirect users going through OAuth flow using
1724
+ # kubectl plugin.
1725
+ # Corresponds to the JSON property `kubectlRedirectUri`
1726
+ # @return [String]
1727
+ attr_accessor :kubectl_redirect_uri
1728
+
1729
+ # Comma-separated list of identifiers.
1730
+ # Corresponds to the JSON property `scopes`
1731
+ # @return [String]
1732
+ attr_accessor :scopes
1733
+
1734
+ # Claim in OIDC ID token that holds username.
1735
+ # Corresponds to the JSON property `userClaim`
1736
+ # @return [String]
1737
+ attr_accessor :user_claim
1738
+
1739
+ # Prefix to prepend to user name.
1740
+ # Corresponds to the JSON property `userPrefix`
1741
+ # @return [String]
1742
+ attr_accessor :user_prefix
1743
+
1744
+ def initialize(**args)
1745
+ update!(**args)
1746
+ end
1747
+
1748
+ # Update properties of this object
1749
+ def update!(**args)
1750
+ @certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
1751
+ @client_id = args[:client_id] if args.key?(:client_id)
1752
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
1753
+ @deploy_cloud_console_proxy = args[:deploy_cloud_console_proxy] if args.key?(:deploy_cloud_console_proxy)
1754
+ @encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
1755
+ @extra_params = args[:extra_params] if args.key?(:extra_params)
1756
+ @group_prefix = args[:group_prefix] if args.key?(:group_prefix)
1757
+ @groups_claim = args[:groups_claim] if args.key?(:groups_claim)
1758
+ @issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri)
1759
+ @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
1760
+ @scopes = args[:scopes] if args.key?(:scopes)
1761
+ @user_claim = args[:user_claim] if args.key?(:user_claim)
1762
+ @user_prefix = args[:user_prefix] if args.key?(:user_prefix)
1763
+ end
1764
+ end
1765
+
1458
1766
  # KubernetesMetadata provides informational metadata for Memberships
1459
1767
  # representing Kubernetes clusters.
1460
1768
  class KubernetesMetadata
@@ -1675,6 +1983,34 @@ module Google
1675
1983
  end
1676
1984
  end
1677
1985
 
1986
+ # LocalControllerState contains the state of the local controller deployed in
1987
+ # the cluster.
1988
+ class LocalControllerState
1989
+ include Google::Apis::Core::Hashable
1990
+
1991
+ # Description represents the human readable description of the current state of
1992
+ # the local PE controller
1993
+ # Corresponds to the JSON property `description`
1994
+ # @return [String]
1995
+ attr_accessor :description
1996
+
1997
+ # InstallationState represents the state of deployment of the local PE
1998
+ # controller in the cluster.
1999
+ # Corresponds to the JSON property `installationState`
2000
+ # @return [String]
2001
+ attr_accessor :installation_state
2002
+
2003
+ def initialize(**args)
2004
+ update!(**args)
2005
+ end
2006
+
2007
+ # Update properties of this object
2008
+ def update!(**args)
2009
+ @description = args[:description] if args.key?(:description)
2010
+ @installation_state = args[:installation_state] if args.key?(:installation_state)
2011
+ end
2012
+ end
2013
+
1678
2014
  # A resource that represents Google Cloud Platform location.
1679
2015
  class Location
1680
2016
  include Google::Apis::Core::Hashable
@@ -1883,12 +2219,23 @@ module Google
1883
2219
  class MembershipFeatureSpec
1884
2220
  include Google::Apis::Core::Hashable
1885
2221
 
2222
+ # AnthosVMMembershipSpec contains the AnthosVM feature configuration for a
2223
+ # membership/cluster.
2224
+ # Corresponds to the JSON property `anthosvm`
2225
+ # @return [Google::Apis::GkehubV1::AnthosVmMembershipSpec]
2226
+ attr_accessor :anthosvm
2227
+
1886
2228
  # **Anthos Config Management**: Configuration for a single cluster. Intended to
1887
2229
  # parallel the ConfigManagement CR.
1888
2230
  # Corresponds to the JSON property `configmanagement`
1889
2231
  # @return [Google::Apis::GkehubV1::ConfigManagementMembershipSpec]
1890
2232
  attr_accessor :configmanagement
1891
2233
 
2234
+ # **Anthos Identity Service**: Configuration for a single Membership.
2235
+ # Corresponds to the JSON property `identityservice`
2236
+ # @return [Google::Apis::GkehubV1::IdentityServiceMembershipSpec]
2237
+ attr_accessor :identityservice
2238
+
1892
2239
  # **Service Mesh**: Spec for a single Membership for the servicemesh feature
1893
2240
  # Corresponds to the JSON property `mesh`
1894
2241
  # @return [Google::Apis::GkehubV1::ServiceMeshMembershipSpec]
@@ -1900,7 +2247,9 @@ module Google
1900
2247
 
1901
2248
  # Update properties of this object
1902
2249
  def update!(**args)
2250
+ @anthosvm = args[:anthosvm] if args.key?(:anthosvm)
1903
2251
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
2252
+ @identityservice = args[:identityservice] if args.key?(:identityservice)
1904
2253
  @mesh = args[:mesh] if args.key?(:mesh)
1905
2254
  end
1906
2255
  end
@@ -1910,6 +2259,13 @@ module Google
1910
2259
  class MembershipFeatureState
1911
2260
  include Google::Apis::Core::Hashable
1912
2261
 
2262
+ # AnthosVMFeatureState contains the state of the AnthosVM feature. It represents
2263
+ # the actual state in the cluster, while the AnthosVMMembershipSpec represents
2264
+ # the desired state.
2265
+ # Corresponds to the JSON property `anthosvm`
2266
+ # @return [Google::Apis::GkehubV1::AnthosVmMembershipState]
2267
+ attr_accessor :anthosvm
2268
+
1913
2269
  # State for App Dev Exp Feature.
1914
2270
  # Corresponds to the JSON property `appdevexperience`
1915
2271
  # @return [Google::Apis::GkehubV1::AppDevExperienceFeatureState]
@@ -1920,6 +2276,11 @@ module Google
1920
2276
  # @return [Google::Apis::GkehubV1::ConfigManagementMembershipState]
1921
2277
  attr_accessor :configmanagement
1922
2278
 
2279
+ # **Anthos Identity Service**: State for a single Membership.
2280
+ # Corresponds to the JSON property `identityservice`
2281
+ # @return [Google::Apis::GkehubV1::IdentityServiceMembershipState]
2282
+ attr_accessor :identityservice
2283
+
1923
2284
  # **Service Mesh**: State for a single Membership, as analyzed by the Service
1924
2285
  # Mesh Hub Controller.
1925
2286
  # Corresponds to the JSON property `servicemesh`
@@ -1939,8 +2300,10 @@ module Google
1939
2300
 
1940
2301
  # Update properties of this object
1941
2302
  def update!(**args)
2303
+ @anthosvm = args[:anthosvm] if args.key?(:anthosvm)
1942
2304
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
1943
2305
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
2306
+ @identityservice = args[:identityservice] if args.key?(:identityservice)
1944
2307
  @servicemesh = args[:servicemesh] if args.key?(:servicemesh)
1945
2308
  @state = args[:state] if args.key?(:state)
1946
2309
  end
@@ -1965,6 +2328,32 @@ module Google
1965
2328
  end
1966
2329
  end
1967
2330
 
2331
+ # MigrateSpec contains the migrate subfeature configuration.
2332
+ class MigrateSpec
2333
+ include Google::Apis::Core::Hashable
2334
+
2335
+ def initialize(**args)
2336
+ update!(**args)
2337
+ end
2338
+
2339
+ # Update properties of this object
2340
+ def update!(**args)
2341
+ end
2342
+ end
2343
+
2344
+ # MigrateState contains the state of Migrate subfeature
2345
+ class MigrateState
2346
+ include Google::Apis::Core::Hashable
2347
+
2348
+ def initialize(**args)
2349
+ update!(**args)
2350
+ end
2351
+
2352
+ # Update properties of this object
2353
+ def update!(**args)
2354
+ end
2355
+ end
2356
+
1968
2357
  # MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
1969
2358
  class MultiCloudCluster
1970
2359
  include Google::Apis::Core::Hashable
@@ -2400,6 +2789,32 @@ module Google
2400
2789
  end
2401
2790
  end
2402
2791
 
2792
+ # ServiceMeshSpec contains the serviceMesh subfeature configuration.
2793
+ class ServiceMeshSpec
2794
+ include Google::Apis::Core::Hashable
2795
+
2796
+ def initialize(**args)
2797
+ update!(**args)
2798
+ end
2799
+
2800
+ # Update properties of this object
2801
+ def update!(**args)
2802
+ end
2803
+ end
2804
+
2805
+ # ServiceMeshState contains the state of Service Mesh subfeature
2806
+ class ServiceMeshState
2807
+ include Google::Apis::Core::Hashable
2808
+
2809
+ def initialize(**args)
2810
+ update!(**args)
2811
+ end
2812
+
2813
+ # Update properties of this object
2814
+ def update!(**args)
2815
+ end
2816
+ end
2817
+
2403
2818
  # Structured and human-readable details for a status.
2404
2819
  class ServiceMeshStatusDetails
2405
2820
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1
18
18
  # Version of the google-apis-gkehub_v1 gem
19
- GEM_VERSION = "0.24.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220408"
25
+ REVISION = "20220505"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,30 @@ module Google
22
22
  module Apis
23
23
  module GkehubV1
24
24
 
25
+ class AnthosVmMembershipSpec
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AnthosVmMembershipState
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AnthosVmSubFeatureSpec
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AnthosVmSubFeatureState
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
25
49
  class AppDevExperienceFeatureSpec
26
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
51
 
@@ -262,6 +286,30 @@ module Google
262
286
  include Google::Apis::Core::JsonObjectSupport
263
287
  end
264
288
 
289
+ class IdentityServiceAuthMethod
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class IdentityServiceMembershipSpec
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class IdentityServiceMembershipState
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class IdentityServiceOidcConfig
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
265
313
  class KubernetesMetadata
266
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
315
 
@@ -298,6 +346,12 @@ module Google
298
346
  include Google::Apis::Core::JsonObjectSupport
299
347
  end
300
348
 
349
+ class LocalControllerState
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
301
355
  class Location
302
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
357
 
@@ -334,6 +388,18 @@ module Google
334
388
  include Google::Apis::Core::JsonObjectSupport
335
389
  end
336
390
 
391
+ class MigrateSpec
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class MigrateState
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
337
403
  class MultiCloudCluster
338
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
405
 
@@ -400,6 +466,18 @@ module Google
400
466
  include Google::Apis::Core::JsonObjectSupport
401
467
  end
402
468
 
469
+ class ServiceMeshSpec
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class ServiceMeshState
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
403
481
  class ServiceMeshStatusDetails
404
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
483
 
@@ -436,6 +514,47 @@ module Google
436
514
  include Google::Apis::Core::JsonObjectSupport
437
515
  end
438
516
 
517
+ class AnthosVmMembershipSpec
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ collection :subfeatures_spec, as: 'subfeaturesSpec', class: Google::Apis::GkehubV1::AnthosVmSubFeatureSpec, decorator: Google::Apis::GkehubV1::AnthosVmSubFeatureSpec::Representation
521
+
522
+ end
523
+ end
524
+
525
+ class AnthosVmMembershipState
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ property :local_controller_state, as: 'localControllerState', class: Google::Apis::GkehubV1::LocalControllerState, decorator: Google::Apis::GkehubV1::LocalControllerState::Representation
529
+
530
+ collection :subfeature_state, as: 'subfeatureState', class: Google::Apis::GkehubV1::AnthosVmSubFeatureState, decorator: Google::Apis::GkehubV1::AnthosVmSubFeatureState::Representation
531
+
532
+ end
533
+ end
534
+
535
+ class AnthosVmSubFeatureSpec
536
+ # @private
537
+ class Representation < Google::Apis::Core::JsonRepresentation
538
+ property :enabled, as: 'enabled'
539
+ property :migrate_spec, as: 'migrateSpec', class: Google::Apis::GkehubV1::MigrateSpec, decorator: Google::Apis::GkehubV1::MigrateSpec::Representation
540
+
541
+ property :service_mesh_spec, as: 'serviceMeshSpec', class: Google::Apis::GkehubV1::ServiceMeshSpec, decorator: Google::Apis::GkehubV1::ServiceMeshSpec::Representation
542
+
543
+ end
544
+ end
545
+
546
+ class AnthosVmSubFeatureState
547
+ # @private
548
+ class Representation < Google::Apis::Core::JsonRepresentation
549
+ property :description, as: 'description'
550
+ property :installation_state, as: 'installationState'
551
+ property :migrate_state, as: 'migrateState', class: Google::Apis::GkehubV1::MigrateState, decorator: Google::Apis::GkehubV1::MigrateState::Representation
552
+
553
+ property :service_mesh_state, as: 'serviceMeshState', class: Google::Apis::GkehubV1::ServiceMeshState, decorator: Google::Apis::GkehubV1::ServiceMeshState::Representation
554
+
555
+ end
556
+ end
557
+
439
558
  class AppDevExperienceFeatureSpec
440
559
  # @private
441
560
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -833,6 +952,54 @@ module Google
833
952
  end
834
953
  end
835
954
 
955
+ class IdentityServiceAuthMethod
956
+ # @private
957
+ class Representation < Google::Apis::Core::JsonRepresentation
958
+ property :name, as: 'name'
959
+ property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1::IdentityServiceOidcConfig::Representation
960
+
961
+ property :proxy, as: 'proxy'
962
+ end
963
+ end
964
+
965
+ class IdentityServiceMembershipSpec
966
+ # @private
967
+ class Representation < Google::Apis::Core::JsonRepresentation
968
+ collection :auth_methods, as: 'authMethods', class: Google::Apis::GkehubV1::IdentityServiceAuthMethod, decorator: Google::Apis::GkehubV1::IdentityServiceAuthMethod::Representation
969
+
970
+ end
971
+ end
972
+
973
+ class IdentityServiceMembershipState
974
+ # @private
975
+ class Representation < Google::Apis::Core::JsonRepresentation
976
+ property :failure_reason, as: 'failureReason'
977
+ property :installed_version, as: 'installedVersion'
978
+ property :member_config, as: 'memberConfig', class: Google::Apis::GkehubV1::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1::IdentityServiceMembershipSpec::Representation
979
+
980
+ property :state, as: 'state'
981
+ end
982
+ end
983
+
984
+ class IdentityServiceOidcConfig
985
+ # @private
986
+ class Representation < Google::Apis::Core::JsonRepresentation
987
+ property :certificate_authority_data, as: 'certificateAuthorityData'
988
+ property :client_id, as: 'clientId'
989
+ property :client_secret, as: 'clientSecret'
990
+ property :deploy_cloud_console_proxy, as: 'deployCloudConsoleProxy'
991
+ property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
992
+ property :extra_params, as: 'extraParams'
993
+ property :group_prefix, as: 'groupPrefix'
994
+ property :groups_claim, as: 'groupsClaim'
995
+ property :issuer_uri, as: 'issuerUri'
996
+ property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
997
+ property :scopes, as: 'scopes'
998
+ property :user_claim, as: 'userClaim'
999
+ property :user_prefix, as: 'userPrefix'
1000
+ end
1001
+ end
1002
+
836
1003
  class KubernetesMetadata
837
1004
  # @private
838
1005
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -895,6 +1062,14 @@ module Google
895
1062
  end
896
1063
  end
897
1064
 
1065
+ class LocalControllerState
1066
+ # @private
1067
+ class Representation < Google::Apis::Core::JsonRepresentation
1068
+ property :description, as: 'description'
1069
+ property :installation_state, as: 'installationState'
1070
+ end
1071
+ end
1072
+
898
1073
  class Location
899
1074
  # @private
900
1075
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -948,8 +1123,12 @@ module Google
948
1123
  class MembershipFeatureSpec
949
1124
  # @private
950
1125
  class Representation < Google::Apis::Core::JsonRepresentation
1126
+ property :anthosvm, as: 'anthosvm', class: Google::Apis::GkehubV1::AnthosVmMembershipSpec, decorator: Google::Apis::GkehubV1::AnthosVmMembershipSpec::Representation
1127
+
951
1128
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1::ConfigManagementMembershipSpec::Representation
952
1129
 
1130
+ property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1::IdentityServiceMembershipSpec::Representation
1131
+
953
1132
  property :mesh, as: 'mesh', class: Google::Apis::GkehubV1::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1::ServiceMeshMembershipSpec::Representation
954
1133
 
955
1134
  end
@@ -958,10 +1137,14 @@ module Google
958
1137
  class MembershipFeatureState
959
1138
  # @private
960
1139
  class Representation < Google::Apis::Core::JsonRepresentation
1140
+ property :anthosvm, as: 'anthosvm', class: Google::Apis::GkehubV1::AnthosVmMembershipState, decorator: Google::Apis::GkehubV1::AnthosVmMembershipState::Representation
1141
+
961
1142
  property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1::AppDevExperienceFeatureState, decorator: Google::Apis::GkehubV1::AppDevExperienceFeatureState::Representation
962
1143
 
963
1144
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1::ConfigManagementMembershipState::Representation
964
1145
 
1146
+ property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1::IdentityServiceMembershipState, decorator: Google::Apis::GkehubV1::IdentityServiceMembershipState::Representation
1147
+
965
1148
  property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1::ServiceMeshMembershipState, decorator: Google::Apis::GkehubV1::ServiceMeshMembershipState::Representation
966
1149
 
967
1150
  property :state, as: 'state', class: Google::Apis::GkehubV1::FeatureState, decorator: Google::Apis::GkehubV1::FeatureState::Representation
@@ -976,6 +1159,18 @@ module Google
976
1159
  end
977
1160
  end
978
1161
 
1162
+ class MigrateSpec
1163
+ # @private
1164
+ class Representation < Google::Apis::Core::JsonRepresentation
1165
+ end
1166
+ end
1167
+
1168
+ class MigrateState
1169
+ # @private
1170
+ class Representation < Google::Apis::Core::JsonRepresentation
1171
+ end
1172
+ end
1173
+
979
1174
  class MultiCloudCluster
980
1175
  # @private
981
1176
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1078,6 +1273,18 @@ module Google
1078
1273
  end
1079
1274
  end
1080
1275
 
1276
+ class ServiceMeshSpec
1277
+ # @private
1278
+ class Representation < Google::Apis::Core::JsonRepresentation
1279
+ end
1280
+ end
1281
+
1282
+ class ServiceMeshState
1283
+ # @private
1284
+ class Representation < Google::Apis::Core::JsonRepresentation
1285
+ end
1286
+ end
1287
+
1081
1288
  class ServiceMeshStatusDetails
1082
1289
  # @private
1083
1290
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -253,8 +253,9 @@ module Google
253
253
  # Gets the access control policy for a resource. Returns an empty policy if the
254
254
  # resource exists and does not have a policy set.
255
255
  # @param [String] resource
256
- # REQUIRED: The resource for which the policy is being requested. See the
257
- # operation documentation for the appropriate value for this field.
256
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
257
+ # names](https://cloud.google.com/apis/design/resource_names) for the
258
+ # appropriate value for this field.
258
259
  # @param [Fixnum] options_requested_policy_version
259
260
  # Optional. The maximum policy version that will be used to format the policy.
260
261
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -398,8 +399,9 @@ module Google
398
399
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
399
400
  # PERMISSION_DENIED` errors.
400
401
  # @param [String] resource
401
- # REQUIRED: The resource for which the policy is being specified. See the
402
- # operation documentation for the appropriate value for this field.
402
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
403
+ # names](https://cloud.google.com/apis/design/resource_names) for the
404
+ # appropriate value for this field.
403
405
  # @param [Google::Apis::GkehubV1::SetIamPolicyRequest] set_iam_policy_request_object
404
406
  # @param [String] fields
405
407
  # Selector specifying which fields to include in a partial response.
@@ -436,8 +438,9 @@ module Google
436
438
  # permission-aware UIs and command-line tools, not for authorization checking.
437
439
  # This operation may "fail open" without warning.
438
440
  # @param [String] resource
439
- # REQUIRED: The resource for which the policy detail is being requested. See the
440
- # operation documentation for the appropriate value for this field.
441
+ # REQUIRED: The resource for which the policy detail is being requested. See [
442
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
443
+ # appropriate value for this field.
441
444
  # @param [Google::Apis::GkehubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
442
445
  # @param [String] fields
443
446
  # Selector specifying which fields to include in a partial response.
@@ -665,8 +668,9 @@ module Google
665
668
  # Gets the access control policy for a resource. Returns an empty policy if the
666
669
  # resource exists and does not have a policy set.
667
670
  # @param [String] resource
668
- # REQUIRED: The resource for which the policy is being requested. See the
669
- # operation documentation for the appropriate value for this field.
671
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
672
+ # names](https://cloud.google.com/apis/design/resource_names) for the
673
+ # appropriate value for this field.
670
674
  # @param [Fixnum] options_requested_policy_version
671
675
  # Optional. The maximum policy version that will be used to format the policy.
672
676
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -811,8 +815,9 @@ module Google
811
815
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
812
816
  # PERMISSION_DENIED` errors.
813
817
  # @param [String] resource
814
- # REQUIRED: The resource for which the policy is being specified. See the
815
- # operation documentation for the appropriate value for this field.
818
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
819
+ # names](https://cloud.google.com/apis/design/resource_names) for the
820
+ # appropriate value for this field.
816
821
  # @param [Google::Apis::GkehubV1::SetIamPolicyRequest] set_iam_policy_request_object
817
822
  # @param [String] fields
818
823
  # Selector specifying which fields to include in a partial response.
@@ -849,8 +854,9 @@ module Google
849
854
  # permission-aware UIs and command-line tools, not for authorization checking.
850
855
  # This operation may "fail open" without warning.
851
856
  # @param [String] resource
852
- # REQUIRED: The resource for which the policy detail is being requested. See the
853
- # operation documentation for the appropriate value for this field.
857
+ # REQUIRED: The resource for which the policy detail is being requested. See [
858
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
859
+ # appropriate value for this field.
854
860
  # @param [Google::Apis::GkehubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
855
861
  # @param [String] fields
856
862
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.27.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-04-18 00:00:00.000000000 Z
11
+ date: 2022-05-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-gkehub_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.27.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1
63
63
  post_install_message:
64
64
  rdoc_options: []