google-apis-gkehub_v1alpha 0.33.0 → 0.36.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: e0af1adaa546730469b513b87e36583b4e6e06aafb87c4a882fffcfe0be1d464
4
- data.tar.gz: 3dfe542a0b7d0fba5851b089570253faff804c93c8e56d0f4b9d52a8c2325d7d
3
+ metadata.gz: 17ed99a8d0ee5072a938d16a92cc4eac92cda57f88e6f73d9029ac9853fc3f3d
4
+ data.tar.gz: 2091c5e6783cfd4388eb4e69f647d2eaa9d9b6ae1fb25a52c62f86769a5e6f81
5
5
  SHA512:
6
- metadata.gz: bd55fc8b9b0209a962d3a8eca26ab753b312d7121c8dd2d64df4ec06fcb202b5bc02b78e3c4c44b446c21c97cb95c9e4be8a4c67bb6923fe52da289e35b42297
7
- data.tar.gz: c4a72c79a4a5c6f4828b026c7b42738fb4d2f9d13ece54e5cb59a7bb7acacd6d2b753dced7228774e7c7be54aede9759c61a1270dd89bb82e457326f1af0bfb4
6
+ metadata.gz: 92cd0d01e0961c3a30fa819f6b73fb9991a95d6b43d88d5620a048cfee8a3a853e09384f6ead363e5ef7b669d6cf23d7b0d66710a13030ee9aad9a827e3c83b8
7
+ data.tar.gz: f06c2e4935511a846b7dd2dd3a40b8052fdd7f231ebd2a876d571db6aaa39457f9bdc3eb905b5915ebc915483d45560930880f5d34e2bde2381fd7ccdebd7f28
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.36.0 (2022-08-14)
4
+
5
+ * Regenerated from discovery document revision 20220805
6
+
7
+ ### v0.35.0 (2022-07-23)
8
+
9
+ * Regenerated from discovery document revision 20220715
10
+
11
+ ### v0.34.0 (2022-07-16)
12
+
13
+ * Regenerated from discovery document revision 20220706
14
+
3
15
  ### v0.33.0 (2022-07-07)
4
16
 
5
17
  * Regenerated from discovery document revision 20220628
@@ -408,25 +408,28 @@ module Google
408
408
  # anyone who is authenticated with a Google account or a service account. * `
409
409
  # user:`emailid``: An email address that represents a specific Google account.
410
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`.
411
+ # address that represents a Google service account. For example, `my-other-app@
412
+ # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
413
+ # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
414
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
415
+ # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
416
+ # . * `group:`emailid``: An email address that represents a Google group. For
417
+ # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
418
+ # email address (plus unique identifier) representing a user that has been
419
+ # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
420
+ # If the user is recovered, this value reverts to `user:`emailid`` and the
421
+ # recovered user retains the role in the binding. * `deleted:serviceAccount:`
422
+ # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
423
+ # representing a service account that has been recently deleted. For example, `
424
+ # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
425
+ # service account is undeleted, this value reverts to `serviceAccount:`emailid``
426
+ # and the undeleted service account retains the role in the binding. * `deleted:
427
+ # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
428
+ # representing a Google group that has been recently deleted. For example, `
429
+ # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
430
+ # value reverts to `group:`emailid`` and the recovered group retains the role in
431
+ # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
432
+ # all the users of that domain. For example, `google.com` or `example.com`.
430
433
  # Corresponds to the JSON property `members`
431
434
  # @return [Array<String>]
432
435
  attr_accessor :members
@@ -1860,15 +1863,6 @@ module Google
1860
1863
  # @return [String]
1861
1864
  attr_accessor :display_name
1862
1865
 
1863
- # The name for the fleet. The name must meet the following constraints: + The
1864
- # name of a fleet should be unique within the organization; + It must consist of
1865
- # lower case alphanumeric characters or `-`; + The length of the name must be
1866
- # less than or equal to 63; + Unicode names must be expressed in Punycode format
1867
- # (rfc3492). Examples: + prod-fleet + xn--wlq33vhyw9jb (Punycode form for "生产环境")
1868
- # Corresponds to the JSON property `fleetName`
1869
- # @return [String]
1870
- attr_accessor :fleet_name
1871
-
1872
1866
  # Output only. The full, unique resource name of this fleet in the format of `
