google-apis-gkehub_v1alpha 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c335653e0fe91e6ecd687b3c0f807668a9eda95f5647ba40b919716a4a93e1b6
4
- data.tar.gz: 18312abf9ec4b7cdb122e6b2b1b11e6d432735d67bd43e57bed0143291cb8779
3
+ metadata.gz: fd3f6a72758be01bf61ed188052cf74ef6f268d521696cb988c9953a9bd13fd8
4
+ data.tar.gz: 56eb089556b893fc38f4ba675685dc46ec4558251e52cc0fac3f3a32edd476c6
5
5
  SHA512:
6
- metadata.gz: 9905af78210a4ce9a86415a7e6aec569be16530eb14f6a2d8a225df13688e03d8637f1c7664e3363fbd55b7c480e2450aa7f5d2fc5f96f38a59e50d225a8026e
7
- data.tar.gz: 5544536be8483c08fcc1e374b7fb3f483783bbdbb9200caff2da8c29607d11e8773d2c848de250af556cedcfc6b929d7005fee036c5133a0e0021a44fe5b3fa8
6
+ metadata.gz: 4636ed72c2f0d0d9d2318c46a21f638d4a140f3136b6c8c4736d8a36c0804a22ae989fc54316c152ecd8b964965712b83dd07ae2cf9fe02e072c39d4c86259ef
7
+ data.tar.gz: b62e2eda163df67fe8da9d4c817acccd91953802d14b19046febddc268796447a2e028e5e82ce0492c87920aa1f13dfd464f6a6383e96431d0d948f207137911
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.22.0 (2022-02-12)
4
+
5
+ * Regenerated from discovery document revision 20220204
6
+
3
7
  ### v0.21.0 (2022-02-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20220128
@@ -1839,6 +1839,11 @@ module Google
1839
1839
  # @return [String]
1840
1840
  attr_accessor :client_id
1841
1841
 
1842
+ # Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
1843
+ # Corresponds to the JSON property `clientSecret`
1844
+ # @return [String]
1845
+ attr_accessor :client_secret
1846
+
1842
1847
  # Flag to denote if reverse proxy is used to connect to auth provider. This flag
1843
1848
  # should be set to true when provider is not reachable by Google Cloud Console.
1844
1849
  # Corresponds to the JSON property `deployCloudConsoleProxy`
@@ -1846,6 +1851,12 @@ module Google
1846
1851
  attr_accessor :deploy_cloud_console_proxy
1847
1852
  alias_method :deploy_cloud_console_proxy?, :deploy_cloud_console_proxy
1848
1853
 
1854
+ # Output only. Encrypted OIDC Client secret
1855
+ # Corresponds to the JSON property `encryptedClientSecret`
1856
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1857
+ # @return [String]
1858
+ attr_accessor :encrypted_client_secret
1859
+
1849
1860
  # Comma-separated list of key-value pairs.
1850
1861
  # Corresponds to the JSON property `extraParams`
1851
1862
  # @return [String]
@@ -1896,7 +1907,9 @@ module Google
1896
1907
  def update!(**args)
1897
1908
  @certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
1898
1909
  @client_id = args[:client_id] if args.key?(:client_id)
1910
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
1899
1911
  @deploy_cloud_console_proxy = args[:deploy_cloud_console_proxy] if args.key?(:deploy_cloud_console_proxy)
1912
+ @encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
1900
1913
  @extra_params = args[:extra_params] if args.key?(:extra_params)
1901
1914
  @group_prefix = args[:group_prefix] if args.key?(:group_prefix)
1902
1915
  @groups_claim = args[:groups_claim] if args.key?(:groups_claim)
@@ -2398,7 +2411,7 @@ module Google
2398
2411
  # **Policy Controller**: Configuration for a single cluster. Intended to
2399
2412
  # parallel the PolicyController CR.
2400
2413
  # Corresponds to the JSON property `policycontroller`
