google-apis-gkehub_v1alpha 0.35.0 → 0.38.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: dfaf51cabdc7c907e1fe13fcab910100878fb512c9f261476a609b505841f404
4
- data.tar.gz: fdae2ac272994cecbf6d416acbb32c33f6902e72637126c73b125f8053696f5f
3
+ metadata.gz: 4d5d0088840f32e3a396b491598aea062b29521923f313f449ee1cab1b905d44
4
+ data.tar.gz: fae902fbafb463050f5a4330d6c97a21097081f4625209ff536bdf467df4838e
5
5
  SHA512:
6
- metadata.gz: 51b1f5e12e1b0ee46297805ed0f0eb8a6cb70ba9540c58da9badb3a33dcb6fad76442205c0f6c878054d449571df27d2b603032de388aac8a0825e928516e6c7
7
- data.tar.gz: 01c5f67e456974fabcef0c5ab861ba4ee1c012a78ce413c3bfe72cd6ed5b1a4b395160efe786c12fd7117410f109c97292575a6e213590be367e3ae866cdd1cd
6
+ metadata.gz: 1405bb86e593fa675c88c9e8a45c32a158fe4d838d81eacf30f70372f45f188c6ed7393a939e1b5679a7c4ac5a3451dfd9ad6645b059a73dfda4ea308def5de2
7
+ data.tar.gz: b4c3479a25edb8053c59c840d6934b2f1a9f5919d5f48bb071368000ff111491a2aaad455ef8a08140461a6fc89b93c938eea5a066fa6b100d9f014adc409b14
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.38.0 (2022-09-04)
4
+
5
+ * Regenerated from discovery document revision 20220828
6
+
7
+ ### v0.37.0 (2022-08-22)
8
+
9
+ * Regenerated from discovery document revision 20220812
10
+
11
+ ### v0.36.0 (2022-08-14)
12
+
13
+ * Regenerated from discovery document revision 20220805
14
+
3
15
  ### v0.35.0 (2022-07-23)
4
16
 
5
17
  * Regenerated from discovery document revision 20220715
@@ -45,7 +45,7 @@ module Google
45
45
  class AnthosObservabilityMembershipSpec
46
46
  include Google::Apis::Core::Hashable
47
47
 
48
- # use full of metrics rather than optimized metrics. See https://cloud.google.
48
+ # Use full of metrics rather than optimized metrics. See https://cloud.google.
49
49
  # com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#
50
50
  # optimized_metrics_default_metrics
51
51
  # Corresponds to the JSON property `doNotOptimizeMetrics`
@@ -53,8 +53,7 @@ module Google
53
53
  attr_accessor :do_not_optimize_metrics
54
54
  alias_method :do_not_optimize_metrics?, :do_not_optimize_metrics
55
55
 
56
- # enable collecting and reporting metrics and logs from user apps See go/onyx-
57
- # application-metrics-logs-user-guide
56
+ # Enable collecting and reporting metrics and logs from user apps.
58
57
  # Corresponds to the JSON property `enableStackdriverOnApplications`
59
58
  # @return [Boolean]
60
59
  attr_accessor :enable_stackdriver_on_applications
@@ -405,28 +404,33 @@ module Google
405
404
  # members` can have the following values: * `allUsers`: A special identifier
406
405
  # that represents anyone who is on the internet; with or without a Google
407
406
  # account. * `allAuthenticatedUsers`: A special identifier that represents
408
- # anyone who is authenticated with a Google account or a service account. * `
409
- # user:`emailid``: An email address that represents a specific Google account.
410
- # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
411
- # address that represents a service account. For example, `my-other-app@appspot.
412
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
413
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
414
- # `uniqueid``: An email address (plus unique identifier) representing a user
415
- # that has been recently deleted. For example, `alice@example.com?uid=
416
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
417
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
418
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
419
- # identifier) representing a service account that has been recently deleted. For
420
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
421
- # If the service account is undeleted, this value reverts to `serviceAccount:`
422
- # emailid`` and the undeleted service account retains the role in the binding. *
423
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
424
- # identifier) representing a Google group that has been recently deleted. For
425
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
426
- # recovered, this value reverts to `group:`emailid`` and the recovered group
427
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
428
- # primary) that represents all the users of that domain. For example, `google.
429
- # com` or `example.com`.
407
+ # anyone who is authenticated with a Google account or a service account. Does
408
+ # not include identities that come from external identity providers (IdPs)
409
+ # through identity federation. * `user:`emailid``: An email address that
410
+ # represents a specific Google account. For example, `alice@example.com` . * `
411
+ # serviceAccount:`emailid``: An email address that represents a Google service
412
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
413
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
414
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
415
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
416
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
417
+ # email address that represents a Google group. For example, `admins@example.com`
418
+ # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
419
+ # identifier) representing a user that has been recently deleted. For example, `
420
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
421
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
422
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
423
+ # address (plus unique identifier) representing a service account that has been
424
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
425
+ # 123456789012345678901`. If the service account is undeleted, this value
426
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
427
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
428
+ # An email address (plus unique identifier) representing a Google group that has
429
+ # been recently deleted. For example, `admins@example.com?uid=
430
+ # 123456789012345678901`. If the group is recovered, this value reverts to `
431
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
432
+ # domain:`domain``: The G Suite domain (primary) that represents all the users
433
+ # of that domain. For example, `google.com` or `example.com`.
430
434
  # Corresponds to the JSON property `members`