1873
1867
  # projects/`project`/locations/`location`/fleets/`fleet``. Each GCP project can
1874
1868
  # have at most one fleet resource, named "default".
@@ -1876,6 +1870,11 @@ module Google
1876
1870
  # @return [String]
1877
1871
  attr_accessor :name
1878
1872
 
1873
+ # FleetLifecycleState describes the state of a Fleet resource.
1874
+ # Corresponds to the JSON property `state`
1875
+ # @return [Google::Apis::GkehubV1alpha::FleetLifecycleState]
1876
+ attr_accessor :state
1877
+
1879
1878
  # Output only. Google-generated UUID for this resource. This is unique across
1880
1879
  # all Fleet resources. If a Fleet resource is deleted and another resource with
1881
1880
  # the same name is created, it gets a different uid.
@@ -1897,13 +1896,32 @@ module Google
1897
1896
  @create_time = args[:create_time] if args.key?(:create_time)
1898
1897
  @delete_time = args[:delete_time] if args.key?(:delete_time)
1899
1898
  @display_name = args[:display_name] if args.key?(:display_name)
1900
- @fleet_name = args[:fleet_name] if args.key?(:fleet_name)
1901
1899
  @name = args[:name] if args.key?(:name)
1900
+ @state = args[:state] if args.key?(:state)
1902
1901
  @uid = args[:uid] if args.key?(:uid)
1903
1902
  @update_time = args[:update_time] if args.key?(:update_time)
1904
1903
  end
1905
1904
  end
1906
1905
 
1906
+ # FleetLifecycleState describes the state of a Fleet resource.
1907
+ class FleetLifecycleState
1908
+ include Google::Apis::Core::Hashable
1909
+
1910
+ # Output only. The current state of the Fleet resource.
1911
+ # Corresponds to the JSON property `code`
1912
+ # @return [String]
1913
+ attr_accessor :code
1914
+
1915
+ def initialize(**args)
1916
+ update!(**args)
1917
+ end
1918
+
1919
+ # Update properties of this object
1920
+ def update!(**args)
1921
+ @code = args[:code] if args.key?(:code)
1922
+ end
1923
+ end
1924
+
1907
1925
  # GenerateConnectManifestResponse contains manifest information for installing/
1908
1926
  # upgrading a Connect agent.
1909
1927
  class GenerateConnectManifestResponse
@@ -1998,6 +2016,16 @@ module Google
1998
2016
  class IdentityServiceAuthMethod
1999
2017
  include Google::Apis::Core::Hashable
2000
2018
 
2019
+ # Configuration for the AzureAD Auth flow.
2020
+ # Corresponds to the JSON property `azureadConfig`
2021
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig]
2022
+ attr_accessor :azuread_config
2023
+
2024
+ # Configuration for the Google Plugin Auth flow.
2025
+ # Corresponds to the JSON property `googleConfig`
2026
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceGoogleConfig]
2027
+ attr_accessor :google_config
2028
+
2001
2029
  # Identifier for auth config.
2002
2030
  # Corresponds to the JSON property `name`
2003
2031
  # @return [String]
@@ -2019,12 +2047,81 @@ module Google
2019
2047
 
2020
2048
  # Update properties of this object
2021
2049
  def update!(**args)
2050
+ @azuread_config = args[:azuread_config] if args.key?(:azuread_config)
2051
+ @google_config = args[:google_config] if args.key?(:google_config)
2022
2052
  @name = args[:name] if args.key?(:name)
2023
2053
  @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
2024
2054
  @proxy = args[:proxy] if args.key?(:proxy)
2025
2055
  end
2026
2056
  end
2027
2057
 
