google-apis-gkehub_v1 0.24.0 → 0.25.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: 8093a203ab2412e0557a143d245388a1d6457b2186de6555ac3f581e7b2f8747
4
+ data.tar.gz: 11a3a7732663c082fd4c1647426540ec6ef25ba1a3089bcad9dd1cbc2dfafb95
5
5
  SHA512:
6
- metadata.gz: a589fbfbc587a59d72482d6c060bf37f106b4279533b0c693d66d2fa99f5f350562c3e8f51e3427f042e260e190f9f095176fa8fd06f01ec4ec3bfc8561e490e
7
- data.tar.gz: a40b2dae13198da3f12c8eeb405bb49b453e601ffcb1cc4ce09c105912b4b69865d3acd505504d5c1a37c2fe28029186d29f380a95dd22fafb3f52ab4f2d4193
6
+ metadata.gz: 71b612ffc175c46653f46db93c2566bf50391253dcf19cbf7044fcbeb75c73899351b6d06c7172c66f49ac6e67f4fd927130d6fbc16f46acc152ac522e12fbbf
7
+ data.tar.gz: 9cfe9dfaac24bd4ae314a842557734e806d05858a4872990817d78554675b305b8ce42f853957f1c6f9196fb6410051c68026a9779fc46629ca80e5b36e26692
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.25.0 (2022-04-30)
4
+
5
+ * Regenerated from discovery document revision 20220422
6
+
3
7
  ### v0.24.0 (2022-04-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20220408
@@ -1455,6 +1455,191 @@ module Google
1455
1455
  end
1456
1456
  end
1457
1457
 
