google-apis-gkehub_v1alpha 0.15.0 → 0.19.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: a7b10916097ca4d3112440d34bf8335df618a3c195ea635460dbf35e8d1863d0
4
- data.tar.gz: dd6520f4090328de91f8c787eaee6df87b59e69e28ed71b2cb20292d05ae4149
3
+ metadata.gz: 13f12dd8fbf8ab41cdd8e98b2983a840937e60dcc6d16193c3ad0a44835f10ab
4
+ data.tar.gz: 78159b2f5a15c2b1242398e5e01ab14cbb362030aa15fb6a0dcbf5541db241b8
5
5
  SHA512:
6
- metadata.gz: c571f35a8494af322207415fa9c5c3ab1b4761e5bc5cf985b1a0ec7b987aee4032d82b53e58db8dcbf1be478285804ca1f5b41aefc318df3ff795810c9b683cb
7
- data.tar.gz: 1675980291105294aa44b7b4db230df1dfc06f16cacc1ff8862232d8ae553723754a4994e4b5ed53e8946ad2098ce8eb1506dd280b578e514515d66304756e2b
6
+ metadata.gz: 725cf4f04bd1686b348439a3e01715c01030ce9636da6dfc7c73b1601d2a434f1992780127dc12d1ae2c6b94a7646c41cf4483991c0c08ac4e8227921b2fec39
7
+ data.tar.gz: 8a082d00e0ed080bf3d9c9513192bd1783a243104256ea3fe73e06680d7b82fdc20c72fb47b7ff224d7a2e75b0a890819fb6a89ae3bb79b577f9ff70ddc36210
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.19.0 (2022-01-15)
4
+
5
+ * Regenerated from discovery document revision 20220107
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.18.0 (2021-12-16)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.17.0 (2021-12-12)
13
+
14
+ * Regenerated from discovery document revision 20211203
15
+
16
+ ### v0.16.0 (2021-11-20)
17
+
18
+ * Regenerated from discovery document revision 20211111
19
+
3
20
  ### v0.15.0 (2021-11-13)
4
21
 
5
22
  * Regenerated from discovery document revision 20211105
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/gkehub_v1alpha"
51
51
  client = Google::Apis::GkehubV1alpha::GKEHubService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -22,6 +22,36 @@ module Google
22
22
  module Apis
23
23
  module GkehubV1alpha
24
24
 
25
+ # **Anthosobservability**: Per-Membership Feature spec.
26
+ class AnthosObservabilityMembershipSpec
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # use full of metrics rather than optimized metrics. See https://cloud.google.
30
+ # com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#
31
+ # optimized_metrics_default_metrics
32
+ # Corresponds to the JSON property `doNotOptimizeMetrics`
33
+ # @return [Boolean]
34
+ attr_accessor :do_not_optimize_metrics
35
+ alias_method :do_not_optimize_metrics?, :do_not_optimize_metrics
36
+
37
+ # enable collecting and reporting metrics and logs from user apps See go/onyx-
38
+ # application-metrics-logs-user-guide
39
+ # Corresponds to the JSON property `enableStackdriverOnApplications`
40
+ # @return [Boolean]
41
+ attr_accessor :enable_stackdriver_on_applications
42
+ alias_method :enable_stackdriver_on_applications?, :enable_stackdriver_on_applications
43
+
44
+ def initialize(**args)
45
+ update!(**args)
46
+ end
47
+
48
+ # Update properties of this object
49
+ def update!(**args)
50
+ @do_not_optimize_metrics = args[:do_not_optimize_metrics] if args.key?(:do_not_optimize_metrics)
51
+ @enable_stackdriver_on_applications = args[:enable_stackdriver_on_applications] if args.key?(:enable_stackdriver_on_applications)
52
+ end
53
+ end
54
+
25
55
  # Spec for App Dev Experience Feature.
26
56
  class AppDevExperienceFeatureSpec
27
57
  include Google::Apis::Core::Hashable
@@ -1471,6 +1501,72 @@ module Google
1471
1501
  end