431
435
  # @return [Array<String>]
432
436
  attr_accessor :members
@@ -685,7 +689,7 @@ module Google
685
689
  attr_accessor :prevent_drift
686
690
  alias_method :prevent_drift?, :prevent_drift
687
691
 
688
- # Specifies whether the Config Sync Repo is in hierarchical or unstructured
692
+ # Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured"
689
693
  # mode.
690
694
  # Corresponds to the JSON property `sourceFormat`
691
695
  # @return [String]
@@ -2013,11 +2017,6 @@ module Google
2013
2017
  class IdentityServiceAuthMethod
2014
2018
  include Google::Apis::Core::Hashable
2015
2019
 
2016
- # Configuration for the AzureAD Auth flow.
2017
- # Corresponds to the JSON property `azureadConfig`
2018
- # @return [Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig]
2019
- attr_accessor :azuread_config
2020
-
2021
2020
  # Configuration for the Google Plugin Auth flow.
2022
2021
  # Corresponds to the JSON property `googleConfig`
2023
2022
  # @return [Google::Apis::GkehubV1alpha::IdentityServiceGoogleConfig]
@@ -2044,7 +2043,6 @@ module Google
2044
2043
 
2045
2044
  # Update properties of this object
2046
2045
  def update!(**args)
2047
- @azuread_config = args[:azuread_config] if args.key?(:azuread_config)
2048
2046
  @google_config = args[:google_config] if args.key?(:google_config)
2049
2047
  @name = args[:name] if args.key?(:name)
2050
2048
  @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
@@ -2052,53 +2050,6 @@ module Google
2052
2050
  end
2053
2051
  end
2054
2052
 
2055
- # Configuration for the AzureAD Auth flow.
2056
- class IdentityServiceAzureAdConfig
2057
- include Google::Apis::Core::Hashable
2058
-
2059
- # ID for the registered client application that makes authentication requests to
2060
- # the Azure AD identity provider.
2061
- # Corresponds to the JSON property `clientId`
2062
- # @return [String]
2063
- attr_accessor :client_id
2064
-
2065
- # Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub
2066
- # CLH.
2067
- # Corresponds to the JSON property `clientSecret`
2068
- # @return [String]
2069
- attr_accessor :client_secret
2070
-
2071
- # Output only. Encrypted AzureAD client secret.
2072
- # Corresponds to the JSON property `encryptedClientSecret`
2073
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
2074
- # @return [String]
2075
- attr_accessor :encrypted_client_secret
2076
-
2077
- # The redirect URL that kubectl uses for authorization.
2078
- # Corresponds to the JSON property `kubectlRedirectUri`
2079
- # @return [String]
2080
- attr_accessor :kubectl_redirect_uri
2081
-
2082
- # Kind of Azure AD account to be authenticated. Supported values are or for
2083
- # accounts belonging to a specific tenant.
2084
- # Corresponds to the JSON property `tenant`
2085
- # @return [String]
2086
- attr_accessor :tenant
2087
-
2088
- def initialize(**args)
2089
- update!(**args)
2090
- end
2091
-
2092
- # Update properties of this object
2093
- def update!(**args)
2094
- @client_id = args[:client_id] if args.key?(:client_id)
2095
- @client_secret = args[:client_secret] if args.key?(:client_secret)
2096
- @encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
2097
- @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
2098
- @tenant = args[:tenant] if args.key?(:tenant)
2099
- end
2100
- end
2101
-
2102
2053
  # Configuration for the Google Plugin Auth flow.
2103
2054
  class IdentityServiceGoogleConfig
2104
2055
  include Google::Apis::Core::Hashable
@@ -3411,53 +3362,6 @@ module Google
3411
3362
  end
3412
3363
  end
3413
3364
 
