google-apis-gkehub_v1alpha 0.34.0 → 0.37.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: 67d9879995be19c94e1a3ec80f1a52d491a88432f760288c9a9e613aacc2329f
4
- data.tar.gz: 5207a25ab4c2dd0f6e274ded5fad580094ede9c207393c54fbc7fb6f32d57519
3
+ metadata.gz: d678100bdeea2fc0fd7f5f0bfbb504ca7fb49a8ea4f38a565cfdde1c7dba10a0
4
+ data.tar.gz: 1201bb08aa0e87fdcf280866a98a228c064148ed58fb924e638fb572f9e74913
5
5
  SHA512:
6
- metadata.gz: 239acad3dfadc978bee5db43ad4e9199e4aa9172f643c319d87e82c7f6aef4cf7872b10b4d98c378eb078d1febd3efcd2e62b35338acdbc119cab6a510618e4e
7
- data.tar.gz: 2dddbfba346f6bc4320b2ff2253320f4927b0d99cbcad96d8de076c75df6c434d2a81a4c4c5ac4aefe92e4c4d6dc22a12b2ce9c97b825a2265ca18026784778d
6
+ metadata.gz: ae1d6eef61ba83cc50b6744ee8a532c260e11ca71eab2cfa3498f8e8adc6e4a2f23c878bd48a7ec91271022070610db5e7d204d4cf179736e167f43860e3f367
7
+ data.tar.gz: effe435c4469fe208ab71e33d085666191b6211b0d8ee550f48f48b67acaf51ac5cc376789099597857994f47d4b7e29b9003d099c8e019598a10ff161458b77
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.37.0 (2022-08-22)
4
+
5
+ * Regenerated from discovery document revision 20220812
6
+
7
+ ### v0.36.0 (2022-08-14)
8
+
9
+ * Regenerated from discovery document revision 20220805
10
+
11
+ ### v0.35.0 (2022-07-23)
12
+
13
+ * Regenerated from discovery document revision 20220715
14
+
3
15
  ### v0.34.0 (2022-07-16)
4
16
 
5
17
  * Regenerated from discovery document revision 20220706
@@ -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,11 +2016,6 @@ module Google
1998
2016
  class IdentityServiceAuthMethod
1999
2017
  include Google::Apis::Core::Hashable
2000
2018
 
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
-
2006
2019
  # Identifier for auth config.
2007
2020
  # Corresponds to the JSON property `name`
2008
2021
  # @return [String]
@@ -2024,59 +2037,12 @@ module Google
2024
2037
 
2025
2038
  # Update properties of this object
2026
2039
  def update!(**args)
2027
- @azuread_config = args[:azuread_config] if args.key?(:azuread_config)
2028
2040
  @name = args[:name] if args.key?(:name)
2029
2041
  @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
2030
2042
  @proxy = args[:proxy] if args.key?(:proxy)
2031
2043
  end
2032
2044
  end
2033
2045
 
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
-
2080
2046
  # **Anthos Identity Service**: Configuration for a single Membership.
2081
2047
  class IdentityServiceMembershipSpec
2082
2048
  include Google::Apis::Core::Hashable
@@ -2993,7 +2959,8 @@ module Google
2993
2959
  # Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For
2994
2960
  # example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-
2995
2961
  # a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/
2996
- # locations/us-west1-a/azureClusters/my-cluster
2962
+ # locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/
2963
+ # projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
2997
2964
  # Corresponds to the JSON property `resourceLink`
2998
2965
  # @return [String]
2999
2966
  attr_accessor :resource_link
@@ -3368,53 +3335,6 @@ module Google
3368
3335
  end
3369
3336
  end
3370
3337
 
3371
- # State of the Policy Controller.
3372
- class PolicyControllerHubState
3373
- include Google::Apis::Core::Hashable
3374
-
3375
- # Map from deployment name to deployment state. Example deployments are
3376
- # gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-
3377
- # mutation.
3378
- # Corresponds to the JSON property `deploymentStates`
3379
- # @return [Hash<String,String>]
3380
- attr_accessor :deployment_states
3381
-
3382
- # The build version of Gatekeeper that Policy Controller is using.
3383
- # Corresponds to the JSON property `version`
3384
- # @return [Google::Apis::GkehubV1alpha::PolicyControllerHubVersion]
3385
- attr_accessor :version
3386
-
3387
- def initialize(**args)
3388
- update!(**args)
3389
- end
3390
-
3391
- # Update properties of this object
3392
- def update!(**args)
3393
- @deployment_states = args[:deployment_states] if args.key?(:deployment_states)
3394
- @version = args[:version] if args.key?(:version)
3395
- end
3396
- end
3397
-
3398
- # The build version of Gatekeeper that Policy Controller is using.
3399
- class PolicyControllerHubVersion
3400
- include Google::Apis::Core::Hashable
3401
-
3402
- # The gatekeeper image tag that is composed of ACM version, git tag, build
3403
- # number.
3404
- # Corresponds to the JSON property `version`
3405
- # @return [String]
3406
- attr_accessor :version
3407
-
3408
- def initialize(**args)
3409
- update!(**args)
3410
- end
3411
-
3412
- # Update properties of this object
3413
- def update!(**args)
3414
- @version = args[:version] if args.key?(:version)
3415
- end
3416
- end
3417
-
3418
3338
  # **Policy Controller**: Configuration for a single cluster. Intended to