1458
+ # Configuration of an auth method for a member/cluster. Only one authentication
1459
+ # method (e.g., OIDC and LDAP) can be set per AuthMethod.
1460
+ class IdentityServiceAuthMethod
1461
+ include Google::Apis::Core::Hashable
1462
+
1463
+ # Identifier for auth config.
1464
+ # Corresponds to the JSON property `name`
1465
+ # @return [String]
1466
+ attr_accessor :name
1467
+
1468
+ # Configuration for OIDC Auth flow.
1469
+ # Corresponds to the JSON property `oidcConfig`
1470
+ # @return [Google::Apis::GkehubV1::IdentityServiceOidcConfig]
1471
+ attr_accessor :oidc_config
1472
+
1473
+ # Proxy server address to use for auth method.
1474
+ # Corresponds to the JSON property `proxy`
1475
+ # @return [String]
1476
+ attr_accessor :proxy
1477
+
1478
+ def initialize(**args)
1479
+ update!(**args)
1480
+ end
1481
+
1482
+ # Update properties of this object
1483
+ def update!(**args)
1484
+ @name = args[:name] if args.key?(:name)
1485
+ @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
1486
+ @proxy = args[:proxy] if args.key?(:proxy)
1487
+ end
1488
+ end
1489
+
1490
+ # **Anthos Identity Service**: Configuration for a single Membership.
1491
+ class IdentityServiceMembershipSpec
1492
+ include Google::Apis::Core::Hashable
1493
+
1494
+ # A member may support multiple auth methods.
1495
+ # Corresponds to the JSON property `authMethods`
1496
+ # @return [Array<Google::Apis::GkehubV1::IdentityServiceAuthMethod>]
1497
+ attr_accessor :auth_methods
1498
+
1499
+ def initialize(**args)
1500
+ update!(**args)
1501
+ end
1502
+
1503
+ # Update properties of this object
1504
+ def update!(**args)
1505
+ @auth_methods = args[:auth_methods] if args.key?(:auth_methods)
1506
+ end
1507
+ end
1508
+
1509
+ # **Anthos Identity Service**: State for a single Membership.
1510
+ class IdentityServiceMembershipState
1511
+ include Google::Apis::Core::Hashable
1512
+
1513
+ # The reason of the failure.
1514
+ # Corresponds to the JSON property `failureReason`
1515
+ # @return [String]
1516
+ attr_accessor :failure_reason
1517
+
1518
+ # Installed AIS version. This is the AIS version installed on this member. The
1519
+ # values makes sense iff state is OK.
1520
+ # Corresponds to the JSON property `installedVersion`
1521
+ # @return [String]
1522
+ attr_accessor :installed_version
1523
+
1524
+ # **Anthos Identity Service**: Configuration for a single Membership.
1525
+ # Corresponds to the JSON property `memberConfig`
1526
+ # @return [Google::Apis::GkehubV1::IdentityServiceMembershipSpec]
1527
+ attr_accessor :member_config
1528
+
1529
+ # Deployment state on this member
1530
+ # Corresponds to the JSON property `state`
1531
+ # @return [String]
1532
+ attr_accessor :state
1533
+
1534
+ def initialize(**args)
1535
+ update!(**args)
1536
+ end
1537
+
1538
+ # Update properties of this object
1539
+ def update!(**args)
1540
+ @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
1541
+ @installed_version = args[:installed_version] if args.key?(:installed_version)
1542
+ @member_config = args[:member_config] if args.key?(:member_config)
1543
+ @state = args[:state] if args.key?(:state)
1544
+ end
1545
+ end
1546
+
1547
+ # Configuration for OIDC Auth flow.
1548
+ class IdentityServiceOidcConfig
1549
+ include Google::Apis::Core::Hashable
1550
+
1551
+ # PEM-encoded CA for OIDC provider.
1552
+ # Corresponds to the JSON property `certificateAuthorityData`
1553
+ # @return [String]
1554
+ attr_accessor :certificate_authority_data
1555
+
1556
+ # ID for OIDC client application.
1557
+ # Corresponds to the JSON property `clientId`
1558
+ # @return [String]
1559
+ attr_accessor :client_id
1560
+
1561
+ # Input only. Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
1562
+ # Corresponds to the JSON property `clientSecret`
1563
+ # @return [String]
1564
+ attr_accessor :client_secret
1565
+
1566
+ # Flag to denote if reverse proxy is used to connect to auth provider. This flag
1567
+ # should be set to true when provider is not reachable by Google Cloud Console.
1568
+ # Corresponds to the JSON property `deployCloudConsoleProxy`
1569
+ # @return [Boolean]
1570
+ attr_accessor :deploy_cloud_console_proxy
1571
+ alias_method :deploy_cloud_console_proxy?, :deploy_cloud_console_proxy
1572
+
1573
+ # Output only. Encrypted OIDC Client secret
1574
+ # Corresponds to the JSON property `encryptedClientSecret`
1575
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1576
+ # @return [String]
1577
+ attr_accessor :encrypted_client_secret
1578
+
1579
+ # Comma-separated list of key-value pairs.
1580
+ # Corresponds to the JSON property `extraParams`
1581
+ # @return [String]
1582
+ attr_accessor :extra_params
1583
+
1584
+ # Prefix to prepend to group name.
1585
+ # Corresponds to the JSON property `groupPrefix`
1586
+ # @return [String]
1587
+ attr_accessor :group_prefix
1588
+
1589
+ # Claim in OIDC ID token that holds group information.
1590
+ # Corresponds to the JSON property `groupsClaim`
1591
+ # @return [String]
1592
+ attr_accessor :groups_claim
1593
+
1594
+ # URI for the OIDC provider. This should point to the level below .well-known/
1595
+ # openid-configuration.
1596
+ # Corresponds to the JSON property `issuerUri`
1597
+ # @return [String]
1598
+ attr_accessor :issuer_uri
1599
+
1600
+ # Registered redirect uri to redirect users going through OAuth flow using
1601
+ # kubectl plugin.
1602
+ # Corresponds to the JSON property `kubectlRedirectUri`
1603
+ # @return [String]
1604
+ attr_accessor :kubectl_redirect_uri
1605
+
1606
+ # Comma-separated list of identifiers.
1607
+ # Corresponds to the JSON property `scopes`
1608
+ # @return [String]
1609
+ attr_accessor :scopes
1610
+
1611
+ # Claim in OIDC ID token that holds username.
1612
+ # Corresponds to the JSON property `userClaim`
1613
+ # @return [String]
1614
+ attr_accessor :user_claim
1615
+
1616
+ # Prefix to prepend to user name.
1617
+ # Corresponds to the JSON property `userPrefix`
1618
+ # @return [String]
1619
+ attr_accessor :user_prefix
1620
+
1621
+ def initialize(**args)
1622
+ update!(**args)
1623
+ end
1624
+
1625
+ # Update properties of this object
1626
+ def update!(**args)
1627
+ @certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
1628
+ @client_id = args[:client_id] if args.key?(:client_id)
1629
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
1630
+ @deploy_cloud_console_proxy = args[:deploy_cloud_console_proxy] if args.key?(:deploy_cloud_console_proxy)
1631
+ @encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
1632
+ @extra_params = args[:extra_params] if args.key?(:extra_params)
1633
+ @group_prefix = args[:group_prefix] if args.key?(:group_prefix)
1634
+ @groups_claim = args[:groups_claim] if args.key?(:groups_claim)
1635
+ @issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri)
1636
+ @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
1637
+ @scopes = args[:scopes] if args.key?(:scopes)
1638
+ @user_claim = args[:user_claim] if args.key?(:user_claim)
1639
+ @user_prefix = args[:user_prefix] if args.key?(:user_prefix)
1640
+ end
1641
+ end
1642
+
1458
1643
  # KubernetesMetadata provides informational metadata for Memberships
