google-apis-gkehub_v1alpha 0.9.0 → 0.10.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: 239c18c0891fad69e73d1f5a48764378655c7e12b49d6e9aefc77a5a32dcea46
4
- data.tar.gz: a263265b16f71c0f6615b0e2b9c5497530504dc5122b686432f8808fc8d708d3
3
+ metadata.gz: 672a540951015125ac15ab2807357eaa32f6994bd892b5b941d7f6121b410396
4
+ data.tar.gz: ab3fe00bede3db9c64e17fbf9587eaf70631eaf72827ba1c090234e8145e8adf
5
5
  SHA512:
6
- metadata.gz: 3a2bf15f9bf400dafa9287787b4b3ca6a5a149ca235261ad049357174cf5f3b5f0caeec96a5f3bc6d6f4d554511c17e8a219c14986efcb1c07292c5b2f7ce1c2
7
- data.tar.gz: 0d8a7a7f62b43436615f3eb61f71d77e90570634e1812f4c2c39993ff3f9586423200e12c2f384baab31e1f7efc0cf1aa8482182d2e67aa62ab4bc75a9d52307
6
+ metadata.gz: ab9e2736d57c087b2038c883ecbd20af9520f6fb0c8cbd6931b5dc771c5141e4c89d1b92ac13cac95ad3d9c591293213864b362e376d800dfd83e19f149fcf5a
7
+ data.tar.gz: d4424143c897599749795e98ef11aa901cc8bb5e08b5dc3f80e8aec40f3873f968dd40bfc5873ae305c9c88b9163fb86fadf4f3db45e9ceed63d3af4791f26e3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.10.0 (2021-08-21)
4
+
5
+ * Regenerated from discovery document revision 20210813
6
+
3
7
  ### v0.9.0 (2021-08-04)
4
8
 
5
9
  * Regenerated from discovery document revision 20210729
data/OVERVIEW.md CHANGED
@@ -1,6 +1,6 @@
1
- # Simple REST client for version V1alpha of the GKE Hub
1
+ # Simple REST client for version V1alpha of the GKE Hub API
2
2
 
3
- This is a simple client library for version V1alpha of the GKE Hub. It provides:
3
+ This is a simple client library for version V1alpha of the GKE Hub API. It provides:
4
4
 
5
5
  * A client object that connects to the HTTP/JSON REST endpoint for the service.
6
6
  * Ruby objects for data structures related to the service.
@@ -65,7 +65,7 @@ More detailed descriptions of the Google simple REST clients are available in tw
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Gkehub service in particular.)
67
67
 
68
- For reference information on specific calls in the GKE Hub, see the {Google::Apis::GkehubV1alpha::GKEHubService class reference docs}.
68
+ For reference information on specific calls in the GKE Hub API, see the {Google::Apis::GkehubV1alpha::GKEHubService class reference docs}.
69
69
 
70
70
  ## Which client should I use?
71
71
 
@@ -19,13 +19,13 @@ require 'google/apis/gkehub_v1alpha/gem_version.rb'
19
19
 
20
20
  module Google
21
21
  module Apis
22
- # GKE Hub
22
+ # GKE Hub API
23
23
  #
24
24
  #
25
25
  #
26
26
  # @see https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster
27
27
  module GkehubV1alpha
28
- # Version of the GKE Hub this client connects to.
28
+ # Version of the GKE Hub API this client connects to.
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1alpha'
31
31
 
@@ -1351,6 +1351,178 @@ module Google
1351
1351
  end
1352
1352
  end
1353
1353
 