2058
+ # Configuration for the AzureAD Auth flow.
2059
+ class IdentityServiceAzureAdConfig
2060
+ include Google::Apis::Core::Hashable
2061
+
2062
+ # ID for the registered client application that makes authentication requests to
2063
+ # the Azure AD identity provider.
2064
+ # Corresponds to the JSON property `clientId`
2065
+ # @return [String]
2066
+ attr_accessor :client_id
2067
+
2068
+ # Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub
2069
+ # CLH.
2070
+ # Corresponds to the JSON property `clientSecret`
2071
+ # @return [String]
2072
+ attr_accessor :client_secret
2073
+
2074
+ # Output only. Encrypted AzureAD client secret.
2075
+ # Corresponds to the JSON property `encryptedClientSecret`
2076
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2077
+ # @return [String]
2078
+ attr_accessor :encrypted_client_secret
2079
+
2080
+ # The redirect URL that kubectl uses for authorization.
2081
+ # Corresponds to the JSON property `kubectlRedirectUri`
2082
+ # @return [String]
2083
+ attr_accessor :kubectl_redirect_uri
2084
+
2085
+ # Kind of Azure AD account to be authenticated. Supported values are or for
2086
+ # accounts belonging to a specific tenant.
2087
+ # Corresponds to the JSON property `tenant`
2088
+ # @return [String]
2089
+ attr_accessor :tenant
2090
+
2091
+ def initialize(**args)
2092
+ update!(**args)
2093
+ end
2094
+
2095
+ # Update properties of this object
2096
+ def update!(**args)
2097
+ @client_id = args[:client_id] if args.key?(:client_id)
2098
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
2099
+ @encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
2100
+ @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
2101
+ @tenant = args[:tenant] if args.key?(:tenant)
2102
+ end
2103
+ end
2104
+
2105
+ # Configuration for the Google Plugin Auth flow.
2106
+ class IdentityServiceGoogleConfig
2107
+ include Google::Apis::Core::Hashable
2108
+
2109
+ # Disable automatic configuration of Google Plugin on supported platforms.
2110
+ # Corresponds to the JSON property `disable`
2111
+ # @return [Boolean]
2112
+ attr_accessor :disable
2113
+ alias_method :disable?, :disable
2114
+
2115
+ def initialize(**args)
2116
+ update!(**args)
2117
+ end
2118
+
2119
+ # Update properties of this object
2120
+ def update!(**args)
2121
+ @disable = args[:disable] if args.key?(:disable)
2122
+ end
2123
+ end
2124
+
2028
2125
  # **Anthos Identity Service**: Configuration for a single Membership.
2029
2126
  class IdentityServiceMembershipSpec
2030
2127
  include Google::Apis::Core::Hashable
@@ -2941,7 +3038,8 @@ module Google
2941
3038
  # Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For
2942
3039
  # example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-
2943
3040
  # a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/
2944
- # locations/us-west1-a/azureClusters/my-cluster
3041
+ # locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/
3042
+ # projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
2945
3043
  # Corresponds to the JSON property `resourceLink`
2946
3044
  # @return [String]
2947
3045
  attr_accessor :resource_link
@@ -3316,53 +3414,6 @@ module Google
3316
3414
  end
3317
3415
  end
3318
3416
 
3319
- # State of the Policy Controller.
3320
- class PolicyControllerHubState
3321
- include Google::Apis::Core::Hashable
3322
-
3323
- # Map from deployment name to deployment state. Example deployments are
3324
- # gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-
3325
- # mutation.
3326
- # Corresponds to the JSON property `deploymentStates`
3327
- # @return [Hash<String,String>]
3328
- attr_accessor :deployment_states
3329
-
3330
- # The build version of Gatekeeper that Policy Controller is using.
3331
- # Corresponds to the JSON property `version`
3332
- # @return [Google::Apis::GkehubV1alpha::PolicyControllerHubVersion]
3333
- attr_accessor :version
3334
-
3335
- def initialize(**args)
3336
- update!(**args)
3337
- end
3338
-
3339
- # Update properties of this object
3340
- def update!(**args)
3341
- @deployment_states = args[:deployment_states] if args.key?(:deployment_states)
3342
- @version = args[:version] if args.key?(:version)
3343
- end
3344
- end
3345
-
3346
- # The build version of Gatekeeper that Policy Controller is using.
3347
- class PolicyControllerHubVersion
3348
- include Google::Apis::Core::Hashable
3349
-
3350
- # The gatekeeper image tag that is composed of ACM version, git tag, build
3351
- # number.
3352
- # Corresponds to the JSON property `version`
3353
- # @return [String]
3354
- attr_accessor :version
3355
-
3356
- def initialize(**args)
3357
- update!(**args)
3358
- end
3359
-
3360
- # Update properties of this object
3361
- def update!(**args)
3362
- @version = args[:version] if args.key?(:version)
3363
- end
3364
- end
3365
-
3366
3417
  # **Policy Controller**: Configuration for a single cluster. Intended to
3367
3418
  # parallel the PolicyController CR.
3368
3419
  class PolicyControllerMembershipSpec
@@ -3401,18 +3452,14 @@ module Google
3401
3452
  # @return [String]
3402
3453
  attr_accessor :cluster_name
3403
3454
 
3404
- # **Policy Controller**: Configuration for a single cluster. Intended to
3405
- # parallel the PolicyController CR.
3406
- # Corresponds to the JSON property `membershipSpec`
3407
- # @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec]
3408
- attr_accessor :membership_spec
3409
-
3410
- # State of the Policy Controller.
3411
- # Corresponds to the JSON property `policyControllerHubState`
3412
- # @return [Google::Apis::GkehubV1alpha::PolicyControllerHubState]
3413
- attr_accessor :policy_controller_hub_state
3455
+ # Currently these include (also serving as map keys): 1. "admission" 2. "audit"
3456
+ # 3. "mutation" 4. "constraint template library"
3457
+ # Corresponds to the JSON property `componentStates`
3458
+ # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
3459
+ attr_accessor :component_states
3414
3460
 
3415
- # The lifecycle state Policy Controller is in.
3461
+ # The overall Policy Controller lifecycle state observed by the Hub Feature
3462
+ # controller.
3416
3463
  # Corresponds to the JSON property `state`
3417
3464
  # @return [String]
3418
3465
  attr_accessor :state
@@ -3424,8 +3471,7 @@ module Google
3424
3471
  # Update properties of this object
3425
3472
  def update!(**args)
3426
3473
  @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
3427
- @membership_spec = args[:membership_spec] if args.key?(:membership_spec)
3428
- @policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
3474
+ @component_states = args[:component_states] if args.key?(:component_states)
3429
3475
  @state = args[:state] if args.key?(:state)
3430
3476
  end
3431
3477
  end
@@ -3452,6 +3498,31 @@ module Google
3452
3498
  end
3453
3499
  end
3454
3500
 
3501
+ # OnClusterState represents the state of a sub-component of Policy Controller.
3502
+ class PolicyControllerOnClusterState
3503
+ include Google::Apis::Core::Hashable
3504
+
3505
+ # Surface potential errors or information logs.
3506
+ # Corresponds to the JSON property `details`
3507
+ # @return [String]
3508
+ attr_accessor :details
3509
+
3510
+ # The lifecycle state of this component.
3511
+ # Corresponds to the JSON property `state`
3512
+ # @return [String]
3513
+ attr_accessor :state
3514
+
3515
+ def initialize(**args)
3516
+ update!(**args)
3517
+ end
3518
+
3519
+ # Update properties of this object
3520
+ def update!(**args)
3521
+ @details = args[:details] if args.key?(:details)
3522
+ @state = args[:state] if args.key?(:state)
3523
+ end
3524
+ end
3525
+
3455
3526
  # The config specifying which default library templates to install.
3456
3527
  class PolicyControllerTemplateLibraryConfig
3457
3528
  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.33.0"
19
+ GEM_VERSION = "0.36.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 = "20220628"
25
+ REVISION = "20220805"
26
26
  end
27
27
  end
28
28
  end
@@ -340,6 +340,12 @@ module Google
340
340
  include Google::Apis::Core::JsonObjectSupport
341
341
  end
342
342
 
343
+ class FleetLifecycleState
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
343
349
  class GenerateConnectManifestResponse
344
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
351
 
@@ -364,6 +370,18 @@ module Google
364
370
  include Google::Apis::Core::JsonObjectSupport
365
371
  end
366
372
 
373
+ class IdentityServiceAzureAdConfig
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class IdentityServiceGoogleConfig
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
367
385
  class IdentityServiceMembershipSpec
368
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
387
 
@@ -538,31 +556,25 @@ module Google
538
556
  include Google::Apis::Core::JsonObjectSupport
539
557
  end
540
558
 
541
- class PolicyControllerHubState
542
- class Representation < Google::Apis::Core::JsonRepresentation; end
543
-
544
- include Google::Apis::Core::JsonObjectSupport
545
- end
546
-
547
- class PolicyControllerHubVersion
559
+ class PolicyControllerMembershipSpec
548
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
561
 
550
562
  include Google::Apis::Core::JsonObjectSupport
551
563
  end
552
564
 
553
- class PolicyControllerMembershipSpec
565
+ class PolicyControllerMembershipState
554
566
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
567
 
556
568
  include Google::Apis::Core::JsonObjectSupport
557
569
  end
558
570
 
559
- class PolicyControllerMembershipState
571
+ class PolicyControllerMonitoringConfig
560
572
  class Representation < Google::Apis::Core::JsonRepresentation; end
561
573
 
562
574
  include Google::Apis::Core::JsonObjectSupport
563
575
  end
564
576
 
565
- class PolicyControllerMonitoringConfig
577
+ class PolicyControllerOnClusterState
566
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
579
 
568
580
  include Google::Apis::Core::JsonObjectSupport
@@ -1208,13 +1220,21 @@ module Google
1208
1220
  property :create_time, as: 'createTime'
1209
1221
  property :delete_time, as: 'deleteTime'
1210
1222
  property :display_name, as: 'displayName'
1211
- property :fleet_name, as: 'fleetName'
1212
1223
  property :name, as: 'name'
1224
+ property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FleetLifecycleState, decorator: Google::Apis::GkehubV1alpha::FleetLifecycleState::Representation
1225
+
1213
1226
  property :uid, as: 'uid'
1214
1227
  property :update_time, as: 'updateTime'
1215
1228
  end
1216
1229
  end
1217
1230
 
1231
+ class FleetLifecycleState
1232
+ # @private
1233
+ class Representation < Google::Apis::Core::JsonRepresentation
1234
+ property :code, as: 'code'
1235
+ end
1236
+ end
1237
+
1218
1238
  class GenerateConnectManifestResponse
1219
1239
  # @private
1220
1240
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1243,6 +1263,10 @@ module Google
1243
1263
  class IdentityServiceAuthMethod
1244
1264
  # @private
1245
1265
  class Representation < Google::Apis::Core::JsonRepresentation
1266
+ property :azuread_config, as: 'azureadConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig::Representation
1267
+
1268
+ property :google_config, as: 'googleConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceGoogleConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceGoogleConfig::Representation
1269
+
1246
1270
  property :name, as: 'name'
1247
1271
  property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig::Representation
1248
1272
 
@@ -1250,6 +1274,24 @@ module Google
1250
1274
  end
1251
1275
  end
1252
1276
 
1277
+ class IdentityServiceAzureAdConfig
1278
+ # @private
1279
+ class Representation < Google::Apis::Core::JsonRepresentation
1280
+ property :client_id, as: 'clientId'
1281
+ property :client_secret, as: 'clientSecret'
1282
+ property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
1283
+ property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
1284
+ property :tenant, as: 'tenant'
1285
+ end
1286
+ end
1287
+
1288
+ class IdentityServiceGoogleConfig
1289
+ # @private
1290
+ class Representation < Google::Apis::Core::JsonRepresentation
1291
+ property :disable, as: 'disable'
1292
+ end
1293
+ end
1294
+
1253
1295
  class IdentityServiceMembershipSpec
1254
1296
  # @private
1255
1297
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1587,22 +1629,6 @@ module Google
1587
1629
  end
1588
1630
  end
1589
1631
 
1590
- class PolicyControllerHubState
1591
- # @private
1592
- class Representation < Google::Apis::Core::JsonRepresentation
1593
- hash :deployment_states, as: 'deploymentStates'
1594
- property :version, as: 'version', class: Google::Apis::GkehubV1alpha::PolicyControllerHubVersion, decorator: Google::Apis::GkehubV1alpha::PolicyControllerHubVersion::Representation
1595
-
1596
- end
1597
- end
1598
-
1599
- class PolicyControllerHubVersion
1600
- # @private
1601
- class Representation < Google::Apis::Core::JsonRepresentation
1602
- property :version, as: 'version'
1603
- end
1604
- end
1605
-
1606
1632
  class PolicyControllerMembershipSpec
1607
1633
  # @private
1608
1634
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1616,9 +1642,7 @@ module Google
1616
1642
  # @private
1617
1643
  class Representation < Google::Apis::Core::JsonRepresentation
1618
1644
  property :cluster_name, as: 'clusterName'
1619
- property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec::Representation
1620
-
1621
- property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1alpha::PolicyControllerHubState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerHubState::Representation
1645
+ hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
1622
1646
 
1623
1647
  property :state, as: 'state'
1624
1648
  end
@@ -1631,6 +1655,14 @@ module Google
1631
1655
  end