1472
1502
  end
1473
1503
 
1504
+ # Fleet contains the Fleet-wide metadata and configuration.
1505
+ class Fleet
1506
+ include Google::Apis::Core::Hashable
1507
+
1508
+ # Output only. When the Fleet was created.
1509
+ # Corresponds to the JSON property `createTime`
1510
+ # @return [String]
1511
+ attr_accessor :create_time
1512
+
1513
+ # Output only. When the Fleet was deleted.
1514
+ # Corresponds to the JSON property `deleteTime`
1515
+ # @return [String]
1516
+ attr_accessor :delete_time
1517
+
1518
+ # Optional. A user-assigned display name of the Fleet. When present, it must be
1519
+ # between 4 to 30 characters. Allowed characters are: lowercase and uppercase
1520
+ # letters, numbers, hyphen, single-quote, double-quote, space, and exclamation
1521
+ # point. Example: `Production Fleet`
1522
+ # Corresponds to the JSON property `displayName`
1523
+ # @return [String]
1524
+ attr_accessor :display_name
1525
+
1526
+ # The name for the fleet. The name must meet the following constraints: + The
1527
+ # name of a fleet should be unique within the organization; + It must consist of
1528
+ # lower case alphanumeric characters or `-`; + The length of the name must be
1529
+ # less than or equal to 63; + Unicode names must be expressed in Punycode format
1530
+ # (rfc3492). Examples: + prod-fleet + xn--wlq33vhyw9jb (Punycode form for "生产环境")
1531
+ # Corresponds to the JSON property `fleetName`
1532
+ # @return [String]
1533
+ attr_accessor :fleet_name
1534
+
1535
+ # Output only. The full, unique resource name of this fleet in the format of `
1536
+ # projects/`project`/locations/`location`/fleets/`fleet``. Each GCP project can
1537
+ # have at most one fleet resource, named "default".
1538
+ # Corresponds to the JSON property `name`
1539
+ # @return [String]
1540
+ attr_accessor :name
1541
+
1542
+ # Output only. Google-generated UUID for this resource. This is unique across
1543
+ # all Fleet resources. If a Fleet resource is deleted and another resource with
1544
+ # the same name is created, it gets a different uid.
1545
+ # Corresponds to the JSON property `uid`
1546
+ # @return [String]
1547
+ attr_accessor :uid
1548
+
1549
+ # Output only. When the Fleet was last updated.
1550
+ # Corresponds to the JSON property `updateTime`
1551
+ # @return [String]
1552
+ attr_accessor :update_time
1553
+
1554
+ def initialize(**args)
1555
+ update!(**args)
1556
+ end
1557
+
1558
+ # Update properties of this object
1559
+ def update!(**args)
1560
+ @create_time = args[:create_time] if args.key?(:create_time)
1561
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
1562
+ @display_name = args[:display_name] if args.key?(:display_name)
1563
+ @fleet_name = args[:fleet_name] if args.key?(:fleet_name)
1564
+ @name = args[:name] if args.key?(:name)
1565
+ @uid = args[:uid] if args.key?(:uid)
1566
+ @update_time = args[:update_time] if args.key?(:update_time)
1567
+ end
1568
+ end
1569
+
1474
1570
  # GenerateConnectManifestResponse contains manifest information for installing/
1475
1571
  # upgrading a Connect agent.
1476
1572
  class GenerateConnectManifestResponse
@@ -2187,6 +2283,11 @@ module Google
2187
2283
  class MembershipFeatureSpec
2188
2284
  include Google::Apis::Core::Hashable
2189
2285
 
2286
+ # **Anthosobservability**: Per-Membership Feature spec.
2287
+ # Corresponds to the JSON property `anthosobservability`
2288
+ # @return [Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec]
2289
+ attr_accessor :anthosobservability
2290
+
2190
2291
  # **Anthos Config Management**: Configuration for a single cluster. Intended to
2191
2292
  # parallel the ConfigManagement CR.
2192
2293
  # Corresponds to the JSON property `configmanagement`