2401
- # @return [Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec]
2414
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec]
2402
2415
  attr_accessor :policycontroller
2403
2416
 
2404
2417
  # **Workload Certificate**: The membership-specific input for
@@ -2450,7 +2463,7 @@ module Google
2450
2463
 
2451
2464
  # **Policy Controller**: State for a single cluster.
2452
2465
  # Corresponds to the JSON property `policycontroller`
2453
- # @return [Google::Apis::GkehubV1alpha::PolicycontrollerMembershipState]
2466
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipState]
2454
2467
  attr_accessor :policycontroller
2455
2468
 
2456
2469
  # **Service Mesh**: State for a single Membership, as analyzed by the Service
@@ -2861,12 +2874,12 @@ module Google
2861
2874
 
2862
2875
  # **Policy Controller**: Configuration for a single cluster. Intended to
2863
2876
  # parallel the PolicyController CR.
2864
- class PolicycontrollerMembershipSpec
2877
+ class PolicyControllerMembershipSpec
2865
2878
  include Google::Apis::Core::Hashable
2866
2879
 
2867
2880
  # Configuration for Policy Controller
2868
2881
  # Corresponds to the JSON property `policyControllerHubConfig`
2869
- # @return [Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubConfig]
2882
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubConfig]
2870
2883
  attr_accessor :policy_controller_hub_config
2871
2884
 
2872
2885
  # Version of Policy Controller installed.
@@ -2886,7 +2899,7 @@ module Google
2886
2899
  end
2887
2900
 
2888
2901
  # **Policy Controller**: State for a single cluster.
2889
- class PolicycontrollerMembershipState
2902
+ class PolicyControllerMembershipState
2890
2903
  include Google::Apis::Core::Hashable
2891
2904
 
2892
2905
  # The user-defined name for the cluster used by ClusterSelectors to group
@@ -2900,12 +2913,12 @@ module Google
2900
2913
  # **Policy Controller**: Configuration for a single cluster. Intended to
2901
2914
  # parallel the PolicyController CR.
2902
2915
  # Corresponds to the JSON property `membershipSpec`
2903
- # @return [Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec]
2916
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec]
2904
2917
  attr_accessor :membership_spec
2905
2918
 
2906
2919
  # State of the Policy Controller.
2907
2920
  # Corresponds to the JSON property `policyControllerHubState`
2908
- # @return [Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubState]
2921
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubState]
2909
2922
  attr_accessor :policy_controller_hub_state
2910
2923
 
2911
2924
  # The lifecycle state Policy Controller is in.
@@ -2927,7 +2940,7 @@ module Google
2927
2940
  end
2928
2941
 
2929
2942
  # Configuration for Policy Controller
2930
- class PolicycontrollerPolicyControllerHubConfig
2943
+ class PolicyControllerPolicyControllerHubConfig
2931
2944
  include Google::Apis::Core::Hashable
2932
2945
 
2933
2946
  # Sets the interval for Policy Controller Audit Scans (in seconds). When set to
@@ -2971,7 +2984,7 @@ module Google
2971
2984
 
2972
2985
  # The config specifying which default library templates to install.
2973
2986
  # Corresponds to the JSON property `templateLibraryConfig`
2974
- # @return [Google::Apis::GkehubV1alpha::PolicycontrollerTemplateLibraryConfig]
2987
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig]
2975
2988
  attr_accessor :template_library_config
2976
2989
 
2977
2990
  def initialize(**args)
@@ -2991,7 +3004,7 @@ module Google
2991
3004
  end
2992
3005
 
2993
3006
  # State of the Policy Controller.
2994
- class PolicycontrollerPolicyControllerHubState
3007
+ class PolicyControllerPolicyControllerHubState
2995
3008
  include Google::Apis::Core::Hashable
2996
3009
 
2997
3010
  # Map from deployment name to deployment state. Example deployments are
@@ -3003,7 +3016,7 @@ module Google
3003
3016
 