1354
+ # Configuration of an auth method for a member/cluster. Only one authentication
1355
+ # method (e.g., OIDC and LDAP) can be set per AuthMethod.
1356
+ class IdentityServiceAuthMethod
1357
+ include Google::Apis::Core::Hashable
1358
+
1359
+ # Identifier for auth config.
1360
+ # Corresponds to the JSON property `name`
1361
+ # @return [String]
1362
+ attr_accessor :name
1363
+
1364
+ # Configuration for OIDC Auth flow.
1365
+ # Corresponds to the JSON property `oidcConfig`
1366
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig]
1367
+ attr_accessor :oidc_config
1368
+
1369
+ # Proxy server address to use for auth method.
1370
+ # Corresponds to the JSON property `proxy`
1371
+ # @return [String]
1372
+ attr_accessor :proxy
1373
+
1374
+ def initialize(**args)
1375
+ update!(**args)
1376
+ end
1377
+
1378
+ # Update properties of this object
1379
+ def update!(**args)
1380
+ @name = args[:name] if args.key?(:name)
1381
+ @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
1382
+ @proxy = args[:proxy] if args.key?(:proxy)
1383
+ end
1384
+ end
1385
+
1386
+ # **Anthos Identity Service**: Configuration for a single Membership.
1387
+ class IdentityServiceMembershipSpec
1388
+ include Google::Apis::Core::Hashable
1389
+
1390
+ # A member may support multiple auth methods.
1391
+ # Corresponds to the JSON property `authMethods`
1392
+ # @return [Array<Google::Apis::GkehubV1alpha::IdentityServiceAuthMethod>]
1393
+ attr_accessor :auth_methods
1394
+
1395
+ def initialize(**args)
1396
+ update!(**args)
1397
+ end
1398
+
1399
+ # Update properties of this object
1400
+ def update!(**args)
1401
+ @auth_methods = args[:auth_methods] if args.key?(:auth_methods)
1402
+ end
1403
+ end
1404
+
1405
+ # **Anthos Identity Service**: State for a single Membership.
1406
+ class IdentityServiceMembershipState
1407
+ include Google::Apis::Core::Hashable
1408
+
1409
+ # The reason of the failure.
1410
+ # Corresponds to the JSON property `failureReason`
1411
+ # @return [String]
1412
+ attr_accessor :failure_reason
1413
+
1414
+ # Installed AIS version. This is the AIS version installed on this member. The
1415
+ # values makes sense iff state is OK.
1416
+ # Corresponds to the JSON property `installedVersion`
1417
+ # @return [String]
1418
+ attr_accessor :installed_version
1419
+
1420
+ # **Anthos Identity Service**: Configuration for a single Membership.
1421
+ # Corresponds to the JSON property `memberConfig`
1422
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec]
1423
+ attr_accessor :member_config
1424
+
1425
+ # Deployment state on this member
1426
+ # Corresponds to the JSON property `state`
1427
+ # @return [String]
1428
+ attr_accessor :state
1429
+
1430
+ def initialize(**args)
1431
+ update!(**args)
1432
+ end
1433
+
1434
+ # Update properties of this object
1435
+ def update!(**args)
1436
+ @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
1437
+ @installed_version = args[:installed_version] if args.key?(:installed_version)
1438
+ @member_config = args[:member_config] if args.key?(:member_config)
1439
+ @state = args[:state] if args.key?(:state)
1440
+ end
1441
+ end
1442
+
1443
+ # Configuration for OIDC Auth flow.
1444
+ class IdentityServiceOidcConfig
1445
+ include Google::Apis::Core::Hashable
1446
+
1447
+ # PEM-encoded CA for OIDC provider.
1448
+ # Corresponds to the JSON property `certificateAuthorityData`
1449
+ # @return [String]
1450
+ attr_accessor :certificate_authority_data
1451
+
1452
+ # ID for OIDC client application.
1453
+ # Corresponds to the JSON property `clientId`
1454
+ # @return [String]
1455
+ attr_accessor :client_id
1456
+
1457
+ # Flag to denote if reverse proxy is used to connect to auth provider. This flag
1458
+ # should be set to true when provider is not reachable by Google Cloud Console.
1459
+ # Corresponds to the JSON property `deployCloudConsoleProxy`
1460
+ # @return [Boolean]
1461
+ attr_accessor :deploy_cloud_console_proxy
1462
+ alias_method :deploy_cloud_console_proxy?, :deploy_cloud_console_proxy
1463
+
1464
+ # Comma-separated list of key-value pairs.
1465
+ # Corresponds to the JSON property `extraParams`
1466
+ # @return [String]
1467
+ attr_accessor :extra_params
1468
+
1469
+ # Prefix to prepend to group name.
1470
+ # Corresponds to the JSON property `groupPrefix`
1471
+ # @return [String]
1472
+ attr_accessor :group_prefix
1473
+
1474
+ # Claim in OIDC ID token that holds group information.
1475
+ # Corresponds to the JSON property `groupsClaim`
1476
+ # @return [String]
1477
+ attr_accessor :groups_claim
1478
+
1479
+ # URI for the OIDC provider. This should point to the level below .well-known/
1480
+ # openid-configuration.
1481
+ # Corresponds to the JSON property `issuerUri`
1482
+ # @return [String]
1483
+ attr_accessor :issuer_uri
1484
+
1485
+ # Registered redirect uri to redirect users going through OAuth flow using
1486
+ # kubectl plugin.
1487
+ # Corresponds to the JSON property `kubectlRedirectUri`
1488
+ # @return [String]
1489
+ attr_accessor :kubectl_redirect_uri
1490
+
1491
+ # Comma-separated list of identifiers.
1492
+ # Corresponds to the JSON property `scopes`
1493
+ # @return [String]
1494
+ attr_accessor :scopes
1495
+
1496
+ # Claim in OIDC ID token that holds username.
1497
+ # Corresponds to the JSON property `userClaim`
1498
+ # @return [String]
1499
+ attr_accessor :user_claim
1500
+
1501
+ # Prefix to prepend to user name.
1502
+ # Corresponds to the JSON property `userPrefix`
1503
+ # @return [String]
1504
+ attr_accessor :user_prefix
1505
+
1506
+ def initialize(**args)
1507
+ update!(**args)
1508
+ end
1509
+
1510
+ # Update properties of this object
1511
+ def update!(**args)
1512
+ @certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
1513
+ @client_id = args[:client_id] if args.key?(:client_id)
1514
+ @deploy_cloud_console_proxy = args[:deploy_cloud_console_proxy] if args.key?(:deploy_cloud_console_proxy)
1515
+ @extra_params = args[:extra_params] if args.key?(:extra_params)
1516
+ @group_prefix = args[:group_prefix] if args.key?(:group_prefix)
1517
+ @groups_claim = args[:groups_claim] if args.key?(:groups_claim)
1518
+ @issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri)
1519
+ @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
1520
+ @scopes = args[:scopes] if args.key?(:scopes)
1521
+ @user_claim = args[:user_claim] if args.key?(:user_claim)
1522
+ @user_prefix = args[:user_prefix] if args.key?(:user_prefix)
1523
+ end
1524
+ end
1525
+
1354
1526
  # Response message for the `GkeHub.ListFeatures` method.