@@ -2209,6 +2310,7 @@ module Google
2209
2310
 
2210
2311
  # Update properties of this object
2211
2312
  def update!(**args)
2313
+ @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
2212
2314
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
2213
2315
  @identityservice = args[:identityservice] if args.key?(:identityservice)
2214
2316
  @mesh = args[:mesh] if args.key?(:mesh)
@@ -2665,6 +2767,13 @@ module Google
2665
2767
  # @return [String]
2666
2768
  attr_accessor :connect_version
2667
2769
 
2770
+ # Optional. Major version of the Kubernetes cluster. This is only used to
2771
+ # determine which version to use for the CustomResourceDefinition resources, `
2772
+ # apiextensions/v1beta1` or`apiextensions/v1`.
2773
+ # Corresponds to the JSON property `k8sVersion`
2774
+ # @return [String]
2775
+ attr_accessor :k8s_version
2776
+
2668
2777
  # Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for
2669
2778
  # CustomResourceDefinition resources. This option should be set for clusters
2670
2779
  # with Kubernetes apiserver versions <1.16.
@@ -2680,6 +2789,7 @@ module Google
2680
2789
  # Update properties of this object
2681
2790
  def update!(**args)
2682
2791
  @connect_version = args[:connect_version] if args.key?(:connect_version)
2792
+ @k8s_version = args[:k8s_version] if args.key?(:k8s_version)
2683
2793
  @v1beta1_crd = args[:v1beta1_crd] if args.key?(:v1beta1_crd)
2684
2794
  end
2685
2795
  end
@@ -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.15.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211105"
25
+ REVISION = "20220107"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module GkehubV1alpha
24
24
 
25
+ class AnthosObservabilityMembershipSpec
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AppDevExperienceFeatureSpec
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -262,6 +268,12 @@ module Google
262
268
  include Google::Apis::Core::JsonObjectSupport
263
269
  end
264
270
 
271
+ class Fleet
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
265
277
  class GenerateConnectManifestResponse
266
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
279
 
@@ -502,6 +514,14 @@ module Google
502
514
  include Google::Apis::Core::JsonObjectSupport
503
515
  end
504
516
 
517
+ class AnthosObservabilityMembershipSpec
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ property :do_not_optimize_metrics, as: 'doNotOptimizeMetrics'
521
+ property :enable_stackdriver_on_applications, as: 'enableStackdriverOnApplications'
522
+ end
523
+ end
524
+
505
525
  class AppDevExperienceFeatureSpec
506
526
  # @private
507
527
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -907,6 +927,19 @@ module Google
907
927
  end
908
928
  end
909
929
 
930
+ class Fleet
931
+ # @private
932
+ class Representation < Google::Apis::Core::JsonRepresentation
933
+ property :create_time, as: 'createTime'
934
+ property :delete_time, as: 'deleteTime'
935
+ property :display_name, as: 'displayName'
936
+ property :fleet_name, as: 'fleetName'
937
+ property :name, as: 'name'
938
+ property :uid, as: 'uid'
939
+ property :update_time, as: 'updateTime'
940
+ end
941
+ end
942
+
910
943
  class GenerateConnectManifestResponse
911
944
  # @private
912
945
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1101,6 +1134,8 @@ module Google
1101
1134
  class MembershipFeatureSpec
1102
1135
  # @private
1103
1136
  class Representation < Google::Apis::Core::JsonRepresentation
1137
+ property :anthosobservability, as: 'anthosobservability', class: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec::Representation
1138
+
1104
1139
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec::Representation
1105
1140
 
1106
1141
  property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
@@ -1217,6 +1252,7 @@ module Google
1217
1252
  # @private
1218
1253
  class Representation < Google::Apis::Core::JsonRepresentation
1219
1254
  property :connect_version, as: 'connectVersion'
1255
+ property :k8s_version, as: 'k8sVersion'
1220
1256
  property :v1beta1_crd, as: 'v1beta1Crd'
1221
1257
  end
1222
1258
  end
@@ -124,22 +124,22 @@ module Google
124
124
 
125
125
  # Adds a new Feature.
126
126
  # @param [String] parent
127
- # The parent (project and location) where the Feature will be created. Specified
128
- # in the format `projects/*/locations/*`.
127
+ # Required. The parent (project and location) where the Feature will be created.
128
+ # Specified in the format `projects/*/locations/*`.
129
129
  # @param [Google::Apis::GkehubV1alpha::Feature] feature_object
130
130
  # @param [String] feature_id
131
131
  # The ID of the feature to create.
132
132
  # @param [String] request_id
133
- # Optional. A request ID to identify requests. Specify a unique request ID so
134
- # that if you must retry your request, the server will know to ignore the
135
- # request if it has already been completed. The server will guarantee that for
136
- # at least 60 minutes after the first request. For example, consider a situation
137
- # where you make an initial request and the request times out. If you make the
138
- # request again with the same request ID, the server can check if original
139
- # operation with the same request ID was received, and if so, will ignore the
140
- # second request. This prevents clients from accidentally creating duplicate
141
- # commitments. The request ID must be a valid UUID with the exception that zero
142
- # UUID is not supported (00000000-0000-0000-0000-000000000000).
133
+ # A request ID to identify requests. Specify a unique request ID so that if you
134
+ # must retry your request, the server will know to ignore the request if it has
135
+ # already been completed. The server will guarantee that for at least 60 minutes
136
+ # after the first request. For example, consider a situation where you make an
137
+ # initial request and the request times out. If you make the request again with
138
+ # the same request ID, the server can check if original operation with the same
139
+ # request ID was received, and if so, will ignore the second request. This
140
+ # prevents clients from accidentally creating duplicate commitments. The request
141
+ # ID must be a valid UUID with the exception that zero UUID is not supported (
142
+ # 00000000-0000-0000-0000-000000000000).
143
143
  # @param [String] fields
144
144
  # Selector specifying which fields to include in a partial response.
145
145
  # @param [String] quota_user
@@ -173,7 +173,8 @@ module Google
173
173
 
174
174
  # Removes a Feature.
175
175
  # @param [String] name
176
- # The Feature resource name in the format `projects/*/locations/*/features/*`.
176
+ # Required. The Feature resource name in the format `projects/*/locations/*/
177
+ # features/*`.
177
178
  # @param [Boolean] force
178
179
  # If set to true, the delete will ignore any outstanding resources for this
179
180
  # Feature (that is, `FeatureState.has_resources` is set to true). These
@@ -220,7 +221,8 @@ module Google
220
221
 
221
222
  # Gets details of a single Feature.
222
223
  # @param [String] name
223
- # The Feature resource name in the format `projects/*/locations/*/features/*`
224
+ # Required. The Feature resource name in the format `projects/*/locations/*/
225
+ # features/*`
224
226
  # @param [String] fields
225
227
  # Selector specifying which fields to include in a partial response.
226
228
  # @param [String] quota_user
@@ -294,8 +296,8 @@ module Google
294
296
 
295
297
  # Lists Features in a given project and location.
296
298
  # @param [String] parent
297
- # The parent (project and location) where the Features will be listed. Specified
298
- # in the format `projects/*/locations/*`.
299
+ # Required. The parent (project and location) where the Features will be listed.
300
+ # Specified in the format `projects/*/locations/*`.
299
301
  # @param [String] filter
300
302
  # Lists Features that match the filter expression, following the syntax outlined
301
303
  # in https://google.aip.dev/160. Examples: - Feature with the name "servicemesh"
@@ -345,19 +347,20 @@ module Google
345
347
 
346
348
  # Updates an existing Feature.
347
349
  # @param [String] name
348
- # The Feature resource name in the format `projects/*/locations/*/features/*`.
350
+ # Required. The Feature resource name in the format `projects/*/locations/*/
351
+ # features/*`.
349
352
  # @param [Google::Apis::GkehubV1alpha::Feature] feature_object