1459
1644
  # representing Kubernetes clusters.
1460
1645
  class KubernetesMetadata
@@ -1889,6 +2074,11 @@ module Google
1889
2074
  # @return [Google::Apis::GkehubV1::ConfigManagementMembershipSpec]
1890
2075
  attr_accessor :configmanagement
1891
2076
 
2077
+ # **Anthos Identity Service**: Configuration for a single Membership.
2078
+ # Corresponds to the JSON property `identityservice`
2079
+ # @return [Google::Apis::GkehubV1::IdentityServiceMembershipSpec]
2080
+ attr_accessor :identityservice
2081
+
1892
2082
  # **Service Mesh**: Spec for a single Membership for the servicemesh feature
1893
2083
  # Corresponds to the JSON property `mesh`
1894
2084
  # @return [Google::Apis::GkehubV1::ServiceMeshMembershipSpec]
@@ -1901,6 +2091,7 @@ module Google
1901
2091
  # Update properties of this object
1902
2092
  def update!(**args)
1903
2093
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
2094
+ @identityservice = args[:identityservice] if args.key?(:identityservice)
1904
2095
  @mesh = args[:mesh] if args.key?(:mesh)
1905
2096
  end
1906
2097
  end
@@ -1920,6 +2111,11 @@ module Google
1920
2111
  # @return [Google::Apis::GkehubV1::ConfigManagementMembershipState]
1921
2112
  attr_accessor :configmanagement
1922
2113
 
2114
+ # **Anthos Identity Service**: State for a single Membership.
2115
+ # Corresponds to the JSON property `identityservice`
2116
+ # @return [Google::Apis::GkehubV1::IdentityServiceMembershipState]
2117
+ attr_accessor :identityservice
2118
+
1923
2119
  # **Service Mesh**: State for a single Membership, as analyzed by the Service
1924
2120
  # Mesh Hub Controller.
1925
2121
  # Corresponds to the JSON property `servicemesh`
@@ -1941,6 +2137,7 @@ module Google
1941
2137
  def update!(**args)
1942
2138
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
1943
2139
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
2140
+ @identityservice = args[:identityservice] if args.key?(:identityservice)
1944
2141
  @servicemesh = args[:servicemesh] if args.key?(:servicemesh)
1945
2142
  @state = args[:state] if args.key?(:state)
