google-apis-gkehub_v1alpha 0.31.0 → 0.34.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: '096e3aae0db5163accd551f60bf18dc5608e2ce4c953d3d32a51d01a087c7842'
4
- data.tar.gz: 0da7599d4c6e2922c432179bb5f823010f650dc6737c532ddaf1cecc839383ef
3
+ metadata.gz: 67d9879995be19c94e1a3ec80f1a52d491a88432f760288c9a9e613aacc2329f
4
+ data.tar.gz: 5207a25ab4c2dd0f6e274ded5fad580094ede9c207393c54fbc7fb6f32d57519
5
5
  SHA512:
6
- metadata.gz: b9d8dc84d90b75e2d33f783b5255ea3150d0c5422e64affd5a01aad1d5a585cd4274edaec256b1eb5eea98f907d9176804d2461d644889d72316c2c3fc101517
7
- data.tar.gz: 18cb2e79ecab0edad1d37f671078381e0f46a6caeecaffae1207c6826f93b232c2c73bf260f05d43426f9d505409aee5dcb1fb9c6c55fa8b287ea6f4ace6d316
6
+ metadata.gz: 239acad3dfadc978bee5db43ad4e9199e4aa9172f643c319d87e82c7f6aef4cf7872b10b4d98c378eb078d1febd3efcd2e62b35338acdbc119cab6a510618e4e
7
+ data.tar.gz: 2dddbfba346f6bc4320b2ff2253320f4927b0d99cbcad96d8de076c75df6c434d2a81a4c4c5ac4aefe92e4c4d6dc22a12b2ce9c97b825a2265ca18026784778d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.34.0 (2022-07-16)
4
+
5
+ * Regenerated from discovery document revision 20220706
6
+
7
+ ### v0.33.0 (2022-07-07)
8
+
9
+ * Regenerated from discovery document revision 20220628
10
+ * Regenerated using generator version 0.9.0
11
+
12
+ ### v0.32.0 (2022-07-01)
13
+
14
+ * Regenerated using generator version 0.8.0
15
+ * Regenerated from discovery document revision 20220621
16
+
3
17
  ### v0.31.0 (2022-06-19)
4
18
 
5
19
  * Regenerated from discovery document revision 20220613
@@ -1354,7 +1354,8 @@ module Google
1354
1354
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerMonitoring]
1355
1355
  attr_accessor :monitoring
1356
1356
 
1357
- # Enable users to try out mutation for PolicyController.
1357
+ # Enable or disable mutation in policy controller. If true, mutation CRDs,
1358
+ # webhook and controller deployment will be deployed to the cluster.
1358
1359
  # Corresponds to the JSON property `mutationEnabled`
1359
1360
  # @return [Boolean]
1360
1361
  attr_accessor :mutation_enabled
@@ -1997,6 +1998,11 @@ module Google
1997
1998
  class IdentityServiceAuthMethod
1998
1999
  include Google::Apis::Core::Hashable
1999
2000
 
2001
+ # Configuration for the AzureAD Auth flow.
2002
+ # Corresponds to the JSON property `azureadConfig`
2003
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig]
2004
+ attr_accessor :azuread_config
2005
+
2000
2006
  # Identifier for auth config.
2001
2007
  # Corresponds to the JSON property `name`
2002
2008
  # @return [String]
@@ -2018,12 +2024,59 @@ module Google
2018
2024
 
2019
2025
  # Update properties of this object
2020
2026
  def update!(**args)
2027
+ @azuread_config = args[:azuread_config] if args.key?(:azuread_config)
2021
2028
  @name = args[:name] if args.key?(:name)
2022
2029
  @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
2023
2030
  @proxy = args[:proxy] if args.key?(:proxy)
2024
2031
  end
2025
2032
  end
2026
2033
 
2034
+ # Configuration for the AzureAD Auth flow.
2035
+ class IdentityServiceAzureAdConfig
2036
+ include Google::Apis::Core::Hashable
2037
+
2038
+ # ID for the registered client application that makes authentication requests to
2039
+ # the Azure AD identity provider.
2040
+ # Corresponds to the JSON property `clientId`
2041
+ # @return [String]
2042
+ attr_accessor :client_id
2043
+
2044
+ # Raw client secret will be passed to the GKE Hub CLH.
2045
+ # Corresponds to the JSON property `clientSecret`
2046
+ # @return [String]
2047
+ attr_accessor :client_secret
2048
+
2049
+ # Encrypted AzureAD client secrets
2050
+ # Corresponds to the JSON property `encryptedClientSecret`
2051
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2052
+ # @return [String]
2053
+ attr_accessor :encrypted_client_secret
2054
+
2055
+ # The redirect URL that kubectl uses for authorization.
2056
+ # Corresponds to the JSON property `kubectlRedirectUri`
2057
+ # @return [String]
2058
+ attr_accessor :kubectl_redirect_uri
2059
+
2060
+ # Kind of Azure AD account to be authenticated. Supported values are or for
2061
+ # accounts belonging to a specific tenant.
2062
+ # Corresponds to the JSON property `tenant`
2063
+ # @return [String]
2064
+ attr_accessor :tenant
2065
+
2066
+ def initialize(**args)
2067
+ update!(**args)
2068
+ end
2069
+
2070
+ # Update properties of this object
2071
+ def update!(**args)
2072
+ @client_id = args[:client_id] if args.key?(:client_id)
2073
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
2074
+ @encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
2075
+ @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
2076
+ @tenant = args[:tenant] if args.key?(:tenant)
2077
+ end
2078
+ end
2079
+
2027
2080
  # **Anthos Identity Service**: Configuration for a single Membership.
