google-apis-gkehub_v1beta 0.8.0 → 0.9.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: dfa2446fab614dfc8b6fd4c7f8b11436f5cce619c2f6dddef4056795839cc1b8
4
- data.tar.gz: 786f857a074a0363ffc44068806feeff623af64b7c58681816eb3b1860c99980
3
+ metadata.gz: 7de9d01ac26030f7fef2866bb1b99bcb09e816355fb468832c2d84c543bdf4d4
4
+ data.tar.gz: eba1cb46a829ea36c7bc5c98372ba683079ab2f12ff52517f45cd29f7c76f9ed
5
5
  SHA512:
6
- metadata.gz: 5b5960191ecf66fbf367ed3959c64fba5338fa744e883a97d78027e2365115d382307a7f91030f7c009a18a77b184c952314d9e2a7ebf4751a4f3afc09a479cf
7
- data.tar.gz: 549f8e767becb28e99a500b83d17b50f662bb728739d46db32d8d06b9bbfb0c71a7355c605522eac25ef7eae0f509edffeb48f25955e79d7b1f376d339238130
6
+ metadata.gz: 11c4a0eede5947f2d8cd42fba489fabd4f9d0558615092442194a1b08111a7ba7f5e0a4ab28c79b6a098f22b21127aeac858c314a8293b01920e3b952105632d
7
+ data.tar.gz: ef484fa6e01b2255e2cee3ef1f4792a109395506f3573ed5e7c7b424f115afdaeae65c31856f96341c8935334cea4866f7374741b3bb035ed538438196c62b23
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.9.0 (2021-08-21)
4
+
5
+ * Regenerated from discovery document revision 20210813
6
+
3
7
  ### v0.8.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 V1beta of the GKE Hub
1
+ # Simple REST client for version V1beta of the GKE Hub API
2
2
 
3
- This is a simple client library for version V1beta of the GKE Hub. It provides:
3
+ This is a simple client library for version V1beta 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::GkehubV1beta::GKEHubService class reference docs}.
68
+ For reference information on specific calls in the GKE Hub API, see the {Google::Apis::GkehubV1beta::GKEHubService class reference docs}.
69
69
 
70
70
  ## Which client should I use?
71
71
 
@@ -19,13 +19,13 @@ require 'google/apis/gkehub_v1beta/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 GkehubV1beta
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 = 'V1beta'
31
31
 
@@ -1302,6 +1302,178 @@ module Google
1302
1302
  end
1303
1303
  end
1304
1304
 