1355
1527
  class ListFeaturesResponse
1356
1528
  include Google::Apis::Core::Hashable
@@ -1485,6 +1657,11 @@ module Google
1485
1657
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec]
1486
1658
  attr_accessor :configmanagement
1487
1659
 
1660
+ # **Anthos Identity Service**: Configuration for a single Membership.
1661
+ # Corresponds to the JSON property `identityservice`
1662
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec]
1663
+ attr_accessor :identityservice
1664
+
1488
1665
  def initialize(**args)
1489
1666
  update!(**args)
1490
1667
  end
@@ -1492,6 +1669,7 @@ module Google
1492
1669
  # Update properties of this object
1493
1670
  def update!(**args)
1494
1671
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
1672
+ @identityservice = args[:identityservice] if args.key?(:identityservice)
1495
1673
  end
1496
1674
  end
1497
1675
 
@@ -1505,6 +1683,11 @@ module Google
1505
1683
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementMembershipState]
1506
1684
  attr_accessor :configmanagement
1507
1685
 
1686
+ # **Anthos Identity Service**: State for a single Membership.
1687
+ # Corresponds to the JSON property `identityservice`
1688
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceMembershipState]
1689
+ attr_accessor :identityservice
1690
+
1508
1691
  # **Metering**: Per-Membership Feature State.
1509
1692
  # Corresponds to the JSON property `metering`
1510
1693
  # @return [Google::Apis::GkehubV1alpha::MeteringMembershipState]
@@ -1530,6 +1713,7 @@ module Google
1530
1713
  # Update properties of this object
1531
1714
  def update!(**args)
1532
1715
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
1716
+ @identityservice = args[:identityservice] if args.key?(:identityservice)
1533
1717
  @metering = args[:metering] if args.key?(:metering)
1534
1718
  @servicemesh = args[:servicemesh] if args.key?(:servicemesh)
1535
1719
  @state = args[:state] if args.key?(:state)
@@ -1736,7 +1920,7 @@ module Google
1736
1920
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1737
1921
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1738
1922
  # description: Does not grant access after Sep 2020 expression: request.time <
1739
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1923
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1740
1924
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1741
1925
  # google.com/iam/docs/).
1742
1926
  class Policy
@@ -1985,7 +2169,7 @@ module Google
1985
2169
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1986
2170
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1987
2171
  # description: Does not grant access after Sep 2020 expression: request.time <
1988
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
2172
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1989
2173
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1990
2174
  # google.com/iam/docs/).
1991
2175
  # Corresponds to the JSON property `policy`
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1alpha
18
18
  # Version of the google-apis-gkehub_v1alpha gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210729"