1946
2143
  end
@@ -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.25.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 = "20220422"
26
26
  end
27
27
  end
28
28
  end
@@ -262,6 +262,30 @@ module Google
262
262
  include Google::Apis::Core::JsonObjectSupport
263
263
  end
264
264
 
265
+ class IdentityServiceAuthMethod
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class IdentityServiceMembershipSpec
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class IdentityServiceMembershipState
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class IdentityServiceOidcConfig
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
265
289
  class KubernetesMetadata
266
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
291
 
@@ -833,6 +857,54 @@ module Google
833
857
  end
834
858
  end
835
859
 
860
+ class IdentityServiceAuthMethod
861
+ # @private
862
+ class Representation < Google::Apis::Core::JsonRepresentation
863
+ property :name, as: 'name'
864
+ property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1::IdentityServiceOidcConfig::Representation
865
+
866
+ property :proxy, as: 'proxy'
867
+ end
868
+ end
869
+
870
+ class IdentityServiceMembershipSpec
871
+ # @private
872
+ class Representation < Google::Apis::Core::JsonRepresentation
873
+ collection :auth_methods, as: 'authMethods', class: Google::Apis::GkehubV1::IdentityServiceAuthMethod, decorator: Google::Apis::GkehubV1::IdentityServiceAuthMethod::Representation
874
+
875
+ end
876
+ end
877
+
878
+ class IdentityServiceMembershipState
879
+ # @private
880
+ class Representation < Google::Apis::Core::JsonRepresentation
881
+ property :failure_reason, as: 'failureReason'
882
+ property :installed_version, as: 'installedVersion'
883
+ property :member_config, as: 'memberConfig', class: Google::Apis::GkehubV1::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1::IdentityServiceMembershipSpec::Representation
884
+
885
+ property :state, as: 'state'
886
+ end
887
+ end
888
+
889
+ class IdentityServiceOidcConfig
890
+ # @private
891
+ class Representation < Google::Apis::Core::JsonRepresentation
892
+ property :certificate_authority_data, as: 'certificateAuthorityData'
893
+ property :client_id, as: 'clientId'
894
+ property :client_secret, as: 'clientSecret'
895
+ property :deploy_cloud_console_proxy, as: 'deployCloudConsoleProxy'
896
+ property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
897
+ property :extra_params, as: 'extraParams'
898
+ property :group_prefix, as: 'groupPrefix'
899
+ property :groups_claim, as: 'groupsClaim'
900
+ property :issuer_uri, as: 'issuerUri'
901
+ property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
902
+ property :scopes, as: 'scopes'
903
+ property :user_claim, as: 'userClaim'
904
+ property :user_prefix, as: 'userPrefix'
905
+ end
906
+ end
907
+
836
908
  class KubernetesMetadata
837
909
  # @private
838
910
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -950,6 +1022,8 @@ module Google
950
1022
  class Representation < Google::Apis::Core::JsonRepresentation
951
1023
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1::ConfigManagementMembershipSpec::Representation
952
1024
 
1025
+ property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1::IdentityServiceMembershipSpec::Representation
1026
+
953
1027
  property :mesh, as: 'mesh', class: Google::Apis::GkehubV1::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1::ServiceMeshMembershipSpec::Representation
954
1028
 
955
1029
  end
@@ -962,6 +1036,8 @@ module Google
962
1036
 
963
1037
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1::ConfigManagementMembershipState::Representation
964
1038
 
1039
+ property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1::IdentityServiceMembershipState, decorator: Google::Apis::GkehubV1::IdentityServiceMembershipState::Representation
1040
+
965
1041
  property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1::ServiceMeshMembershipState, decorator: Google::Apis::GkehubV1::ServiceMeshMembershipState::Representation
966
1042
 
967
1043
  property :state, as: 'state', class: Google::Apis::GkehubV1::FeatureState, decorator: Google::Apis::GkehubV1::FeatureState::Representation
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.25.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-02 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.25.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: []