1305
+ # Configuration of an auth method for a member/cluster. Only one authentication
1306
+ # method (e.g., OIDC and LDAP) can be set per AuthMethod.
1307
+ class IdentityServiceAuthMethod
1308
+ include Google::Apis::Core::Hashable
1309
+
1310
+ # Identifier for auth config.
1311
+ # Corresponds to the JSON property `name`
1312
+ # @return [String]
1313
+ attr_accessor :name
1314
+
1315
+ # Configuration for OIDC Auth flow.
1316
+ # Corresponds to the JSON property `oidcConfig`
1317
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceOidcConfig]
1318
+ attr_accessor :oidc_config
1319
+
1320
+ # Proxy server address to use for auth method.
1321
+ # Corresponds to the JSON property `proxy`
1322
+ # @return [String]
1323
+ attr_accessor :proxy
1324
+
1325
+ def initialize(**args)
1326
+ update!(**args)
1327
+ end
1328
+
1329
+ # Update properties of this object
1330
+ def update!(**args)
1331
+ @name = args[:name] if args.key?(:name)
1332
+ @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
1333
+ @proxy = args[:proxy] if args.key?(:proxy)
1334
+ end
1335
+ end
1336
+
1337
+ # **Anthos Identity Service**: Configuration for a single Membership.
1338
+ class IdentityServiceMembershipSpec
1339
+ include Google::Apis::Core::Hashable
1340
+
1341
+ # A member may support multiple auth methods.
1342
+ # Corresponds to the JSON property `authMethods`
1343
+ # @return [Array<Google::Apis::GkehubV1beta::IdentityServiceAuthMethod>]
1344
+ attr_accessor :auth_methods
1345
+
1346
+ def initialize(**args)
1347
+ update!(**args)
1348
+ end
1349
+
1350
+ # Update properties of this object
1351
+ def update!(**args)
1352
+ @auth_methods = args[:auth_methods] if args.key?(:auth_methods)
1353
+ end
1354
+ end
1355
+
1356
+ # **Anthos Identity Service**: State for a single Membership.
1357
+ class IdentityServiceMembershipState
1358
+ include Google::Apis::Core::Hashable
1359
+
1360
+ # The reason of the failure.
1361
+ # Corresponds to the JSON property `failureReason`
1362
+ # @return [String]
1363
+ attr_accessor :failure_reason
1364
+
1365
+ # Installed AIS version. This is the AIS version installed on this member. The
1366
+ # values makes sense iff state is OK.
1367
+ # Corresponds to the JSON property `installedVersion`
1368
+ # @return [String]
1369
+ attr_accessor :installed_version
1370
+
1371
+ # **Anthos Identity Service**: Configuration for a single Membership.
1372
+ # Corresponds to the JSON property `memberConfig`
1373
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec]
1374
+ attr_accessor :member_config
1375
+
1376
+ # Deployment state on this member
1377
+ # Corresponds to the JSON property `state`
1378
+ # @return [String]
1379
+ attr_accessor :state
1380
+
1381
+ def initialize(**args)
1382
+ update!(**args)
1383
+ end
1384
+
1385
+ # Update properties of this object
1386
+ def update!(**args)
1387
+ @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
1388
+ @installed_version = args[:installed_version] if args.key?(:installed_version)
1389
+ @member_config = args[:member_config] if args.key?(:member_config)
1390
+ @state = args[:state] if args.key?(:state)
1391
+ end
1392
+ end
1393
+
1394
+ # Configuration for OIDC Auth flow.
1395
+ class IdentityServiceOidcConfig
1396
+ include Google::Apis::Core::Hashable
1397
+
1398
+ # PEM-encoded CA for OIDC provider.
1399
+ # Corresponds to the JSON property `certificateAuthorityData`
1400
+ # @return [String]
1401
+ attr_accessor :certificate_authority_data
1402
+
1403
+ # ID for OIDC client application.
1404
+ # Corresponds to the JSON property `clientId`
1405
+ # @return [String]
1406
+ attr_accessor :client_id
1407
+
1408
+ # Flag to denote if reverse proxy is used to connect to auth provider. This flag
1409
+ # should be set to true when provider is not reachable by Google Cloud Console.
1410
+ # Corresponds to the JSON property `deployCloudConsoleProxy`
1411
+ # @return [Boolean]
1412
+ attr_accessor :deploy_cloud_console_proxy
1413
+ alias_method :deploy_cloud_console_proxy?, :deploy_cloud_console_proxy
1414
+
1415
+ # Comma-separated list of key-value pairs.
1416
+ # Corresponds to the JSON property `extraParams`
1417
+ # @return [String]
1418
+ attr_accessor :extra_params
1419
+
1420
+ # Prefix to prepend to group name.
1421
+ # Corresponds to the JSON property `groupPrefix`
1422
+ # @return [String]
1423
+ attr_accessor :group_prefix
1424
+
1425
+ # Claim in OIDC ID token that holds group information.
1426
+ # Corresponds to the JSON property `groupsClaim`
1427
+ # @return [String]
1428
+ attr_accessor :groups_claim
1429
+
1430
+ # URI for the OIDC provider. This should point to the level below .well-known/
1431
+ # openid-configuration.
1432
+ # Corresponds to the JSON property `issuerUri`
1433
+ # @return [String]
1434
+ attr_accessor :issuer_uri
1435
+
1436
+ # Registered redirect uri to redirect users going through OAuth flow using
1437
+ # kubectl plugin.
1438
+ # Corresponds to the JSON property `kubectlRedirectUri`
1439
+ # @return [String]
1440
+ attr_accessor :kubectl_redirect_uri
1441
+
1442
+ # Comma-separated list of identifiers.
1443
+ # Corresponds to the JSON property `scopes`
1444
+ # @return [String]
1445
+ attr_accessor :scopes
1446
+
1447
+ # Claim in OIDC ID token that holds username.
1448
+ # Corresponds to the JSON property `userClaim`
1449
+ # @return [String]
1450
+ attr_accessor :user_claim
1451
+
1452
+ # Prefix to prepend to user name.
1453
+ # Corresponds to the JSON property `userPrefix`
1454
+ # @return [String]
1455
+ attr_accessor :user_prefix
1456
+
1457
+ def initialize(**args)
1458
+ update!(**args)
1459
+ end
1460
+
1461
+ # Update properties of this object
1462
+ def update!(**args)
1463
+ @certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
1464
+ @client_id = args[:client_id] if args.key?(:client_id)
1465
+ @deploy_cloud_console_proxy = args[:deploy_cloud_console_proxy] if args.key?(:deploy_cloud_console_proxy)
1466
+ @extra_params = args[:extra_params] if args.key?(:extra_params)
1467
+ @group_prefix = args[:group_prefix] if args.key?(:group_prefix)
1468
+ @groups_claim = args[:groups_claim] if args.key?(:groups_claim)
1469
+ @issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri)
1470
+ @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
1471
+ @scopes = args[:scopes] if args.key?(:scopes)
1472
+ @user_claim = args[:user_claim] if args.key?(:user_claim)
1473
+ @user_prefix = args[:user_prefix] if args.key?(:user_prefix)
1474
+ end
1475
+ end
1476
+
1305
1477
  # Response message for the `GkeHub.ListFeatures` method.