3004
3017
  # The build version of Gatekeeper that Policy Controller is using.
3005
3018
  # Corresponds to the JSON property `version`
3006
- # @return [Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubVersion]
3019
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubVersion]
3007
3020
  attr_accessor :version
3008
3021
 
3009
3022
  def initialize(**args)
@@ -3018,7 +3031,7 @@ module Google
3018
3031
  end
3019
3032
 
3020
3033
  # The build version of Gatekeeper that Policy Controller is using.
3021
- class PolicycontrollerPolicyControllerHubVersion
3034
+ class PolicyControllerPolicyControllerHubVersion
3022
3035
  include Google::Apis::Core::Hashable
3023
3036
 
3024
3037
  # The gatekeeper image tag that is composed of ACM version, git tag, build
@@ -3038,7 +3051,7 @@ module Google
3038
3051
  end
3039
3052
 
3040
3053
  # The config specifying which default library templates to install.
3041
- class PolicycontrollerTemplateLibraryConfig
3054
+ class PolicyControllerTemplateLibraryConfig
3042
3055
  include Google::Apis::Core::Hashable
3043
3056
 
3044
3057
  # Whether the standard template library should be installed or not.
@@ -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.21.0"
19
+ GEM_VERSION = "0.22.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 = "20220128"
25
+ REVISION = "20220204"
26
26
  end
27
27
  end
28
28
  end
@@ -460,37 +460,37 @@ module Google
460
460
  include Google::Apis::Core::JsonObjectSupport
461
461
  end
462
462
 
463
- class PolicycontrollerMembershipSpec
463
+ class PolicyControllerMembershipSpec
464
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
465
 
466
466
  include Google::Apis::Core::JsonObjectSupport
467
467
  end
468
468
 
469
- class PolicycontrollerMembershipState
469
+ class PolicyControllerMembershipState
470
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
471
 
472
472
  include Google::Apis::Core::JsonObjectSupport
473
473
  end
474
474
 
475
- class PolicycontrollerPolicyControllerHubConfig
475
+ class PolicyControllerPolicyControllerHubConfig
476
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
477
 
478
478
  include Google::Apis::Core::JsonObjectSupport
479
479
  end
480
480
 
481
- class PolicycontrollerPolicyControllerHubState
481
+ class PolicyControllerPolicyControllerHubState
482
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
483
 
484
484
  include Google::Apis::Core::JsonObjectSupport
485
485
  end
486
486
 
487
- class PolicycontrollerPolicyControllerHubVersion
487
+ class PolicyControllerPolicyControllerHubVersion
488
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
489
 
490
490
  include Google::Apis::Core::JsonObjectSupport
491
491
  end
492
492
 
493
- class PolicycontrollerTemplateLibraryConfig
493
+ class PolicyControllerTemplateLibraryConfig
494
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
495
 
496
496
  include Google::Apis::Core::JsonObjectSupport
@@ -1097,7 +1097,9 @@ module Google
1097
1097
  class Representation < Google::Apis::Core::JsonRepresentation
1098
1098
  property :certificate_authority_data, as: 'certificateAuthorityData'
1099
1099
  property :client_id, as: 'clientId'
1100
+ property :client_secret, as: 'clientSecret'
1100
1101
  property :deploy_cloud_console_proxy, as: 'deployCloudConsoleProxy'
1102
+ property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
1101
1103
  property :extra_params, as: 'extraParams'
1102
1104
  property :group_prefix, as: 'groupPrefix'
1103
1105
  property :groups_claim, as: 'groupsClaim'
@@ -1244,7 +1246,7 @@ module Google
1244
1246
 
1245
1247
  property :mesh, as: 'mesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec::Representation
1246
1248
 
1247
- property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec::Representation
1249
+ property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec::Representation
1248
1250
 