25
+ REVISION = "20210813"
26
26
  end
27
27
  end
28
28
  end
@@ -244,6 +244,30 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
+ class IdentityServiceAuthMethod
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class IdentityServiceMembershipSpec
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class IdentityServiceMembershipState
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class IdentityServiceOidcConfig
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
247
271
  class ListFeaturesResponse
248
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
273
 
@@ -731,6 +755,52 @@ module Google
731
755
  end
732
756
  end
733
757
 
758
+ class IdentityServiceAuthMethod
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ property :name, as: 'name'
762
+ property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig::Representation
763
+
764
+ property :proxy, as: 'proxy'
765
+ end
766
+ end
767
+
768
+ class IdentityServiceMembershipSpec
769
+ # @private
770
+ class Representation < Google::Apis::Core::JsonRepresentation
771
+ collection :auth_methods, as: 'authMethods', class: Google::Apis::GkehubV1alpha::IdentityServiceAuthMethod, decorator: Google::Apis::GkehubV1alpha::IdentityServiceAuthMethod::Representation
772
+
773
+ end
774
+ end
775
+
776
+ class IdentityServiceMembershipState
777
+ # @private
778
+ class Representation < Google::Apis::Core::JsonRepresentation
779
+ property :failure_reason, as: 'failureReason'
780
+ property :installed_version, as: 'installedVersion'
781
+ property :member_config, as: 'memberConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
782
+
783
+ property :state, as: 'state'
784
+ end
785
+ end
786
+
787
+ class IdentityServiceOidcConfig
788
+ # @private
789
+ class Representation < Google::Apis::Core::JsonRepresentation
790
+ property :certificate_authority_data, as: 'certificateAuthorityData'
791
+ property :client_id, as: 'clientId'
792
+ property :deploy_cloud_console_proxy, as: 'deployCloudConsoleProxy'
793
+ property :extra_params, as: 'extraParams'
794
+ property :group_prefix, as: 'groupPrefix'
795
+ property :groups_claim, as: 'groupsClaim'
796
+ property :issuer_uri, as: 'issuerUri'
797
+ property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
798
+ property :scopes, as: 'scopes'
799
+ property :user_claim, as: 'userClaim'
800
+ property :user_prefix, as: 'userPrefix'
801
+ end
802
+ end
803
+
734
804
  class ListFeaturesResponse
735
805
  # @private
736
806
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -774,6 +844,8 @@ module Google
774
844
  class Representation < Google::Apis::Core::JsonRepresentation
775
845
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec::Representation
776
846
 
847
+ property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
848
+
777
849
  end
778
850
  end
779
851
 
@@ -782,6 +854,8 @@ module Google
782
854
  class Representation < Google::Apis::Core::JsonRepresentation
783
855
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipState::Representation
784
856
 
857
+ property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipState, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipState::Representation
858
+
785
859
  property :metering, as: 'metering', class: Google::Apis::GkehubV1alpha::MeteringMembershipState, decorator: Google::Apis::GkehubV1alpha::MeteringMembershipState::Representation
786
860
 
787
861
  property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState::Representation
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module GkehubV1alpha
23
- # GKE Hub
23
+ # GKE Hub API
24
24
  #
25
25
  #
26
26
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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: 2021-08-09 00:00:00.000000000 Z
11
+ date: 2021-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -30,12 +30,12 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
33
- description: This is the simple REST client for GKE Hub V1alpha. Simple REST clients
33
+ description: This is the simple REST client for GKE Hub API V1alpha. Simple REST clients
34
34
  are Ruby client libraries that provide access to Google services via their HTTP
35
35
  REST API endpoints. These libraries are generated and updated automatically based
36
36
  on the discovery documents published by the service, and they handle most concerns
37
37
  such as authentication, pagination, retry, timeouts, and logging. You can use this
38
- client to access the GKE Hub, but note that some services may provide a separate
38
+ client to access the GKE Hub API, but note that some services may provide a separate
39
39
  modern client that is easier to use.
40
40
  email: googleapis-packages@google.com
41
41
  executables: []
@@ -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/master/generated/google-apis-gkehub_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.10.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -78,5 +78,5 @@ requirements: []
78
78
  rubygems_version: 3.2.17
79
79
  signing_key:
80
80
  specification_version: 4
81
- summary: Simple REST client for GKE Hub V1alpha
81
+ summary: Simple REST client for GKE Hub API V1alpha
82
82
  test_files: []