3414
- # State of the Policy Controller.
3415
- class PolicyControllerHubState
3416
- include Google::Apis::Core::Hashable
3417
-
3418
- # Map from deployment name to deployment state. Example deployments are
3419
- # gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-
3420
- # mutation.
3421
- # Corresponds to the JSON property `deploymentStates`
3422
- # @return [Hash<String,String>]
3423
- attr_accessor :deployment_states
3424
-
3425
- # The build version of Gatekeeper that Policy Controller is using.
3426
- # Corresponds to the JSON property `version`
3427
- # @return [Google::Apis::GkehubV1alpha::PolicyControllerHubVersion]
3428
- attr_accessor :version
3429
-
3430
- def initialize(**args)
3431
- update!(**args)
3432
- end
3433
-
3434
- # Update properties of this object
3435
- def update!(**args)
3436
- @deployment_states = args[:deployment_states] if args.key?(:deployment_states)
3437
- @version = args[:version] if args.key?(:version)
3438
- end
3439
- end
3440
-
3441
- # The build version of Gatekeeper that Policy Controller is using.
3442
- class PolicyControllerHubVersion
3443
- include Google::Apis::Core::Hashable
3444
-
3445
- # The gatekeeper image tag that is composed of ACM version, git tag, build
3446
- # number.
3447
- # Corresponds to the JSON property `version`
3448
- # @return [String]
3449
- attr_accessor :version
3450
-
3451
- def initialize(**args)
3452
- update!(**args)
3453
- end
3454
-
3455
- # Update properties of this object
3456
- def update!(**args)
3457
- @version = args[:version] if args.key?(:version)
3458
- end
3459
- end
3460
-
3461
3365
  # **Policy Controller**: Configuration for a single cluster. Intended to
3462
3366
  # parallel the PolicyController CR.
3463
3367
  class PolicyControllerMembershipSpec
@@ -3496,18 +3400,14 @@ module Google
3496
3400
  # @return [String]
3497
3401
  attr_accessor :cluster_name
3498
3402
 
3499
- # **Policy Controller**: Configuration for a single cluster. Intended to
3500
- # parallel the PolicyController CR.
3501
- # Corresponds to the JSON property `membershipSpec`
3502
- # @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec]
3503
- attr_accessor :membership_spec
3504
-
3505
- # State of the Policy Controller.
3506
- # Corresponds to the JSON property `policyControllerHubState`
3507
- # @return [Google::Apis::GkehubV1alpha::PolicyControllerHubState]
3508
- attr_accessor :policy_controller_hub_state
3403
+ # Currently these include (also serving as map keys): 1. "admission" 2. "audit"
3404
+ # 3. "mutation" 4. "constraint template library"
3405
+ # Corresponds to the JSON property `componentStates`
3406
+ # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
3407
+ attr_accessor :component_states
3509
3408
 
3510
- # The lifecycle state Policy Controller is in.
3409
+ # The overall Policy Controller lifecycle state observed by the Hub Feature
3410
+ # controller.
3511
3411
  # Corresponds to the JSON property `state`
3512
3412
  # @return [String]
3513
3413
  attr_accessor :state
@@ -3519,8 +3419,7 @@ module Google
3519
3419
  # Update properties of this object
3520
3420
  def update!(**args)
3521
3421
  @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
3522
- @membership_spec = args[:membership_spec] if args.key?(:membership_spec)
3523
- @policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
3422
+ @component_states = args[:component_states] if args.key?(:component_states)
3524
3423
  @state = args[:state] if args.key?(:state)
3525
3424
  end
3526
3425
  end
@@ -3547,6 +3446,31 @@ module Google
3547
3446
  end
3548
3447
  end
3549
3448
 
3449
+ # OnClusterState represents the state of a sub-component of Policy Controller.
3450
+ class PolicyControllerOnClusterState
3451
+ include Google::Apis::Core::Hashable
3452
+
3453
+ # Surface potential errors or information logs.
3454
+ # Corresponds to the JSON property `details`
3455
+ # @return [String]
3456
+ attr_accessor :details
3457
+
3458
+ # The lifecycle state of this component.
3459
+ # Corresponds to the JSON property `state`
3460
+ # @return [String]
3461
+ attr_accessor :state
3462
+
3463
+ def initialize(**args)
3464
+ update!(**args)
3465
+ end
3466
+
3467
+ # Update properties of this object
3468
+ def update!(**args)
3469
+ @details = args[:details] if args.key?(:details)
3470
+ @state = args[:state] if args.key?(:state)
3471
+ end
3472
+ end
3473
+
3550
3474
  # The config specifying which default library templates to install.
3551
3475
  class PolicyControllerTemplateLibraryConfig
3552
3476
  include Google::Apis::Core::Hashable
@@ -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.35.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220715"
25
+ REVISION = "20220828"
26
26
  end
27
27
  end
28
28
  end
@@ -370,12 +370,6 @@ module Google
370
370
  include Google::Apis::Core::JsonObjectSupport
