google-apis-gkehub_v1beta 0.43.0 → 0.45.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37578fc6050e3518c58bed140244c763777f6a90cd758b93567101f2bb5ccee1
|
4
|
+
data.tar.gz: ad384fbab9f29fc374a9a3dd3a2711cd57b931a3d99016c3704724eb2d5319ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 324babeb03f8c6bd0726f6670b932756309adc7c85d922cb1017e1de3d35b16b4d60d418a79e7722f72b94368b498d7af1d6316a645efe89a1f3058c57e5cc12
|
7
|
+
data.tar.gz: 551a82e89b6b0af3b1a1b1de1578904b0e32adf2a36e7890120439c35097346321f468c3c4d7935de36d4443ed0df7584b8b41f4dc06043764b1de6ebb0ec044
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1beta
|
2
2
|
|
3
|
+
### v0.45.0 (2023-04-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230414
|
6
|
+
|
7
|
+
### v0.44.0 (2023-04-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230407
|
10
|
+
|
3
11
|
### v0.43.0 (2023-03-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230316
|
@@ -450,6 +450,11 @@ module Google
|
|
450
450
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementGitConfig]
|
451
451
|
attr_accessor :git
|
452
452
|
|
453
|
+
# Configuration for Managed Config Sync.
|
454
|
+
# Corresponds to the JSON property `managed`
|
455
|
+
# @return [Google::Apis::GkehubV1beta::ConfigManagementManaged]
|
456
|
+
attr_accessor :managed
|
457
|
+
|
453
458
|
# OCI repo configuration for a single cluster
|
454
459
|
# Corresponds to the JSON property `oci`
|
455
460
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementOciConfig]
|
@@ -478,6 +483,7 @@ module Google
|
|
478
483
|
@allow_vertical_scale = args[:allow_vertical_scale] if args.key?(:allow_vertical_scale)
|
479
484
|
@enabled = args[:enabled] if args.key?(:enabled)
|
480
485
|
@git = args[:git] if args.key?(:git)
|
486
|
+
@managed = args[:managed] if args.key?(:managed)
|
481
487
|
@oci = args[:oci] if args.key?(:oci)
|
482
488
|
@prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
|
483
489
|
@source_format = args[:source_format] if args.key?(:source_format)
|
@@ -917,6 +923,27 @@ module Google
|
|
917
923
|
end
|
918
924
|
end
|
919
925
|
|
926
|
+
# Configuration for Managed Config Sync.
|
927
|
+
class ConfigManagementManaged
|
928
|
+
include Google::Apis::Core::Hashable
|
929
|
+
|
930
|
+
# Set to true to enable Managed Config Sync. Defaults to false which disables
|
931
|
+
# Managed Config Sync.
|
932
|
+
# Corresponds to the JSON property `enabled`
|
933
|
+
# @return [Boolean]
|
934
|
+
attr_accessor :enabled
|
935
|
+
alias_method :enabled?, :enabled
|
936
|
+
|
937
|
+
def initialize(**args)
|
938
|
+
update!(**args)
|
939
|
+
end
|
940
|
+
|
941
|
+
# Update properties of this object
|
942
|
+
def update!(**args)
|
943
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
944
|
+
end
|
945
|
+
end
|
946
|
+
|
920
947
|
# **Anthos Config Management**: Configuration for a single cluster. Intended to
|
921
948
|
# parallel the ConfigManagement CR.
|
922
949
|
class ConfigManagementMembershipSpec
|
@@ -1599,6 +1626,87 @@ module Google
|
|
1599
1626
|
end
|
1600
1627
|
end
|
1601
1628
|
|
1629
|
+
# Fleet contains the Fleet-wide metadata and configuration.
|
1630
|
+
class Fleet
|
1631
|
+
include Google::Apis::Core::Hashable
|
1632
|
+
|
1633
|
+
# Output only. When the Fleet was created.
|
1634
|
+
# Corresponds to the JSON property `createTime`
|
1635
|
+
# @return [String]
|
1636
|
+
attr_accessor :create_time
|
1637
|
+
|
1638
|
+
# Output only. When the Fleet was deleted.
|
1639
|
+
# Corresponds to the JSON property `deleteTime`
|
1640
|
+
# @return [String]
|
1641
|
+
attr_accessor :delete_time
|
1642
|
+
|
1643
|
+
# Optional. A user-assigned display name of the Fleet. When present, it must be
|
1644
|
+
# between 4 to 30 characters. Allowed characters are: lowercase and uppercase
|
1645
|
+
# letters, numbers, hyphen, single-quote, double-quote, space, and exclamation
|
1646
|
+
# point. Example: `Production Fleet`
|
1647
|
+
# Corresponds to the JSON property `displayName`
|
1648
|
+
# @return [String]
|
1649
|
+
attr_accessor :display_name
|
1650
|
+
|
1651
|
+
# Output only. The full, unique resource name of this fleet in the format of `
|
1652
|
+
# projects/`project`/locations/`location`/fleets/`fleet``. Each GCP project can
|
1653
|
+
# have at most one fleet resource, named "default".
|
1654
|
+
# Corresponds to the JSON property `name`
|
1655
|
+
# @return [String]
|
1656
|
+
attr_accessor :name
|
1657
|
+
|
1658
|
+
# FleetLifecycleState describes the state of a Fleet resource.
|
1659
|
+
# Corresponds to the JSON property `state`
|
1660
|
+
# @return [Google::Apis::GkehubV1beta::FleetLifecycleState]
|
1661
|
+
attr_accessor :state
|
1662
|
+
|
1663
|
+
# Output only. Google-generated UUID for this resource. This is unique across
|
1664
|
+
# all Fleet resources. If a Fleet resource is deleted and another resource with
|
1665
|
+
# the same name is created, it gets a different uid.
|
1666
|
+
# Corresponds to the JSON property `uid`
|
1667
|
+
# @return [String]
|
1668
|
+
attr_accessor :uid
|
1669
|
+
|
1670
|
+
# Output only. When the Fleet was last updated.
|
1671
|
+
# Corresponds to the JSON property `updateTime`
|
1672
|
+
# @return [String]
|
1673
|
+
attr_accessor :update_time
|
1674
|
+
|
1675
|
+
def initialize(**args)
|
1676
|
+
update!(**args)
|
1677
|
+
end
|
1678
|
+
|
1679
|
+
# Update properties of this object
|
1680
|
+
def update!(**args)
|
1681
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1682
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
1683
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1684
|
+
@name = args[:name] if args.key?(:name)
|
1685
|
+
@state = args[:state] if args.key?(:state)
|
1686
|
+
@uid = args[:uid] if args.key?(:uid)
|
1687
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1688
|
+
end
|
1689
|
+
end
|
1690
|
+
|
1691
|
+
# FleetLifecycleState describes the state of a Fleet resource.
|
1692
|
+
class FleetLifecycleState
|
1693
|
+
include Google::Apis::Core::Hashable
|
1694
|
+
|
1695
|
+
# Output only. The current state of the Fleet resource.
|
1696
|
+
# Corresponds to the JSON property `code`
|
1697
|
+
# @return [String]
|
1698
|
+
attr_accessor :code
|
1699
|
+
|
1700
|
+
def initialize(**args)
|
1701
|
+
update!(**args)
|
1702
|
+
end
|
1703
|
+
|
1704
|
+
# Update properties of this object
|
1705
|
+
def update!(**args)
|
1706
|
+
@code = args[:code] if args.key?(:code)
|
1707
|
+
end
|
1708
|
+
end
|
1709
|
+
|
1602
1710
|
# **Fleet Observability**: The Hub-wide input for the FleetObservability feature.
|
1603
1711
|
class FleetObservabilityFeatureSpec
|
1604
1712
|
include Google::Apis::Core::Hashable
|
@@ -1990,6 +2098,33 @@ module Google
|
|
1990
2098
|
end
|
1991
2099
|
end
|
1992
2100
|
|
2101
|
+
# Response message for the `GkeHub.ListFleetsResponse` method.
|
2102
|
+
class ListFleetsResponse
|
2103
|
+
include Google::Apis::Core::Hashable
|
2104
|
+
|
2105
|
+
# The list of matching fleets.
|
2106
|
+
# Corresponds to the JSON property `fleets`
|
2107
|
+
# @return [Array<Google::Apis::GkehubV1beta::Fleet>]
|
2108
|
+
attr_accessor :fleets
|
2109
|
+
|
2110
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
2111
|
+
# field is omitted, there are no subsequent pages. The token is only valid for
|
2112
|
+
# 1h.
|
2113
|
+
# Corresponds to the JSON property `nextPageToken`
|
2114
|
+
# @return [String]
|
2115
|
+
attr_accessor :next_page_token
|
2116
|
+
|
2117
|
+
def initialize(**args)
|
2118
|
+
update!(**args)
|
2119
|
+
end
|
2120
|
+
|
2121
|
+
# Update properties of this object
|
2122
|
+
def update!(**args)
|
2123
|
+
@fleets = args[:fleets] if args.key?(:fleets)
|
2124
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2125
|
+
end
|
2126
|
+
end
|
2127
|
+
|
1993
2128
|
# The response message for Locations.ListLocations.
|
1994
2129
|
class ListLocationsResponse
|
1995
2130
|
include Google::Apis::Core::Hashable
|
@@ -3340,6 +3475,12 @@ module Google
|
|
3340
3475
|
class Scope
|
3341
3476
|
include Google::Apis::Core::Hashable
|
3342
3477
|
|
3478
|
+
# If true, all Memberships in the Fleet bind to this Scope.
|
3479
|
+
# Corresponds to the JSON property `allMemberships`
|
3480
|
+
# @return [Boolean]
|
3481
|
+
attr_accessor :all_memberships
|
3482
|
+
alias_method :all_memberships?, :all_memberships
|
3483
|
+
|
3343
3484
|
# Output only. When the scope was created.
|
3344
3485
|
# Corresponds to the JSON property `createTime`
|
3345
3486
|
# @return [String]
|
@@ -3379,6 +3520,7 @@ module Google
|
|
3379
3520
|
|
3380
3521
|
# Update properties of this object
|
3381
3522
|
def update!(**args)
|
3523
|
+
@all_memberships = args[:all_memberships] if args.key?(:all_memberships)
|
3382
3524
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3383
3525
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
3384
3526
|
@name = args[:name] if args.key?(:name)
|
@@ -3495,7 +3637,8 @@ module Google
|
|
3495
3637
|
class ServiceMeshMembershipSpec
|
3496
3638
|
include Google::Apis::Core::Hashable
|
3497
3639
|
|
3498
|
-
# Enables automatic control plane
|
3640
|
+
# Deprecated: use `management` instead Enables automatic control plane
|
3641
|
+
# management.
|
3499
3642
|
# Corresponds to the JSON property `controlPlane`
|
3500
3643
|
# @return [String]
|
3501
3644
|
attr_accessor :control_plane
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1beta
|
18
18
|
# Version of the google-apis-gkehub_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.45.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230414"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -184,6 +184,12 @@ module Google
|
|
184
184
|
include Google::Apis::Core::JsonObjectSupport
|
185
185
|
end
|
186
186
|
|
187
|
+
class ConfigManagementManaged
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
187
193
|
class ConfigManagementMembershipSpec
|
188
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
195
|
|
@@ -280,6 +286,18 @@ module Google
|
|
280
286
|
include Google::Apis::Core::JsonObjectSupport
|
281
287
|
end
|
282
288
|
|
289
|
+
class Fleet
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class FleetLifecycleState
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
283
301
|
class FleetObservabilityFeatureSpec
|
284
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
303
|
|
@@ -352,6 +370,12 @@ module Google
|
|
352
370
|
include Google::Apis::Core::JsonObjectSupport
|
353
371
|
end
|
354
372
|
|
373
|
+
class ListFleetsResponse
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
355
379
|
class ListLocationsResponse
|
356
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
381
|
|
@@ -768,6 +792,8 @@ module Google
|
|
768
792
|
property :enabled, as: 'enabled'
|
769
793
|
property :git, as: 'git', class: Google::Apis::GkehubV1beta::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementGitConfig::Representation
|
770
794
|
|
795
|
+
property :managed, as: 'managed', class: Google::Apis::GkehubV1beta::ConfigManagementManaged, decorator: Google::Apis::GkehubV1beta::ConfigManagementManaged::Representation
|
796
|
+
|
771
797
|
property :oci, as: 'oci', class: Google::Apis::GkehubV1beta::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementOciConfig::Representation
|
772
798
|
|
773
799
|
property :prevent_drift, as: 'preventDrift'
|
@@ -898,6 +924,13 @@ module Google
|
|
898
924
|
end
|
899
925
|
end
|
900
926
|
|
927
|
+
class ConfigManagementManaged
|
928
|
+
# @private
|
929
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
930
|
+
property :enabled, as: 'enabled'
|
931
|
+
end
|
932
|
+
end
|
933
|
+
|
901
934
|
class ConfigManagementMembershipSpec
|
902
935
|
# @private
|
903
936
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1084,6 +1117,27 @@ module Google
|
|
1084
1117
|
end
|
1085
1118
|
end
|
1086
1119
|
|
1120
|
+
class Fleet
|
1121
|
+
# @private
|
1122
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1123
|
+
property :create_time, as: 'createTime'
|
1124
|
+
property :delete_time, as: 'deleteTime'
|
1125
|
+
property :display_name, as: 'displayName'
|
1126
|
+
property :name, as: 'name'
|
1127
|
+
property :state, as: 'state', class: Google::Apis::GkehubV1beta::FleetLifecycleState, decorator: Google::Apis::GkehubV1beta::FleetLifecycleState::Representation
|
1128
|
+
|
1129
|
+
property :uid, as: 'uid'
|
1130
|
+
property :update_time, as: 'updateTime'
|
1131
|
+
end
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
class FleetLifecycleState
|
1135
|
+
# @private
|
1136
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1137
|
+
property :code, as: 'code'
|
1138
|
+
end
|
1139
|
+
end
|
1140
|
+
|
1087
1141
|
class FleetObservabilityFeatureSpec
|
1088
1142
|
# @private
|
1089
1143
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1197,6 +1251,15 @@ module Google
|
|
1197
1251
|
end
|
1198
1252
|
end
|
1199
1253
|
|
1254
|
+
class ListFleetsResponse
|
1255
|
+
# @private
|
1256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1257
|
+
collection :fleets, as: 'fleets', class: Google::Apis::GkehubV1beta::Fleet, decorator: Google::Apis::GkehubV1beta::Fleet::Representation
|
1258
|
+
|
1259
|
+
property :next_page_token, as: 'nextPageToken'
|
1260
|
+
end
|
1261
|
+
end
|
1262
|
+
|
1200
1263
|
class ListLocationsResponse
|
1201
1264
|
# @private
|
1202
1265
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1577,6 +1640,7 @@ module Google
|
|
1577
1640
|
class Scope
|
1578
1641
|
# @private
|
1579
1642
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1643
|
+
property :all_memberships, as: 'allMemberships'
|
1580
1644
|
property :create_time, as: 'createTime'
|
1581
1645
|
property :delete_time, as: 'deleteTime'
|
1582
1646
|
property :name, as: 'name'
|
@@ -49,6 +49,48 @@ module Google
|
|
49
49
|
@batch_path = 'batch'
|
50
50
|
end
|
51
51
|
|
52
|
+
# Returns all fleets within an organization or a project that the caller has
|
53
|
+
# access to.
|
54
|
+
# @param [String] parent
|
55
|
+
# Required. The organization or project to list for Fleets under, in the format `
|
56
|
+
# organizations/*/locations/*` or `projects/*/locations/*`.
|
57
|
+
# @param [Fixnum] page_size
|
58
|
+
# Optional. The maximum number of fleets to return. The service may return fewer
|
59
|
+
# than this value. If unspecified, at most 200 fleets will be returned. The
|
60
|
+
# maximum value is 1000; values above 1000 will be coerced to 1000.
|
61
|
+
# @param [String] page_token
|
62
|
+
# Optional. A page token, received from a previous `ListFleets` call. Provide
|
63
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
64
|
+
# provided to `ListFleets` must match the call that provided the page token.
|
65
|
+
# @param [String] fields
|
66
|
+
# Selector specifying which fields to include in a partial response.
|
67
|
+
# @param [String] quota_user
|
68
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
69
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
70
|
+
# @param [Google::Apis::RequestOptions] options
|
71
|
+
# Request-specific options
|
72
|
+
#
|
73
|
+
# @yield [result, err] Result & error if block supplied
|
74
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::ListFleetsResponse] parsed result object
|
75
|
+
# @yieldparam err [StandardError] error object if request failed
|
76
|
+
#
|
77
|
+
# @return [Google::Apis::GkehubV1beta::ListFleetsResponse]
|
78
|
+
#
|
79
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
80
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
81
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
82
|
+
def list_organization_location_fleets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
83
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/fleets', options)
|
84
|
+
command.response_representation = Google::Apis::GkehubV1beta::ListFleetsResponse::Representation
|
85
|
+
command.response_class = Google::Apis::GkehubV1beta::ListFleetsResponse
|
86
|
+
command.params['parent'] = parent unless parent.nil?
|
87
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
88
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
89
|
+
command.query['fields'] = fields unless fields.nil?
|
90
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
91
|
+
execute_or_queue_command(command, &block)
|
92
|
+
end
|
93
|
+
|
52
94
|
# Gets information about a location.
|
53
95
|
# @param [String] name
|
54
96
|
# Resource name for the location.
|
@@ -471,6 +513,182 @@ module Google
|
|
471
513
|
execute_or_queue_command(command, &block)
|
472
514
|
end
|
473
515
|
|
516
|
+
# Creates a fleet.
|
517
|
+
# @param [String] parent
|
518
|
+
# Required. The parent (project and location) where the Fleet will be created.
|
519
|
+
# Specified in the format `projects/*/locations/*`.
|
520
|
+
# @param [Google::Apis::GkehubV1beta::Fleet] fleet_object
|
521
|
+
# @param [String] fields
|
522
|
+
# Selector specifying which fields to include in a partial response.
|
523
|
+
# @param [String] quota_user
|
524
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
525
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
526
|
+
# @param [Google::Apis::RequestOptions] options
|
527
|
+
# Request-specific options
|
528
|
+
#
|
529
|
+
# @yield [result, err] Result & error if block supplied
|
530
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
531
|
+
# @yieldparam err [StandardError] error object if request failed
|
532
|
+
#
|
533
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
534
|
+
#
|
535
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
536
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
537
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
538
|
+
def create_project_location_fleet(parent, fleet_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
539
|
+
command = make_simple_command(:post, 'v1beta/{+parent}/fleets', options)
|
540
|
+
command.request_representation = Google::Apis::GkehubV1beta::Fleet::Representation
|
541
|
+
command.request_object = fleet_object
|
542
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
543
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
544
|
+
command.params['parent'] = parent unless parent.nil?
|
545
|
+
command.query['fields'] = fields unless fields.nil?
|
546
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
547
|
+
execute_or_queue_command(command, &block)
|
548
|
+
end
|
549
|
+
|
550
|
+
# Removes a Fleet. There must be no memberships remaining in the Fleet.
|
551
|
+
# @param [String] name
|
552
|
+
# Required. The Fleet resource name in the format `projects/*/locations/*/fleets/
|
553
|
+
# *`.
|
554
|
+
# @param [String] fields
|
555
|
+
# Selector specifying which fields to include in a partial response.
|
556
|
+
# @param [String] quota_user
|
557
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
558
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
559
|
+
# @param [Google::Apis::RequestOptions] options
|
560
|
+
# Request-specific options
|
561
|
+
#
|
562
|
+
# @yield [result, err] Result & error if block supplied
|
563
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
564
|
+
# @yieldparam err [StandardError] error object if request failed
|
565
|
+
#
|
566
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
567
|
+
#
|
568
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
569
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
570
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
571
|
+
def delete_project_location_fleet(name, fields: nil, quota_user: nil, options: nil, &block)
|
572
|
+
command = make_simple_command(:delete, 'v1beta/{+name}', options)
|
573
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
574
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
575
|
+
command.params['name'] = name unless name.nil?
|
576
|
+
command.query['fields'] = fields unless fields.nil?
|
577
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
578
|
+
execute_or_queue_command(command, &block)
|
579
|
+
end
|
580
|
+
|
581
|
+
# Returns the details of a fleet.
|
582
|
+
# @param [String] name
|
583
|
+
# Required. The Fleet resource name in the format `projects/*/locations/*/fleets/
|
584
|
+
# *`.
|
585
|
+
# @param [String] fields
|
586
|
+
# Selector specifying which fields to include in a partial response.
|
587
|
+
# @param [String] quota_user
|
588
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
589
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
590
|
+
# @param [Google::Apis::RequestOptions] options
|
591
|
+
# Request-specific options
|
592
|
+
#
|
593
|
+
# @yield [result, err] Result & error if block supplied
|
594
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Fleet] parsed result object
|
595
|
+
# @yieldparam err [StandardError] error object if request failed
|
596
|
+
#
|
597
|
+
# @return [Google::Apis::GkehubV1beta::Fleet]
|
598
|
+
#
|
599
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
600
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
601
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
602
|
+
def get_project_location_fleet(name, fields: nil, quota_user: nil, options: nil, &block)
|
603
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
604
|
+
command.response_representation = Google::Apis::GkehubV1beta::Fleet::Representation
|
605
|
+
command.response_class = Google::Apis::GkehubV1beta::Fleet
|
606
|
+
command.params['name'] = name unless name.nil?
|
607
|
+
command.query['fields'] = fields unless fields.nil?
|
608
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
609
|
+
execute_or_queue_command(command, &block)
|
610
|
+
end
|
611
|
+
|
612
|
+
# Returns all fleets within an organization or a project that the caller has
|
613
|
+
# access to.
|
614
|
+
# @param [String] parent
|
615
|
+
# Required. The organization or project to list for Fleets under, in the format `
|
616
|
+
# organizations/*/locations/*` or `projects/*/locations/*`.
|
617
|
+
# @param [Fixnum] page_size
|
618
|
+
# Optional. The maximum number of fleets to return. The service may return fewer
|
619
|
+
# than this value. If unspecified, at most 200 fleets will be returned. The
|
620
|
+
# maximum value is 1000; values above 1000 will be coerced to 1000.
|
621
|
+
# @param [String] page_token
|
622
|
+
# Optional. A page token, received from a previous `ListFleets` call. Provide
|
623
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
624
|
+
# provided to `ListFleets` must match the call that provided the page token.
|
625
|
+
# @param [String] fields
|
626
|
+
# Selector specifying which fields to include in a partial response.
|
627
|
+
# @param [String] quota_user
|
628
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
629
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
630
|
+
# @param [Google::Apis::RequestOptions] options
|
631
|
+
# Request-specific options
|
632
|
+
#
|
633
|
+
# @yield [result, err] Result & error if block supplied
|
634
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::ListFleetsResponse] parsed result object
|
635
|
+
# @yieldparam err [StandardError] error object if request failed
|
636
|
+
#
|
637
|
+
# @return [Google::Apis::GkehubV1beta::ListFleetsResponse]
|
638
|
+
#
|
639
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
640
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
641
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
642
|
+
def list_project_location_fleets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
643
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/fleets', options)
|
644
|
+
command.response_representation = Google::Apis::GkehubV1beta::ListFleetsResponse::Representation
|
645
|
+
command.response_class = Google::Apis::GkehubV1beta::ListFleetsResponse
|
646
|
+
command.params['parent'] = parent unless parent.nil?
|
647
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
648
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
649
|
+
command.query['fields'] = fields unless fields.nil?
|
650
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
651
|
+
execute_or_queue_command(command, &block)
|
652
|
+
end
|
653
|
+
|
654
|
+
# Updates a fleet.
|
655
|
+
# @param [String] name
|
656
|
+
# Output only. The full, unique resource name of this fleet in the format of `
|
657
|
+
# projects/`project`/locations/`location`/fleets/`fleet``. Each GCP project can
|
658
|
+
# have at most one fleet resource, named "default".
|
659
|
+
# @param [Google::Apis::GkehubV1beta::Fleet] fleet_object
|
660
|
+
# @param [String] update_mask
|
661
|
+
# Required. The fields to be updated;
|
662
|
+
# @param [String] fields
|
663
|
+
# Selector specifying which fields to include in a partial response.
|
664
|
+
# @param [String] quota_user
|
665
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
666
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
667
|
+
# @param [Google::Apis::RequestOptions] options
|
668
|
+
# Request-specific options
|
669
|
+
#
|
670
|
+
# @yield [result, err] Result & error if block supplied
|
671
|
+
# @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
|
672
|
+
# @yieldparam err [StandardError] error object if request failed
|
673
|
+
#
|
674
|
+
# @return [Google::Apis::GkehubV1beta::Operation]
|
675
|
+
#
|
676
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
677
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
678
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
679
|
+
def patch_project_location_fleet(name, fleet_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
680
|
+
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
681
|
+
command.request_representation = Google::Apis::GkehubV1beta::Fleet::Representation
|
682
|
+
command.request_object = fleet_object
|
683
|
+
command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
|
684
|
+
command.response_class = Google::Apis::GkehubV1beta::Operation
|
685
|
+
command.params['name'] = name unless name.nil?
|
686
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
687
|
+
command.query['fields'] = fields unless fields.nil?
|
688
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
689
|
+
execute_or_queue_command(command, &block)
|
690
|
+
end
|
691
|
+
|
474
692
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
475
693
|
# resource exists and does not have a policy set.
|
476
694
|
# @param [String] resource
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.45.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: 2023-
|
11
|
+
date: 2023-04-23 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_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.45.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|