3419
3339
  # parallel the PolicyController CR.
3420
3340
  class PolicyControllerMembershipSpec
@@ -3453,18 +3373,14 @@ module Google
3453
3373
  # @return [String]
3454
3374
  attr_accessor :cluster_name
3455
3375
 
3456
- # **Policy Controller**: Configuration for a single cluster. Intended to
3457
- # parallel the PolicyController CR.
3458
- # Corresponds to the JSON property `membershipSpec`
3459
- # @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec]
3460
- attr_accessor :membership_spec
3461
-
3462
- # State of the Policy Controller.
3463
- # Corresponds to the JSON property `policyControllerHubState`
3464
- # @return [Google::Apis::GkehubV1alpha::PolicyControllerHubState]
3465
- attr_accessor :policy_controller_hub_state
3376
+ # Currently these include (also serving as map keys): 1. "admission" 2. "audit"
3377
+ # 3. "mutation" 4. "constraint template library"
3378
+ # Corresponds to the JSON property `componentStates`
3379
+ # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
3380
+ attr_accessor :component_states
3466
3381
 
3467
- # The lifecycle state Policy Controller is in.
3382
+ # The overall Policy Controller lifecycle state observed by the Hub Feature
3383
+ # controller.
3468
3384
  # Corresponds to the JSON property `state`
3469
3385
  # @return [String]
3470
3386
  attr_accessor :state
@@ -3476,8 +3392,7 @@ module Google
3476
3392
  # Update properties of this object
3477
3393
  def update!(**args)
3478
3394
  @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
3479
- @membership_spec = args[:membership_spec] if args.key?(:membership_spec)
3480
- @policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
3395
+ @component_states = args[:component_states] if args.key?(:component_states)
3481
3396
  @state = args[:state] if args.key?(:state)
3482
3397
  end
3483
3398
  end
@@ -3504,6 +3419,31 @@ module Google
3504
3419
  end
3505
3420
  end
3506
3421
 
3422
+ # OnClusterState represents the state of a sub-component of Policy Controller.
3423
+ class PolicyControllerOnClusterState
3424
+ include Google::Apis::Core::Hashable
3425
+
3426
+ # Surface potential errors or information logs.
3427
+ # Corresponds to the JSON property `details`
3428
+ # @return [String]
3429
+ attr_accessor :details
3430
+
3431
+ # The lifecycle state of this component.
3432
+ # Corresponds to the JSON property `state`
3433
+ # @return [String]
3434
+ attr_accessor :state
3435
+
3436
+ def initialize(**args)
3437
+ update!(**args)
3438
+ end
3439
+
3440
+ # Update properties of this object
3441
+ def update!(**args)
3442
+ @details = args[:details] if args.key?(:details)
3443
+ @state = args[:state] if args.key?(:state)
3444
+ end
3445
+ end
3446
+
3507
3447
  # The config specifying which default library templates to install.
3508
3448
  class PolicyControllerTemplateLibraryConfig
3509
3449
  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.34.0"
19
+ GEM_VERSION = "0.37.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 = "20220706"
25
+ REVISION = "20220812"
26
26
  end
27
27
  end
28
28
  end
@@ -340,31 +340,31 @@ module Google
340
340
  include Google::Apis::Core::JsonObjectSupport
341
341
  end
342
342
 
343
- class GenerateConnectManifestResponse
343
+ class FleetLifecycleState
344
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
345
 
346
346
  include Google::Apis::Core::JsonObjectSupport
347
347
  end
348
348
 
349
- class GkeCluster
349
+ class GenerateConnectManifestResponse
350
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
351
 
352
352
  include Google::Apis::Core::JsonObjectSupport
353
353
  end
354
354
 
355
- class GoogleRpcStatus
355
+ class GkeCluster
356
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
357
 
358
358
  include Google::Apis::Core::JsonObjectSupport
359
359
  end
360
360
 
361
- class IdentityServiceAuthMethod
361
+ class GoogleRpcStatus
362
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
363
 
364
364
  include Google::Apis::Core::JsonObjectSupport
365
365
  end
366
366
 
367
- class IdentityServiceAzureAdConfig
367
+ class IdentityServiceAuthMethod
368
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
369
 