371
371
  end
372
372
 
373
- class IdentityServiceAzureAdConfig
374
- class Representation < Google::Apis::Core::JsonRepresentation; end
375
-
376
- include Google::Apis::Core::JsonObjectSupport
377
- end
378
-
379
373
  class IdentityServiceGoogleConfig
380
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
375
 
@@ -556,31 +550,25 @@ module Google
556
550
  include Google::Apis::Core::JsonObjectSupport
557
551
  end
558
552
 
559
- class PolicyControllerHubState
560
- class Representation < Google::Apis::Core::JsonRepresentation; end
561
-
562
- include Google::Apis::Core::JsonObjectSupport
563
- end
564
-
565
- class PolicyControllerHubVersion
553
+ class PolicyControllerMembershipSpec
566
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
555
 
568
556
  include Google::Apis::Core::JsonObjectSupport
569
557
  end
570
558
 
571
- class PolicyControllerMembershipSpec
559
+ class PolicyControllerMembershipState
572
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
561
 
574
562
  include Google::Apis::Core::JsonObjectSupport
575
563
  end
576
564
 
577
- class PolicyControllerMembershipState
565
+ class PolicyControllerMonitoringConfig
578
566
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
567
 
580
568
  include Google::Apis::Core::JsonObjectSupport
581
569
  end
582
570
 
583
- class PolicyControllerMonitoringConfig
571
+ class PolicyControllerOnClusterState
584
572
  class Representation < Google::Apis::Core::JsonRepresentation; end
585
573
 
586
574
  include Google::Apis::Core::JsonObjectSupport
@@ -1269,8 +1257,6 @@ module Google
1269
1257
  class IdentityServiceAuthMethod
1270
1258
  # @private
1271
1259
  class Representation < Google::Apis::Core::JsonRepresentation
1272
- property :azuread_config, as: 'azureadConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig::Representation
1273
-
1274
1260
  property :google_config, as: 'googleConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceGoogleConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceGoogleConfig::Representation
1275
1261
 
1276
1262
  property :name, as: 'name'
@@ -1280,17 +1266,6 @@ module Google
1280
1266
  end
1281
1267
  end
1282
1268
 
1283
- class IdentityServiceAzureAdConfig
1284
- # @private
1285
- class Representation < Google::Apis::Core::JsonRepresentation
1286
- property :client_id, as: 'clientId'
1287
- property :client_secret, as: 'clientSecret'
1288
- property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
1289
- property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
1290
- property :tenant, as: 'tenant'
1291
- end
1292
- end
1293
-
1294
1269
  class IdentityServiceGoogleConfig
1295
1270
  # @private
1296
1271
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1635,22 +1610,6 @@ module Google
1635
1610
  end
1636
1611
  end
1637
1612
 
1638
- class PolicyControllerHubState
1639
- # @private
1640
- class Representation < Google::Apis::Core::JsonRepresentation
1641
- hash :deployment_states, as: 'deploymentStates'
1642
- property :version, as: 'version', class: Google::Apis::GkehubV1alpha::PolicyControllerHubVersion, decorator: Google::Apis::GkehubV1alpha::PolicyControllerHubVersion::Representation
1643
-
1644
- end
1645
- end
1646
-
1647
- class PolicyControllerHubVersion
1648
- # @private
1649
- class Representation < Google::Apis::Core::JsonRepresentation
1650
- property :version, as: 'version'
1651
- end
1652
- end
1653
-
1654
1613
  class PolicyControllerMembershipSpec
1655
1614
  # @private
1656
1615
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1664,9 +1623,7 @@ module Google
1664
1623
  # @private
1665
1624
  class Representation < Google::Apis::Core::JsonRepresentation
1666
1625
  property :cluster_name, as: 'clusterName'
1667
- property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec::Representation
1668
-
1669
- property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1alpha::PolicyControllerHubState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerHubState::Representation
1626
+ hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
1670
1627
 
1671
1628
  property :state, as: 'state'
1672
1629
  end
@@ -1679,6 +1636,14 @@ module Google
1679
1636
  end
1680
1637
  end
1681
1638
 
1639
+ class PolicyControllerOnClusterState
1640
+ # @private
1641
+ class Representation < Google::Apis::Core::JsonRepresentation
1642
+ property :details, as: 'details'
1643
+ property :state, as: 'state'
1644
+ end
1645
+ end
1646
+
1682
1647
  class PolicyControllerTemplateLibraryConfig
1683
1648
  # @private
1684
1649
  class Representation < Google::Apis::Core::JsonRepresentation
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.35.0
4
+ version: 0.38.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-07-25 00:00:00.000000000 Z
11
+ date: 2022-09-05 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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []