google-apis-gkehub_v1alpha 0.32.0 → 0.35.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: 8d7bb06d5ddad3f02e37c70c90a28e5cac5e402827a15b4428517bdc479d3b4b
4
- data.tar.gz: 4bc33dcf21b9972f89d2d2e2e2f8ede807ec660ad22ef828ad1b08431e796df5
3
+ metadata.gz: dfaf51cabdc7c907e1fe13fcab910100878fb512c9f261476a609b505841f404
4
+ data.tar.gz: fdae2ac272994cecbf6d416acbb32c33f6902e72637126c73b125f8053696f5f
5
5
  SHA512:
6
- metadata.gz: 067e483a757f75deabdb34eea1415bdc30347a978945da0193a0ff03aba57e5490825e01555224f4e5e42fb070c618b6a52848f6bf763ed86da3f967b1ad88df
7
- data.tar.gz: fcb9771d774df47b0783ab53f739a192a87bb0edaf04bcff57225032a7960540f0b912675437e6733373d04341bf04697ff8ca96797e8dbe63db28c217de71d0
6
+ metadata.gz: 51b1f5e12e1b0ee46297805ed0f0eb8a6cb70ba9540c58da9badb3a33dcb6fad76442205c0f6c878054d449571df27d2b603032de388aac8a0825e928516e6c7
7
+ data.tar.gz: 01c5f67e456974fabcef0c5ab861ba4ee1c012a78ce413c3bfe72cd6ed5b1a4b395160efe786c12fd7117410f109c97292575a6e213590be367e3ae866cdd1cd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.35.0 (2022-07-23)
4
+
5
+ * Regenerated from discovery document revision 20220715
6
+
7
+ ### v0.34.0 (2022-07-16)
8
+
9
+ * Regenerated from discovery document revision 20220706
10
+
11
+ ### v0.33.0 (2022-07-07)
12
+
13
+ * Regenerated from discovery document revision 20220628
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.32.0 (2022-07-01)
4
17
 
5
18
  * Regenerated using generator version 0.8.0
@@ -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
@@ -1859,15 +1860,6 @@ module Google
1859
1860
  # @return [String]
1860
1861
  attr_accessor :display_name
1861
1862
 
1862
- # The name for the fleet. The name must meet the following constraints: + The
1863
- # name of a fleet should be unique within the organization; + It must consist of
1864
- # lower case alphanumeric characters or `-`; + The length of the name must be
1865
- # less than or equal to 63; + Unicode names must be expressed in Punycode format
1866
- # (rfc3492). Examples: + prod-fleet + xn--wlq33vhyw9jb (Punycode form for "生产环境")
1867
- # Corresponds to the JSON property `fleetName`
1868
- # @return [String]
1869
- attr_accessor :fleet_name
1870
-
1871
1863
  # Output only. The full, unique resource name of this fleet in the format of `
1872
1864
  # projects/`project`/locations/`location`/fleets/`fleet``. Each GCP project can
1873
1865
  # have at most one fleet resource, named "default".
@@ -1875,6 +1867,11 @@ module Google
1875
1867
  # @return [String]
1876
1868
  attr_accessor :name
1877
1869
 
1870
+ # FleetLifecycleState describes the state of a Fleet resource.
1871
+ # Corresponds to the JSON property `state`
1872
+ # @return [Google::Apis::GkehubV1alpha::FleetLifecycleState]
1873
+ attr_accessor :state
1874
+
1878
1875
  # Output only. Google-generated UUID for this resource. This is unique across
1879
1876
  # all Fleet resources. If a Fleet resource is deleted and another resource with
1880
1877
  # the same name is created, it gets a different uid.
@@ -1896,13 +1893,32 @@ module Google
1896
1893
  @create_time = args[:create_time] if args.key?(:create_time)
1897
1894
  @delete_time = args[:delete_time] if args.key?(:delete_time)
1898
1895
  @display_name = args[:display_name] if args.key?(:display_name)
1899
- @fleet_name = args[:fleet_name] if args.key?(:fleet_name)
1900
1896
  @name = args[:name] if args.key?(:name)