370
370
  include Google::Apis::Core::JsonObjectSupport
@@ -544,31 +544,25 @@ module Google
544
544
  include Google::Apis::Core::JsonObjectSupport
545
545
  end
546
546
 
547
- class PolicyControllerHubState
548
- class Representation < Google::Apis::Core::JsonRepresentation; end
549
-
550
- include Google::Apis::Core::JsonObjectSupport
551
- end
552
-
553
- class PolicyControllerHubVersion
547
+ class PolicyControllerMembershipSpec
554
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
549
 
556
550
  include Google::Apis::Core::JsonObjectSupport
557
551
  end
558
552
 
559
- class PolicyControllerMembershipSpec
553
+ class PolicyControllerMembershipState
560
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
561
555
 
562
556
  include Google::Apis::Core::JsonObjectSupport
563
557
  end
564
558
 
565
- class PolicyControllerMembershipState
559
+ class PolicyControllerMonitoringConfig
566
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
561
 
568
562
  include Google::Apis::Core::JsonObjectSupport
569
563
  end
570
564
 
571
- class PolicyControllerMonitoringConfig
565
+ class PolicyControllerOnClusterState
572
566
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
567
 
574
568
  include Google::Apis::Core::JsonObjectSupport
@@ -1214,13 +1208,21 @@ module Google
1214
1208
  property :create_time, as: 'createTime'
1215
1209
  property :delete_time, as: 'deleteTime'
1216
1210
  property :display_name, as: 'displayName'
1217
- property :fleet_name, as: 'fleetName'
1218
1211
  property :name, as: 'name'
1212
+ property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FleetLifecycleState, decorator: Google::Apis::GkehubV1alpha::FleetLifecycleState::Representation
1213
+
1219
1214
  property :uid, as: 'uid'
1220
1215
  property :update_time, as: 'updateTime'
1221
1216
  end
1222
1217
  end
1223
1218
 
1219
+ class FleetLifecycleState
1220
+ # @private
1221
+ class Representation < Google::Apis::Core::JsonRepresentation
1222
+ property :code, as: 'code'
1223
+ end
1224
+ end
1225
+
1224
1226
  class GenerateConnectManifestResponse
1225
1227
  # @private
1226
1228
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1249,8 +1251,6 @@ module Google
1249
1251
  class IdentityServiceAuthMethod
1250
1252
  # @private
1251
1253
  class Representation < Google::Apis::Core::JsonRepresentation
1252
- property :azuread_config, as: 'azureadConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig::Representation
1253
-
1254
1254
  property :name, as: 'name'
1255
1255
  property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig::Representation
1256
1256
 
@@ -1258,17 +1258,6 @@ module Google
1258
1258
  end
1259
1259
  end
1260
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
-
1272
1261
  class IdentityServiceMembershipSpec
1273
1262
  # @private
1274
1263
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1606,22 +1595,6 @@ module Google
1606
1595
  end
1607
1596
  end
1608
1597
 
1609
- class PolicyControllerHubState
1610
- # @private
1611
- class Representation < Google::Apis::Core::JsonRepresentation
1612
- hash :deployment_states, as: 'deploymentStates'
1613
- property :version, as: 'version', class: Google::Apis::GkehubV1alpha::PolicyControllerHubVersion, decorator: Google::Apis::GkehubV1alpha::PolicyControllerHubVersion::Representation
1614
-
1615
- end
1616
- end
1617
-
1618
- class PolicyControllerHubVersion
1619
- # @private
1620
- class Representation < Google::Apis::Core::JsonRepresentation
1621
- property :version, as: 'version'
1622
- end
1623
- end
1624
-
1625
1598
  class PolicyControllerMembershipSpec
1626
1599
  # @private
1627
1600
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1635,9 +1608,7 @@ module Google
1635
1608
  # @private
1636
1609
  class Representation < Google::Apis::Core::JsonRepresentation
1637
1610
  property :cluster_name, as: 'clusterName'
1638
- property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec::Representation
1639
-
1640
- property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1alpha::PolicyControllerHubState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerHubState::Representation
1611
+ hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
1641
1612
 
1642
1613
  property :state, as: 'state'
1643
1614
  end
@@ -1650,6 +1621,14 @@ module Google
1650
1621
  end
1651
1622
  end
1652
1623
 
1624
+ class PolicyControllerOnClusterState
1625
+ # @private
1626
+ class Representation < Google::Apis::Core::JsonRepresentation
1627
+ property :details, as: 'details'
1628
+ property :state, as: 'state'
1629
+ end
1630
+ end
1631
+
1653
1632
  class PolicyControllerTemplateLibraryConfig
1654
1633
  # @private
1655
1634
  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.34.0
4
+ version: 0.37.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-18 00:00:00.000000000 Z
11
+ date: 2022-08-29 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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.37.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: []