1306
1478
  class ListFeaturesResponse
1307
1479
  include Google::Apis::Core::Hashable
@@ -1436,6 +1608,11 @@ module Google
1436
1608
  # @return [Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec]
1437
1609
  attr_accessor :configmanagement
1438
1610
 
1611
+ # **Anthos Identity Service**: Configuration for a single Membership.
1612
+ # Corresponds to the JSON property `identityservice`
1613
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec]
1614
+ attr_accessor :identityservice
1615
+
1439
1616
  def initialize(**args)
1440
1617
  update!(**args)
1441
1618
  end
@@ -1443,6 +1620,7 @@ module Google
1443
1620
  # Update properties of this object
1444
1621
  def update!(**args)
1445
1622
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
1623
+ @identityservice = args[:identityservice] if args.key?(:identityservice)
1446
1624
  end
1447
1625
  end
1448
1626
 
@@ -1456,6 +1634,11 @@ module Google
1456
1634
  # @return [Google::Apis::GkehubV1beta::ConfigManagementMembershipState]
1457
1635
  attr_accessor :configmanagement
1458
1636
 
1637
+ # **Anthos Identity Service**: State for a single Membership.
1638
+ # Corresponds to the JSON property `identityservice`
1639
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceMembershipState]
1640
+ attr_accessor :identityservice
1641
+
1459
1642
  # **Metering**: Per-Membership Feature State.
1460
1643
  # Corresponds to the JSON property `metering`
1461
1644
  # @return [Google::Apis::GkehubV1beta::MeteringMembershipState]
@@ -1475,6 +1658,7 @@ module Google
1475
1658
  # Update properties of this object
1476
1659
  def update!(**args)
1477
1660
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
1661
+ @identityservice = args[:identityservice] if args.key?(:identityservice)
1478
1662
  @metering = args[:metering] if args.key?(:metering)
1479
1663
  @state = args[:state] if args.key?(:state)
1480
1664
  end
@@ -1680,7 +1864,7 @@ module Google
1680
1864
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1681
1865
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1682
1866
  # description: Does not grant access after Sep 2020 expression: request.time <
1683
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1867
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1684
1868
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1685
1869
  # google.com/iam/docs/).
1686
1870
  class Policy
@@ -1774,7 +1958,7 @@ module Google
1774
1958
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1775
1959
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1776
1960
  # description: Does not grant access after Sep 2020 expression: request.time <
1777
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1961
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1778
1962
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1779
1963
  # google.com/iam/docs/).
1780
1964
  # Corresponds to the JSON property `policy`
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1beta
18
18
  # Version of the google-apis-gkehub_v1beta gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.9.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
@@ -238,6 +238,30 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
+ class IdentityServiceAuthMethod
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class IdentityServiceMembershipSpec
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class IdentityServiceMembershipState
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class IdentityServiceOidcConfig
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
241
265
  class ListFeaturesResponse
242
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
267
 
@@ -682,6 +706,52 @@ module Google
682
706
  end
683
707
  end
684
708
 
709
+ class IdentityServiceAuthMethod
710
+ # @private
711
+ class Representation < Google::Apis::Core::JsonRepresentation
712
+ property :name, as: 'name'
713
+ property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1beta::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1beta::IdentityServiceOidcConfig::Representation
714
+
715
+ property :proxy, as: 'proxy'
716
+ end
717
+ end
718
+
719
+ class IdentityServiceMembershipSpec
720
+ # @private
721
+ class Representation < Google::Apis::Core::JsonRepresentation
722
+ collection :auth_methods, as: 'authMethods', class: Google::Apis::GkehubV1beta::IdentityServiceAuthMethod, decorator: Google::Apis::GkehubV1beta::IdentityServiceAuthMethod::Representation
723
+
724
+ end
725
+ end
726
+
727
+ class IdentityServiceMembershipState
728
+ # @private
729
+ class Representation < Google::Apis::Core::JsonRepresentation
730
+ property :failure_reason, as: 'failureReason'
731
+ property :installed_version, as: 'installedVersion'
732
+ property :member_config, as: 'memberConfig', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec::Representation
733
+
734
+ property :state, as: 'state'
735
+ end
736
+ end
737
+
738
+ class IdentityServiceOidcConfig
739
+ # @private
740
+ class Representation < Google::Apis::Core::JsonRepresentation
741
+ property :certificate_authority_data, as: 'certificateAuthorityData'
742
+ property :client_id, as: 'clientId'
743
+ property :deploy_cloud_console_proxy, as: 'deployCloudConsoleProxy'
744
+ property :extra_params, as: 'extraParams'
745
+ property :group_prefix, as: 'groupPrefix'
746
+ property :groups_claim, as: 'groupsClaim'
747
+ property :issuer_uri, as: 'issuerUri'
748
+ property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
749
+ property :scopes, as: 'scopes'
750
+ property :user_claim, as: 'userClaim'
751
+ property :user_prefix, as: 'userPrefix'
752
+ end
753
+ end
754
+
685
755
  class ListFeaturesResponse
686
756
  # @private
687
757
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -725,6 +795,8 @@ module Google
725
795
  class Representation < Google::Apis::Core::JsonRepresentation
726
796
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec::Representation
727
797
 
798
+ property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec::Representation
799
+
728
800
  end
729
801
  end
730
802
 
@@ -733,6 +805,8 @@ module Google
733
805
  class Representation < Google::Apis::Core::JsonRepresentation
734
806
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1beta::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1beta::ConfigManagementMembershipState::Representation
735
807
 
808
+ property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipState, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipState::Representation
809
+
736
810
  property :metering, as: 'metering', class: Google::Apis::GkehubV1beta::MeteringMembershipState, decorator: Google::Apis::GkehubV1beta::MeteringMembershipState::Representation
737
811
 
738
812
  property :state, as: 'state', class: Google::Apis::GkehubV1beta::FeatureState, decorator: Google::Apis::GkehubV1beta::FeatureState::Representation
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module GkehubV1beta
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_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.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 V1beta. Simple REST clients
33
+ description: This is the simple REST client for GKE Hub API V1beta. 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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.9.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1beta
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 V1beta
81
+ summary: Simple REST client for GKE Hub API V1beta
82
82
  test_files: []