google-apis-gkehub_v1alpha 0.34.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: 67d9879995be19c94e1a3ec80f1a52d491a88432f760288c9a9e613aacc2329f
4
- data.tar.gz: 5207a25ab4c2dd0f6e274ded5fad580094ede9c207393c54fbc7fb6f32d57519
3
+ metadata.gz: dfaf51cabdc7c907e1fe13fcab910100878fb512c9f261476a609b505841f404
4
+ data.tar.gz: fdae2ac272994cecbf6d416acbb32c33f6902e72637126c73b125f8053696f5f
5
5
  SHA512:
6
- metadata.gz: 239acad3dfadc978bee5db43ad4e9199e4aa9172f643c319d87e82c7f6aef4cf7872b10b4d98c378eb078d1febd3efcd2e62b35338acdbc119cab6a510618e4e
7
- data.tar.gz: 2dddbfba346f6bc4320b2ff2253320f4927b0d99cbcad96d8de076c75df6c434d2a81a4c4c5ac4aefe92e4c4d6dc22a12b2ce9c97b825a2265ca18026784778d
6
+ metadata.gz: 51b1f5e12e1b0ee46297805ed0f0eb8a6cb70ba9540c58da9badb3a33dcb6fad76442205c0f6c878054d449571df27d2b603032de388aac8a0825e928516e6c7
7
+ data.tar.gz: 01c5f67e456974fabcef0c5ab861ba4ee1c012a78ce413c3bfe72cd6ed5b1a4b395160efe786c12fd7117410f109c97292575a6e213590be367e3ae866cdd1cd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.34.0 (2022-07-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20220706
@@ -1860,15 +1860,6 @@ module Google
1860
1860
  # @return [String]
1861
1861
  attr_accessor :display_name
1862
1862
 
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
1863
  # Output only. The full, unique resource name of this fleet in the format of `
1873
1864
  # projects/`project`/locations/`location`/fleets/`fleet``. Each GCP project can
1874
1865
  # have at most one fleet resource, named "default".
@@ -1876,6 +1867,11 @@ module Google
1876
1867
  # @return [String]
1877
1868
  attr_accessor :name
1878
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
+
1879
1875
  # Output only. Google-generated UUID for this resource. This is unique across
1880
1876
  # all Fleet resources. If a Fleet resource is deleted and another resource with
1881
1877
  # the same name is created, it gets a different uid.
@@ -1897,13 +1893,32 @@ module Google
1897
1893
  @create_time = args[:create_time] if args.key?(:create_time)
1898
1894
  @delete_time = args[:delete_time] if args.key?(:delete_time)
1899
1895
  @display_name = args[:display_name] if args.key?(:display_name)
1900
- @fleet_name = args[:fleet_name] if args.key?(:fleet_name)
1901
1896
  @name = args[:name] if args.key?(:name)
1897
+ @state = args[:state] if args.key?(:state)
1902
1898
  @uid = args[:uid] if args.key?(:uid)
1903
1899
  @update_time = args[:update_time] if args.key?(:update_time)
1904
1900
  end
1905
1901
  end
1906
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
+
1907
1922
  # GenerateConnectManifestResponse contains manifest information for installing/
1908
1923
  # upgrading a Connect agent.
1909
1924
  class GenerateConnectManifestResponse
@@ -2003,6 +2018,11 @@ module Google
2003
2018
  # @return [Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig]
2004
2019
  attr_accessor :azuread_config
2005
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
+
2006
2026
  # Identifier for auth config.
2007
2027
  # Corresponds to the JSON property `name`
2008
2028
  # @return [String]
@@ -2025,6 +2045,7 @@ module Google
2025
2045
  # Update properties of this object
2026
2046
  def update!(**args)
2027
2047
  @azuread_config = args[:azuread_config] if args.key?(:azuread_config)
2048
+ @google_config = args[:google_config] if args.key?(:google_config)
2028
2049
  @name = args[:name] if args.key?(:name)
2029
2050
  @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
2030
2051
  @proxy = args[:proxy] if args.key?(:proxy)
@@ -2041,12 +2062,13 @@ module Google
2041
2062
  # @return [String]
2042
2063
  attr_accessor :client_id
2043
2064
 
2044
- # Raw client secret will be passed to the GKE Hub CLH.
2065
+ # Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub
2066
+ # CLH.
2045
2067
  # Corresponds to the JSON property `clientSecret`
2046
2068
  # @return [String]
2047
2069
  attr_accessor :client_secret
2048
2070
 
2049
- # Encrypted AzureAD client secrets
2071
+ # Output only. Encrypted AzureAD client secret.
2050
2072
  # Corresponds to the JSON property `encryptedClientSecret`
2051
2073
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2052
2074
  # @return [String]
@@ -2077,6 +2099,26 @@ module Google
2077
2099
  end
2078
2100
  end
2079
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
+
2080
2122
  # **Anthos Identity Service**: Configuration for a single Membership.
2081
2123
  class IdentityServiceMembershipSpec
2082
2124
  include Google::Apis::Core::Hashable
@@ -2993,7 +3035,8 @@ module Google
2993
3035
  # Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For
2994
3036
  # example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-
2995
3037
  # a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/
2996
- # 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
2997
3040
  # Corresponds to the JSON property `resourceLink`
2998
3041
  # @return [String]
2999
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.34.0"
19
+ GEM_VERSION = "0.35.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 = "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
 
@@ -370,6 +376,12 @@ module Google
370
376
  include Google::Apis::Core::JsonObjectSupport
371
377
  end
372
378
 
379
+ class IdentityServiceGoogleConfig
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
373
385
  class IdentityServiceMembershipSpec
374
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
387
 
@@ -1214,13 +1226,21 @@ module Google
1214
1226
  property :create_time, as: 'createTime'
1215
1227
  property :delete_time, as: 'deleteTime'
1216
1228
  property :display_name, as: 'displayName'
1217
- property :fleet_name, as: 'fleetName'
1218
1229
  property :name, as: 'name'
1230
+ property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FleetLifecycleState, decorator: Google::Apis::GkehubV1alpha::FleetLifecycleState::Representation
1231
+
1219
1232
  property :uid, as: 'uid'
1220
1233
  property :update_time, as: 'updateTime'
1221
1234
  end
1222
1235
  end
1223
1236
 
1237
+ class FleetLifecycleState
1238
+ # @private
1239
+ class Representation < Google::Apis::Core::JsonRepresentation
1240
+ property :code, as: 'code'
1241
+ end
1242
+ end
1243
+
1224
1244
  class GenerateConnectManifestResponse
1225
1245
  # @private
1226
1246
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1251,6 +1271,8 @@ module Google
1251
1271
  class Representation < Google::Apis::Core::JsonRepresentation
1252
1272
  property :azuread_config, as: 'azureadConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceAzureAdConfig::Representation
1253
1273
 
1274
+ property :google_config, as: 'googleConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceGoogleConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceGoogleConfig::Representation
1275
+
1254
1276
  property :name, as: 'name'
1255
1277
  property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig::Representation
1256
1278
 
@@ -1269,6 +1291,13 @@ module Google
1269
1291
  end
1270
1292
  end
1271
1293
 
1294
+ class IdentityServiceGoogleConfig
1295
+ # @private
1296
+ class Representation < Google::Apis::Core::JsonRepresentation
1297
+ property :disable, as: 'disable'
1298
+ end
1299
+ end
1300
+
1272
1301
  class IdentityServiceMembershipSpec
1273
1302
  # @private
1274
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.34.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-18 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.34.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: []