350
353
  # @param [String] request_id
351
- # Optional. A request ID to identify requests. Specify a unique request ID so
352
- # that if you must retry your request, the server will know to ignore the
353
- # request if it has already been completed. The server will guarantee that for
354
- # at least 60 minutes after the first request. For example, consider a situation
355
- # where you make an initial request and the request times out. If you make the
356
- # request again with the same request ID, the server can check if original
357
- # operation with the same request ID was received, and if so, will ignore the
358
- # second request. This prevents clients from accidentally creating duplicate
359
- # commitments. The request ID must be a valid UUID with the exception that zero
360
- # UUID is not supported (00000000-0000-0000-0000-000000000000).
354
+ # A request ID to identify requests. Specify a unique request ID so that if you
355
+ # must retry your request, the server will know to ignore the request if it has
356
+ # already been completed. The server will guarantee that for at least 60 minutes
357
+ # after the first request. For example, consider a situation where you make an
358
+ # initial request and the request times out. If you make the request again with
359
+ # the same request ID, the server can check if original operation with the same
360
+ # request ID was received, and if so, will ignore the second request. This
361
+ # prevents clients from accidentally creating duplicate commitments. The request
362
+ # ID must be a valid UUID with the exception that zero UUID is not supported (
363
+ # 00000000-0000-0000-0000-000000000000).
361
364
  # @param [String] update_mask
362
365
  # Mask of fields to update.
363
366
  # @param [String] fields
@@ -465,6 +468,140 @@ module Google
465
468
  execute_or_queue_command(command, &block)
466
469
  end
467
470
 