1897
+ @state = args[:state] if args.key?(:state)
1901
1898
  @uid = args[:uid] if args.key?(:uid)
1902
1899
  @update_time = args[:update_time] if args.key?(:update_time)
1903
1900
  end
1904
1901
  end
1905
1902
 
1903
+ # FleetLifecycleState describes the state of a Fleet resource.
1904
+ class FleetLifecycleState
1905
+ include Google::Apis::Core::Hashable
1906
+
1907
+ # Output only. The current state of the Fleet resource.
1908
+ # Corresponds to the JSON property `code`
1909
+ # @return [String]
1910
+ attr_accessor :code
1911
+
1912
+ def initialize(**args)
1913
+ update!(**args)
1914
+ end
1915
+
1916
+ # Update properties of this object
1917
+ def update!(**args)
1918
+ @code = args[:code] if args.key?(:code)
1919
+ end
1920
+ end
1921
+
1906
1922
  # GenerateConnectManifestResponse contains manifest information for installing/
1907
1923
  # upgrading a Connect agent.
1908
1924
  class GenerateConnectManifestResponse
@@ -1997,6 +2013,16 @@ module Google
1997
2013
  class IdentityServiceAuthMethod
1998
2014
  include Google::Apis::Core::Hashable
1999
2015
 
2016
+ # Configuration for the AzureAD Auth flow.
2017
+ # Corresponds to the JSON property `azureadConfig`
2018
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig]
2019
+ attr_accessor :azuread_config
2020
+
2021
+ # Configuration for the Google Plugin Auth flow.
2022
+ # Corresponds to the JSON property `googleConfig`
2023
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceGoogleConfig]
2024
+ attr_accessor :google_config
2025
+
2000
2026
  # Identifier for auth config.
2001
2027
  # Corresponds to the JSON property `name`
2002
2028
  # @return [String]
@@ -2018,12 +2044,81 @@ module Google
2018
2044
 
2019
2045
  # Update properties of this object
2020
2046
  def update!(**args)
2047
+ @azuread_config = args[:azuread_config] if args.key?(:azuread_config)
2048
+ @google_config = args[:google_config] if args.key?(:google_config)
2021
2049
  @name = args[:name] if args.key?(:name)
2022
2050
  @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
2023
2051
  @proxy = args[:proxy] if args.key?(:proxy)
2024
2052
  end
2025
2053
  end
2026
2054
 
2055
+ # Configuration for the AzureAD Auth flow.
2056
+ class IdentityServiceAzureAdConfig
2057
+ include Google::Apis::Core::Hashable
2058
+
2059
+ # ID for the registered client application that makes authentication requests to
2060
+ # the Azure AD identity provider.
2061
+ # Corresponds to the JSON property `clientId`
2062
+ # @return [String]
2063
+ attr_accessor :client_id
2064
+
2065
+ # Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub
2066
+ # CLH.
2067
+ # Corresponds to the JSON property `clientSecret`
2068
+ # @return [String]
2069
+ attr_accessor :client_secret
2070
+
2071
+ # Output only. Encrypted AzureAD client secret.
2072
+ # Corresponds to the JSON property `encryptedClientSecret`
2073
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2074
+ # @return [String]
2075
+ attr_accessor :encrypted_client_secret
2076
+
2077
+ # The redirect URL that kubectl uses for authorization.
2078
+ # Corresponds to the JSON property `kubectlRedirectUri`
2079
+ # @return [String]
2080
+ attr_accessor :kubectl_redirect_uri
2081
+
2082
+ # Kind of Azure AD account to be authenticated. Supported values are or for
2083
+ # accounts belonging to a specific tenant.
2084
+ # Corresponds to the JSON property `tenant`
2085
+ # @return [String]
2086
+ attr_accessor :tenant
2087
+
2088
+ def initialize(**args)
2089
+ update!(**args)
2090
+ end
2091
+
2092
+ # Update properties of this object
2093
+ def update!(**args)
2094
+ @client_id = args[:client_id] if args.key?(:client_id)
2095
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
2096
+ @encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
2097
+ @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
2098
+ @tenant = args[:tenant] if args.key?(:tenant)
2099
+ end
2100
+ end
2101
+
2102
+ # Configuration for the Google Plugin Auth flow.
2103
+ class IdentityServiceGoogleConfig
2104
+ include Google::Apis::Core::Hashable
2105
+
2106
+ # Disable automatic configuration of Google Plugin on supported platforms.
2107
+ # Corresponds to the JSON property `disable`
2108
+ # @return [Boolean]
2109
+ attr_accessor :disable
2110
+ alias_method :disable?, :disable
2111
+
2112
+ def initialize(**args)
2113
+ update!(**args)
2114
+ end
2115
+
2116
+ # Update properties of this object
2117
+ def update!(**args)
2118
+ @disable = args[:disable] if args.key?(:disable)
2119
+ end
2120
+ end
2121
+
2027
2122
  # **Anthos Identity Service**: Configuration for a single Membership.