2028
2081
  class IdentityServiceMembershipSpec
2029
2082
  include Google::Apis::Core::Hashable
@@ -3273,6 +3326,13 @@ module Google
3273
3326
  attr_accessor :log_denies_enabled
3274
3327
  alias_method :log_denies_enabled?, :log_denies_enabled
3275
3328
 
3329
+ # MonitoringConfig specifies the backends Policy Controller should export
3330
+ # metrics to. For example, to specify metrics should be exported to Cloud
3331
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
3332
+ # Corresponds to the JSON property `monitoring`
3333
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerMonitoringConfig]
3334
+ attr_accessor :monitoring
3335
+
3276
3336
  # Enables the ability to mutate resources using Policy Controller.
3277
3337
  # Corresponds to the JSON property `mutationEnabled`
3278
3338
  # @return [Boolean]
@@ -3301,6 +3361,7 @@ module Google
3301
3361
  @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
3302
3362
  @install_spec = args[:install_spec] if args.key?(:install_spec)
3303
3363
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
3364
+ @monitoring = args[:monitoring] if args.key?(:monitoring)
3304
3365
  @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
3305
3366
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
3306
3367
  @template_library_config = args[:template_library_config] if args.key?(:template_library_config)
@@ -3421,6 +3482,28 @@ module Google
3421
3482
  end
3422
3483
  end
3423
3484
 
3485
+ # MonitoringConfig specifies the backends Policy Controller should export
3486
+ # metrics to. For example, to specify metrics should be exported to Cloud
3487
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
3488
+ class PolicyControllerMonitoringConfig
3489
+ include Google::Apis::Core::Hashable
3490
+
3491
+ # Specifies the list of backends Policy Controller will export to. An empty list
3492
+ # would effectively disable metrics export.
3493
+ # Corresponds to the JSON property `backends`
3494
+ # @return [Array<String>]
3495
+ attr_accessor :backends
3496
+
3497
+ def initialize(**args)
3498
+ update!(**args)
3499
+ end
3500
+
3501
+ # Update properties of this object
3502
+ def update!(**args)
3503
+ @backends = args[:backends] if args.key?(:backends)
3504
+ end
3505
+ end
3506
+
3424
3507
  # The config specifying which default library templates to install.
3425
3508
  class PolicyControllerTemplateLibraryConfig
3426
3509
  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.31.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.7.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220613"
25
+ REVISION = "20220706"
26
26
  end
27
27
  end
28
28
  end
@@ -364,6 +364,12 @@ module Google
364
364
  include Google::Apis::Core::JsonObjectSupport
365
365
  end
366
366
 
367
+ class IdentityServiceAzureAdConfig
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
367
373
  class IdentityServiceMembershipSpec
368
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
375
 
@@ -562,6 +568,12 @@ module Google
562
568
  include Google::Apis::Core::JsonObjectSupport
563
569
  end
564
570
 
571
+ class PolicyControllerMonitoringConfig
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
565
577
  class PolicyControllerTemplateLibraryConfig
566
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
579
 
@@ -1237,6 +1249,8 @@ module Google
1237
1249
  class IdentityServiceAuthMethod
1238
1250
  # @private
1239
1251
  class Representation < Google::Apis::Core::JsonRepresentation
1252
+ property :azuread_config, as: 'azureadConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig::Representation
1253
+
1240
1254
  property :name, as: 'name'
1241
1255
  property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig::Representation
1242
1256
 
@@ -1244,6 +1258,17 @@ module Google
1244
1258
  end
1245
1259
  end
1246
1260
 
1261
+ class IdentityServiceAzureAdConfig
1262
+ # @private
1263
+ class Representation < Google::Apis::Core::JsonRepresentation
1264
+ property :client_id, as: 'clientId'
1265
+ property :client_secret, as: 'clientSecret'
1266
+ property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
1267
+ property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
1268
+ property :tenant, as: 'tenant'
1269
+ end
1270
+ end
1271
+
1247
1272
  class IdentityServiceMembershipSpec
1248
1273
  # @private
1249
1274
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1572,6 +1597,8 @@ module Google
1572
1597
  collection :exemptable_namespaces, as: 'exemptableNamespaces'
1573
1598
  property :install_spec, as: 'installSpec'
1574
1599
  property :log_denies_enabled, as: 'logDeniesEnabled'
1600
+ property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1alpha::PolicyControllerMonitoringConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMonitoringConfig::Representation
1601
+
1575
1602
  property :mutation_enabled, as: 'mutationEnabled'
1576
1603
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
1577
1604
  property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig::Representation
@@ -1616,6 +1643,13 @@ module Google
1616
1643
  end
1617
1644
  end
1618
1645
 
1646
+ class PolicyControllerMonitoringConfig
1647
+ # @private
1648
+ class Representation < Google::Apis::Core::JsonRepresentation
1649
+ collection :backends, as: 'backends'
1650
+ end
1651
+ end
1652
+
1619
1653
  class PolicyControllerTemplateLibraryConfig
1620
1654
  # @private
1621
1655
  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.31.0
4
+ version: 0.34.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-06-20 00:00:00.000000000 Z
11
+ date: 2022-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.6'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.6'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.34.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: []