471
+ # Creates a fleet.
472
+ # @param [String] parent
473
+ # Required. The parent (project and location) where the Fleet will be created.
474
+ # Specified in the format `projects/*/locations/*`.
475
+ # @param [Google::Apis::GkehubV1alpha::Fleet] fleet_object
476
+ # @param [String] fields
477
+ # Selector specifying which fields to include in a partial response.
478
+ # @param [String] quota_user
479
+ # Available to use for quota purposes for server-side applications. Can be any
480
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
481
+ # @param [Google::Apis::RequestOptions] options
482
+ # Request-specific options
483
+ #
484
+ # @yield [result, err] Result & error if block supplied
485
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Fleet] parsed result object
486
+ # @yieldparam err [StandardError] error object if request failed
487
+ #
488
+ # @return [Google::Apis::GkehubV1alpha::Fleet]
489
+ #
490
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
491
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
492
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
493
+ def create_project_location_fleet(parent, fleet_object = nil, fields: nil, quota_user: nil, options: nil, &block)
494
+ command = make_simple_command(:post, 'v1alpha/{+parent}/fleets', options)
495
+ command.request_representation = Google::Apis::GkehubV1alpha::Fleet::Representation
496
+ command.request_object = fleet_object
497
+ command.response_representation = Google::Apis::GkehubV1alpha::Fleet::Representation
498
+ command.response_class = Google::Apis::GkehubV1alpha::Fleet
499
+ command.params['parent'] = parent unless parent.nil?
500
+ command.query['fields'] = fields unless fields.nil?
501
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
502
+ execute_or_queue_command(command, &block)
503
+ end
504
+
505
+ # Removes a Fleet. There must be no memberships remaining in the Fleet.
506
+ # @param [String] name
507
+ # Required. The Fleet resource name in the format `projects/*/locations/*/fleets/
508
+ # *`.
509
+ # @param [String] fields
510
+ # Selector specifying which fields to include in a partial response.
511
+ # @param [String] quota_user
512
+ # Available to use for quota purposes for server-side applications. Can be any
513
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
514
+ # @param [Google::Apis::RequestOptions] options
515
+ # Request-specific options
516
+ #
517
+ # @yield [result, err] Result & error if block supplied
518
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Empty] parsed result object
519
+ # @yieldparam err [StandardError] error object if request failed
520
+ #
521
+ # @return [Google::Apis::GkehubV1alpha::Empty]
522
+ #
523
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
524
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
525
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
526
+ def delete_project_location_fleet(name, fields: nil, quota_user: nil, options: nil, &block)
527
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
528
+ command.response_representation = Google::Apis::GkehubV1alpha::Empty::Representation
529
+ command.response_class = Google::Apis::GkehubV1alpha::Empty
530
+ command.params['name'] = name unless name.nil?
531
+ command.query['fields'] = fields unless fields.nil?
532
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
533
+ execute_or_queue_command(command, &block)
534
+ end
535
+
536
+ # Returns the details of a fleet.
537
+ # @param [String] name
538
+ # Required. The Fleet resource name in the format `projects/*/locations/*/fleets/
539
+ # *`.
540
+ # @param [String] fields
541
+ # Selector specifying which fields to include in a partial response.
542
+ # @param [String] quota_user
543
+ # Available to use for quota purposes for server-side applications. Can be any
544
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
545
+ # @param [Google::Apis::RequestOptions] options
546
+ # Request-specific options
547
+ #
548
+ # @yield [result, err] Result & error if block supplied
549
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Fleet] parsed result object
550
+ # @yieldparam err [StandardError] error object if request failed
551
+ #
552
+ # @return [Google::Apis::GkehubV1alpha::Fleet]
553
+ #
554
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
555
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
556
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
557
+ def get_project_location_fleet(name, fields: nil, quota_user: nil, options: nil, &block)
558
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
559
+ command.response_representation = Google::Apis::GkehubV1alpha::Fleet::Representation
560
+ command.response_class = Google::Apis::GkehubV1alpha::Fleet
561
+ command.params['name'] = name unless name.nil?
562
+ command.query['fields'] = fields unless fields.nil?
563
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
564
+ execute_or_queue_command(command, &block)
565
+ end
566
+
567
+ # Updates a fleet.
568
+ # @param [String] name
569
+ # Output only. The full, unique resource name of this fleet in the format of `
570
+ # projects/`project`/locations/`location`/fleets/`fleet``. Each GCP project can
571
+ # have at most one fleet resource, named "default".
572
+ # @param [Google::Apis::GkehubV1alpha::Fleet] fleet_object
573
+ # @param [String] update_mask
574
+ # Required. The fields to be updated;
575
+ # @param [String] fields
576
+ # Selector specifying which fields to include in a partial response.
577
+ # @param [String] quota_user
578
+ # Available to use for quota purposes for server-side applications. Can be any
579
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
580
+ # @param [Google::Apis::RequestOptions] options
581
+ # Request-specific options
582
+ #
583
+ # @yield [result, err] Result & error if block supplied
584
+ # @yieldparam result [Google::Apis::GkehubV1alpha::Fleet] parsed result object
585
+ # @yieldparam err [StandardError] error object if request failed
586
+ #
587
+ # @return [Google::Apis::GkehubV1alpha::Fleet]
588
+ #
589
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
590
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
591
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
592
+ def patch_project_location_fleet(name, fleet_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
593
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
594
+ command.request_representation = Google::Apis::GkehubV1alpha::Fleet::Representation
595
+ command.request_object = fleet_object
596
+ command.response_representation = Google::Apis::GkehubV1alpha::Fleet::Representation
597
+ command.response_class = Google::Apis::GkehubV1alpha::Fleet
598
+ command.params['name'] = name unless name.nil?
599
+ command.query['updateMask'] = update_mask unless update_mask.nil?
600
+ command.query['fields'] = fields unless fields.nil?
601
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
602
+ execute_or_queue_command(command, &block)
603
+ end
604
+
468
605
  # Creates a new Membership. **This is currently only supported for GKE clusters
469
606
  # on Google Cloud**. To register other clusters, follow the instructions at
470
607
  # https://cloud.google.com/anthos/multicluster-management/connect/registering-a-
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.15.0
4
+ version: 0.19.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: 2021-11-15 00:00:00.000000000 Z
11
+ date: 2022-01-17 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.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.19.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for GKE Hub API V1alpha