2028
2123
  class IdentityServiceMembershipSpec
2029
2124
  include Google::Apis::Core::Hashable
@@ -2940,7 +3035,8 @@ module Google
2940
3035
  # Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For
2941
3036
  # example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-
2942
3037
  # a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/
2943
- # locations/us-west1-a/azureClusters/my-cluster
3038
+ # locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/
3039
+ # projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
2944
3040
  # Corresponds to the JSON property `resourceLink`
2945
3041
  # @return [String]
2946
3042
  attr_accessor :resource_link
@@ -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.32.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220621"
25
+ REVISION = "20220715"
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
 
@@ -1208,13 +1226,21 @@ module Google
1208
1226
  property :create_time, as: 'createTime'
1209
1227
  property :delete_time, as: 'deleteTime'
1210
1228
  property :display_name, as: 'displayName'
1211
- property :fleet_name, as: 'fleetName'
1212
1229
  property :name, as: 'name'
1230
+ property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FleetLifecycleState, decorator: Google::Apis::GkehubV1alpha::FleetLifecycleState::Representation
1231
+
1213
1232
  property :uid, as: 'uid'
1214
1233
  property :update_time, as: 'updateTime'
1215
1234
  end
1216
1235
  end
1217
1236
 
1237
+ class FleetLifecycleState
1238
+ # @private
1239
+ class Representation < Google::Apis::Core::JsonRepresentation
1240
+ property :code, as: 'code'
1241
+ end
1242
+ end
1243
+
1218
1244
  class GenerateConnectManifestResponse
1219
1245
  # @private
1220
1246
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1243,6 +1269,10 @@ module Google
1243
1269
  class IdentityServiceAuthMethod
1244
1270
  # @private
1245
1271
  class Representation < Google::Apis::Core::JsonRepresentation
1272
+ property :azuread_config, as: 'azureadConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig::Representation
1273
+
1274
+ property :google_config, as: 'googleConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceGoogleConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceGoogleConfig::Representation
1275
+
1246
1276
  property :name, as: 'name'
1247
1277
  property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig::Representation
1248
1278
 
@@ -1250,6 +1280,24 @@ module Google
1250
1280
  end
1251
1281
  end
1252
1282
 
1283
+ class IdentityServiceAzureAdConfig
1284
+ # @private
1285
+ class Representation < Google::Apis::Core::JsonRepresentation
1286
+ property :client_id, as: 'clientId'
1287
+ property :client_secret, as: 'clientSecret'
1288
+ property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
1289
+ property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
1290
+ property :tenant, as: 'tenant'
1291
+ end
1292
+ end
1293
+
1294
+ class IdentityServiceGoogleConfig
1295
+ # @private
1296
+ class Representation < Google::Apis::Core::JsonRepresentation
1297
+ property :disable, as: 'disable'
1298
+ end
1299
+ end
1300
+
1253
1301
  class IdentityServiceMembershipSpec
1254
1302
  # @private
1255
1303
  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.32.0
4
+ version: 0.35.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-04 00:00:00.000000000 Z
11
+ date: 2022-07-25 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.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.35.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: []