1249
1251
  property :workloadcertificate, as: 'workloadcertificate', class: Google::Apis::GkehubV1alpha::MembershipSpec, decorator: Google::Apis::GkehubV1alpha::MembershipSpec::Representation
1250
1252
 
@@ -1262,7 +1264,7 @@ module Google
1262
1264
 
1263
1265
  property :metering, as: 'metering', class: Google::Apis::GkehubV1alpha::MeteringMembershipState, decorator: Google::Apis::GkehubV1alpha::MeteringMembershipState::Representation
1264
1266
 
1265
- property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipState, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipState::Representation
1267
+ property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipState::Representation
1266
1268
 
1267
1269
  property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState::Representation
1268
1270
 
@@ -1355,28 +1357,28 @@ module Google
1355
1357
  end
1356
1358
  end
1357
1359
 
1358
- class PolicycontrollerMembershipSpec
1360
+ class PolicyControllerMembershipSpec
1359
1361
  # @private
1360
1362
  class Representation < Google::Apis::Core::JsonRepresentation
1361
- property :policy_controller_hub_config, as: 'policyControllerHubConfig', class: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubConfig, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubConfig::Representation
1363
+ property :policy_controller_hub_config, as: 'policyControllerHubConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubConfig::Representation
1362
1364
 
1363
1365
  property :version, as: 'version'
1364
1366
  end
1365
1367
  end
1366
1368
 
1367
- class PolicycontrollerMembershipState
1369
+ class PolicyControllerMembershipState
1368
1370
  # @private
1369
1371
  class Representation < Google::Apis::Core::JsonRepresentation
1370
1372
  property :cluster_name, as: 'clusterName'
1371
- property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec::Representation
1373
+ property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec::Representation
1372
1374
 
1373
- property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubState, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubState::Representation
1375
+ property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubState::Representation
1374
1376
 
1375
1377
  property :state, as: 'state'
1376
1378
  end
1377
1379
  end
1378
1380
 
1379
- class PolicycontrollerPolicyControllerHubConfig
1381
+ class PolicyControllerPolicyControllerHubConfig
1380
1382
  # @private
1381
1383
  class Representation < Google::Apis::Core::JsonRepresentation
1382
1384
  property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
@@ -1385,28 +1387,28 @@ module Google
1385
1387
  property :log_denies_enabled, as: 'logDeniesEnabled'
1386
1388
  property :mutation_enabled, as: 'mutationEnabled'
1387
1389
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
1388
- property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicycontrollerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerTemplateLibraryConfig::Representation
1390
+ property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig::Representation
1389
1391
 
1390
1392
  end
1391
1393
  end
1392
1394
 
1393
- class PolicycontrollerPolicyControllerHubState
1395
+ class PolicyControllerPolicyControllerHubState
1394
1396
  # @private
1395
1397
  class Representation < Google::Apis::Core::JsonRepresentation
1396
1398
  hash :deployment_states, as: 'deploymentStates'
1397
- property :version, as: 'version', class: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubVersion, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubVersion::Representation
1399
+ property :version, as: 'version', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubVersion, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubVersion::Representation
1398
1400
 
1399
1401
  end
1400
1402
  end
1401
1403
 
1402
- class PolicycontrollerPolicyControllerHubVersion
1404
+ class PolicyControllerPolicyControllerHubVersion
1403
1405
  # @private
1404
1406
  class Representation < Google::Apis::Core::JsonRepresentation
1405
1407
  property :version, as: 'version'
1406
1408
  end
1407
1409
  end
1408
1410
 
1409
- class PolicycontrollerTemplateLibraryConfig
1411
+ class PolicyControllerTemplateLibraryConfig
1410
1412
  # @private
1411
1413
  class Representation < Google::Apis::Core::JsonRepresentation
1412
1414
  property :included, as: 'included'
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.21.0
4
+ version: 0.22.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-02-07 00:00:00.000000000 Z
11
+ date: 2022-02-14 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.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.22.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: []