1632
1656
  end
1633
1657
 
1658
+ class PolicyControllerOnClusterState
1659
+ # @private
1660
+ class Representation < Google::Apis::Core::JsonRepresentation
1661
+ property :details, as: 'details'
1662
+ property :state, as: 'state'
1663
+ end
1664
+ end
1665
+
1634
1666
  class PolicyControllerTemplateLibraryConfig
1635
1667
  # @private
1636
1668
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -527,10 +527,10 @@ module Google
527
527
  # Request-specific options
528
528
  #
529
529
  # @yield [result, err] Result & error if block supplied
530
- # @yieldparam result [Google::Apis::GkehubV1alpha::Fleet] parsed result object
530
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
531
531
  # @yieldparam err [StandardError] error object if request failed
532
532
  #
533
- # @return [Google::Apis::GkehubV1alpha::Fleet]
533
+ # @return [Google::Apis::GkehubV1alpha::Operation]
534
534
  #
535
535
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
536
536
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
@@ -539,8 +539,8 @@ module Google
539
539
  command = make_simple_command(:post, 'v1alpha/{+parent}/fleets', options)
540
540
  command.request_representation = Google::Apis::GkehubV1alpha::Fleet::Representation
541
541
  command.request_object = fleet_object
542
- command.response_representation = Google::Apis::GkehubV1alpha::Fleet::Representation
543
- command.response_class = Google::Apis::GkehubV1alpha::Fleet
542
+ command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
543
+ command.response_class = Google::Apis::GkehubV1alpha::Operation
544
544
  command.params['parent'] = parent unless parent.nil?
545
545
  command.query['fields'] = fields unless fields.nil?
546
546
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -560,18 +560,18 @@ module Google
560
560
  # Request-specific options
561
561
  #
562
562
  # @yield [result, err] Result & error if block supplied
563
- # @yieldparam result [Google::Apis::GkehubV1alpha::Empty] parsed result object
563
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
564
564
  # @yieldparam err [StandardError] error object if request failed
565
565
  #
566
- # @return [Google::Apis::GkehubV1alpha::Empty]
566
+ # @return [Google::Apis::GkehubV1alpha::Operation]
567
567
  #
568
568
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
569
569
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
570
570
  # @raise [Google::Apis::AuthorizationError] Authorization is required
571
571
  def delete_project_location_fleet(name, fields: nil, quota_user: nil, options: nil, &block)
572
572
  command = make_simple_command(:delete, 'v1alpha/{+name}', options)
573
- command.response_representation = Google::Apis::GkehubV1alpha::Empty::Representation
574
- command.response_class = Google::Apis::GkehubV1alpha::Empty
573
+ command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
574
+ command.response_class = Google::Apis::GkehubV1alpha::Operation
575
575
  command.params['name'] = name unless name.nil?
576
576
  command.query['fields'] = fields unless fields.nil?
577
577
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -668,10 +668,10 @@ module Google
668
668
  # Request-specific options
669
669
  #
670
670
  # @yield [result, err] Result & error if block supplied
671
- # @yieldparam result [Google::Apis::GkehubV1alpha::Fleet] parsed result object
671
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
672
672
  # @yieldparam err [StandardError] error object if request failed
673
673
  #
674
- # @return [Google::Apis::GkehubV1alpha::Fleet]
674
+ # @return [Google::Apis::GkehubV1alpha::Operation]
675
675
  #
676
676
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
677
677
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
@@ -680,8 +680,8 @@ module Google
680
680
  command = make_simple_command(:patch, 'v1alpha/{+name}', options)
681
681
  command.request_representation = Google::Apis::GkehubV1alpha::Fleet::Representation
682
682
  command.request_object = fleet_object
683
- command.response_representation = Google::Apis::GkehubV1alpha::Fleet::Representation
684
- command.response_class = Google::Apis::GkehubV1alpha::Fleet
683
+ command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
684
+ command.response_class = Google::Apis::GkehubV1alpha::Operation
685
685
  command.params['name'] = name unless name.nil?
686
686
  command.query['updateMask'] = update_mask unless update_mask.nil?
687
687
  command.query['fields'] = fields unless fields.nil?
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.33.0
4
+ version: 0.36.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-11 00:00:00.000000000 Z
11
+ date: 2022-08-15 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.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.36.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: []