google-apis-gkehub_v2alpha 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6cc49d0590267c38c68e4292be1c06ca06e708ce7a55ee132dc1ca587930fed
|
4
|
+
data.tar.gz: f6fa9377b27f26d66b533624aa82239a40882263007c17061a5225136ece6c82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9f4cbe91d139fe7ea1c8a621a032f227b14277bca3790b4e5585288d6e64ffc7b04da14e84554d73a832522c52716c1d335ef63177c3202b4f268740bb5986b
|
7
|
+
data.tar.gz: 88a1352412c728d68914f7140e1985ccad81599f21eee1e7d2b8015ba0aa6c4edfbc81f89864a3b89c8e88123c541c768dd206ead3ab9395406a48513d23833d
|
data/CHANGELOG.md
CHANGED
@@ -52,155 +52,6 @@ module Google
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
-
# FeatureConfig contains configurations for a Fleet feature. FeatureConfig can
|
56
|
-
# be applied to MembershipFeature(s) to setup per-membership FeatureSpec.
|
57
|
-
class FeatureConfig
|
58
|
-
include Google::Apis::Core::Hashable
|
59
|
-
|
60
|
-
# Output only. When the FeatureConfig resource was created.
|
61
|
-
# Corresponds to the JSON property `createTime`
|
62
|
-
# @return [String]
|
63
|
-
attr_accessor :create_time
|
64
|
-
|
65
|
-
# Output only. When the FeatureConfig resource was deleted.
|
66
|
-
# Corresponds to the JSON property `deleteTime`
|
67
|
-
# @return [String]
|
68
|
-
attr_accessor :delete_time
|
69
|
-
|
70
|
-
# GCP labels for this FeatureConfig.
|
71
|
-
# Corresponds to the JSON property `labels`
|
72
|
-
# @return [Hash<String,String>]
|
73
|
-
attr_accessor :labels
|
74
|
-
|
75
|
-
# Output only. Resource name of this FeatureConfig, in the format: `projects/`
|
76
|
-
# project`/locations/global/FeatureConfigs/`feature_type`/`feature_config``
|
77
|
-
# Corresponds to the JSON property `name`
|
78
|
-
# @return [String]
|
79
|
-
attr_accessor :name
|
80
|
-
|
81
|
-
# FeatureSpec contains user input per-feature spec information.
|
82
|
-
# Corresponds to the JSON property `spec`
|
83
|
-
# @return [Google::Apis::GkehubV2alpha::FeatureSpec]
|
84
|
-
attr_accessor :spec
|
85
|
-
|
86
|
-
# FeatureConfigState describes the state of a FeatureConfig resource.
|
87
|
-
# Corresponds to the JSON property `state`
|
88
|
-
# @return [Google::Apis::GkehubV2alpha::FeatureConfigState]
|
89
|
-
attr_accessor :state
|
90
|
-
|
91
|
-
# Output only. Google-generated UUID for this resource. This is unique across
|
92
|
-
# all FeatureConfig resources. If a Membership resource is deleted and another
|
93
|
-
# resource with the same name is created, it gets a different unique_id.
|
94
|
-
# Corresponds to the JSON property `uniqueId`
|
95
|
-
# @return [String]
|
96
|
-
attr_accessor :unique_id
|
97
|
-
|
98
|
-
# Output only. When the FeatureConfig resource was last updated.
|
99
|
-
# Corresponds to the JSON property `updateTime`
|
100
|
-
# @return [String]
|
101
|
-
attr_accessor :update_time
|
102
|
-
|
103
|
-
def initialize(**args)
|
104
|
-
update!(**args)
|
105
|
-
end
|
106
|
-
|
107
|
-
# Update properties of this object
|
108
|
-
def update!(**args)
|
109
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
110
|
-
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
111
|
-
@labels = args[:labels] if args.key?(:labels)
|
112
|
-
@name = args[:name] if args.key?(:name)
|
113
|
-
@spec = args[:spec] if args.key?(:spec)
|
114
|
-
@state = args[:state] if args.key?(:state)
|
115
|
-
@unique_id = args[:unique_id] if args.key?(:unique_id)
|
116
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
117
|
-
end
|
118
|
-
end
|
119
|
-
|
120
|
-
# Information of the FeatureConfig applied on the MembershipFeature.
|
121
|
-
class FeatureConfigRef
|
122
|
-
include Google::Apis::Core::Hashable
|
123
|
-
|
124
|
-
# Input only. Resource name of FeatureConfig, in the format: `projects/`project`/
|
125
|
-
# locations/global/featureConfigs/`feature_config``.
|
126
|
-
# Corresponds to the JSON property `config`
|
127
|
-
# @return [String]
|
128
|
-
attr_accessor :config
|
129
|
-
|
130
|
-
# Output only. When the FeatureConfig was last applied and copied to FeatureSpec.
|
131
|
-
# Corresponds to the JSON property `configUpdateTime`
|
132
|
-
# @return [String]
|
133
|
-
attr_accessor :config_update_time
|
134
|
-
|
135
|
-
# Output only. An id that uniquely identify a FeatureConfig object.
|
136
|
-
# Corresponds to the JSON property `uuid`
|
137
|
-
# @return [String]
|
138
|
-
attr_accessor :uuid
|
139
|
-
|
140
|
-
def initialize(**args)
|
141
|
-
update!(**args)
|
142
|
-
end
|
143
|
-
|
144
|
-
# Update properties of this object
|
145
|
-
def update!(**args)
|
146
|
-
@config = args[:config] if args.key?(:config)
|
147
|
-
@config_update_time = args[:config_update_time] if args.key?(:config_update_time)
|
148
|
-
@uuid = args[:uuid] if args.key?(:uuid)
|
149
|
-
end
|
150
|
-
end
|
151
|
-
|
152
|
-
# FeatureConfigState describes the state of a FeatureConfig resource.
|
153
|
-
class FeatureConfigState
|
154
|
-
include Google::Apis::Core::Hashable
|
155
|
-
|
156
|
-
# Output only. The current state of the FeatureConfig resource.
|
157
|
-
# Corresponds to the JSON property `state`
|
158
|
-
# @return [String]
|
159
|
-
attr_accessor :state
|
160
|
-
|
161
|
-
def initialize(**args)
|
162
|
-
update!(**args)
|
163
|
-
end
|
164
|
-
|
165
|
-
# Update properties of this object
|
166
|
-
def update!(**args)
|
167
|
-
@state = args[:state] if args.key?(:state)
|
168
|
-
end
|
169
|
-
end
|
170
|
-
|
171
|
-
# FeatureSpec contains user input per-feature spec information.
|
172
|
-
class FeatureSpec
|
173
|
-
include Google::Apis::Core::Hashable
|
174
|
-
|
175
|
-
def initialize(**args)
|
176
|
-
update!(**args)
|
177
|
-
end
|
178
|
-
|
179
|
-
# Update properties of this object
|
180
|
-
def update!(**args)
|
181
|
-
end
|
182
|
-
end
|
183
|
-
|
184
|
-
# FeatureState contains high-level state information and per-feature state
|
185
|
-
# information for this MembershipFeature.
|
186
|
-
class FeatureState
|
187
|
-
include Google::Apis::Core::Hashable
|
188
|
-
|
189
|
-
# High-level state of a MembershipFeature.
|
190
|
-
# Corresponds to the JSON property `state`
|
191
|
-
# @return [Google::Apis::GkehubV2alpha::State]
|
192
|
-
attr_accessor :state
|
193
|
-
|
194
|
-
def initialize(**args)
|
195
|
-
update!(**args)
|
196
|
-
end
|
197
|
-
|
198
|
-
# Update properties of this object
|
199
|
-
def update!(**args)
|
200
|
-
@state = args[:state] if args.key?(:state)
|
201
|
-
end
|
202
|
-
end
|
203
|
-
|
204
55
|
# The `Status` type defines a logical error model that is suitable for different
|
205
56
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
206
57
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -240,33 +91,6 @@ module Google
|
|
240
91
|
end
|
241
92
|
end
|
242
93
|
|
243
|
-
# Response message for the `GkeHubFeature.ListFeatureConfigs` method.
|
244
|
-
class ListFeatureConfigsResponse
|
245
|
-
include Google::Apis::Core::Hashable
|
246
|
-
|
247
|
-
# The list of FeatureConfig(s).
|
248
|
-
# Corresponds to the JSON property `featureConfigs`
|
249
|
-
# @return [Array<Google::Apis::GkehubV2alpha::FeatureConfig>]
|
250
|
-
attr_accessor :feature_configs
|
251
|
-
|
252
|
-
# A token to request the next page of resources from the `ListFeatureConfigs`
|
253
|
-
# method. The value of an empty string means that there are no more resources to
|
254
|
-
# return.
|
255
|
-
# Corresponds to the JSON property `nextPageToken`
|
256
|
-
# @return [String]
|
257
|
-
attr_accessor :next_page_token
|
258
|
-
|
259
|
-
def initialize(**args)
|
260
|
-
update!(**args)
|
261
|
-
end
|
262
|
-
|
263
|
-
# Update properties of this object
|
264
|
-
def update!(**args)
|
265
|
-
@feature_configs = args[:feature_configs] if args.key?(:feature_configs)
|
266
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
267
|
-
end
|
268
|
-
end
|
269
|
-
|
270
94
|
# The response message for Locations.ListLocations.
|
271
95
|
class ListLocationsResponse
|
272
96
|
include Google::Apis::Core::Hashable
|
@@ -292,33 +116,6 @@ module Google
|
|
292
116
|
end
|
293
117
|
end
|
294
118
|
|
295
|
-
# Response message for the `GkeHubFeature.ListMembershipFeatures` method.
|
296
|
-
class ListMembershipFeaturesResponse
|
297
|
-
include Google::Apis::Core::Hashable
|
298
|
-
|
299
|
-
# The list of matching MembershipFeatures.
|
300
|
-
# Corresponds to the JSON property `membershipFeatures`
|
301
|
-
# @return [Array<Google::Apis::GkehubV2alpha::MembershipFeature>]
|
302
|
-
attr_accessor :membership_features
|
303
|
-
|
304
|
-
# A token to request the next page of resources from the `ListMembershipFeatures`
|
305
|
-
# method. The value of an empty string means that there are no more resources
|
306
|
-
# to return.
|
307
|
-
# Corresponds to the JSON property `nextPageToken`
|
308
|
-
# @return [String]
|
309
|
-
attr_accessor :next_page_token
|
310
|
-
|
311
|
-
def initialize(**args)
|
312
|
-
update!(**args)
|
313
|
-
end
|
314
|
-
|
315
|
-
# Update properties of this object
|
316
|
-
def update!(**args)
|
317
|
-
@membership_features = args[:membership_features] if args.key?(:membership_features)
|
318
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
319
|
-
end
|
320
|
-
end
|
321
|
-
|
322
119
|
# The response message for Operations.ListOperations.
|
323
120
|
class ListOperationsResponse
|
324
121
|
include Google::Apis::Core::Hashable
|
@@ -391,80 +188,6 @@ module Google
|
|
391
188
|
end
|
392
189
|
end
|
393
190
|
|
394
|
-
# MembershipFeature represents the settings and status of a Fleet Feature
|
395
|
-
# enabled on a single Fleet Membership.
|
396
|
-
class MembershipFeature
|
397
|
-
include Google::Apis::Core::Hashable
|
398
|
-
|
399
|
-
# Output only. When the MembershipFeature resource was created.
|
400
|
-
# Corresponds to the JSON property `createTime`
|
401
|
-
# @return [String]
|
402
|
-
attr_accessor :create_time
|
403
|
-
|
404
|
-
# Output only. When the MembershipFeature resource was deleted.
|
405
|
-
# Corresponds to the JSON property `deleteTime`
|
406
|
-
# @return [String]
|
407
|
-
attr_accessor :delete_time
|
408
|
-
|
409
|
-
# Information of the FeatureConfig applied on the MembershipFeature.
|
410
|
-
# Corresponds to the JSON property `featureConfigRef`
|
411
|
-
# @return [Google::Apis::GkehubV2alpha::FeatureConfigRef]
|
412
|
-
attr_accessor :feature_config_ref
|
413
|
-
|
414
|
-
# GCP labels for this MembershipFeature.
|
415
|
-
# Corresponds to the JSON property `labels`
|
416
|
-
# @return [Hash<String,String>]
|
417
|
-
attr_accessor :labels
|
418
|
-
|
419
|
-
# Output only. The resource name of the membershipFeature, in the format: `
|
420
|
-
# projects/`project`/locations/`location`/memberships/`membership`/features/`
|
421
|
-
# feature``. Note that `membershipFeatures` is shortened to `features` in the
|
422
|
-
# resource name. (see http://go/aip/122#collection-identifiers)
|
423
|
-
# Corresponds to the JSON property `name`
|
424
|
-
# @return [String]
|
425
|
-
attr_accessor :name
|
426
|
-
|
427
|
-
# ResourceState describes the state of a MembershipFeature *resource* in the
|
428
|
-
# GkeHub API. See `FeatureState` for the "running state" of the
|
429
|
-
# MembershipFeature.
|
430
|
-
# Corresponds to the JSON property `resourceState`
|
431
|
-
# @return [Google::Apis::GkehubV2alpha::ResourceState]
|
432
|
-
attr_accessor :resource_state
|
433
|
-
|
434
|
-
# FeatureSpec contains user input per-feature spec information.
|
435
|
-
# Corresponds to the JSON property `spec`
|
436
|
-
# @return [Google::Apis::GkehubV2alpha::FeatureSpec]
|
437
|
-
attr_accessor :spec
|
438
|
-
|
439
|
-
# FeatureState contains high-level state information and per-feature state
|
440
|
-
# information for this MembershipFeature.
|
441
|
-
# Corresponds to the JSON property `state`
|
442
|
-
# @return [Google::Apis::GkehubV2alpha::FeatureState]
|
443
|
-
attr_accessor :state
|
444
|
-
|
445
|
-
# Output only. When the MembershipFeature resource was last updated.
|
446
|
-
# Corresponds to the JSON property `updateTime`
|
447
|
-
# @return [String]
|
448
|
-
attr_accessor :update_time
|
449
|
-
|
450
|
-
def initialize(**args)
|
451
|
-
update!(**args)
|
452
|
-
end
|
453
|
-
|
454
|
-
# Update properties of this object
|
455
|
-
def update!(**args)
|
456
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
457
|
-
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
458
|
-
@feature_config_ref = args[:feature_config_ref] if args.key?(:feature_config_ref)
|
459
|
-
@labels = args[:labels] if args.key?(:labels)
|
460
|
-
@name = args[:name] if args.key?(:name)
|
461
|
-
@resource_state = args[:resource_state] if args.key?(:resource_state)
|
462
|
-
@spec = args[:spec] if args.key?(:spec)
|
463
|
-
@state = args[:state] if args.key?(:state)
|
464
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
465
|
-
end
|
466
|
-
end
|
467
|
-
|
468
191
|
# This resource represents a long-running operation that is the result of a
|
469
192
|
# network API call.
|
470
193
|
class Operation
|
@@ -526,117 +249,6 @@ module Google
|
|
526
249
|
@response = args[:response] if args.key?(:response)
|
527
250
|
end
|
528
251
|
end
|
529
|
-
|
530
|
-
# Metadata of the long-running operation.
|
531
|
-
class OperationMetadata
|
532
|
-
include Google::Apis::Core::Hashable
|
533
|
-
|
534
|
-
# Output only. API version used to start the operation.
|
535
|
-
# Corresponds to the JSON property `apiVersion`
|
536
|
-
# @return [String]
|
537
|
-
attr_accessor :api_version
|
538
|
-
|
539
|
-
# Output only. Identifies whether the user has requested cancellation of the
|
540
|
-
# operation. Operations that have successfully been cancelled have Operation.
|
541
|
-
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
542
|
-
# CANCELLED`.
|
543
|
-
# Corresponds to the JSON property `cancelRequested`
|
544
|
-
# @return [Boolean]
|
545
|
-
attr_accessor :cancel_requested
|
546
|
-
alias_method :cancel_requested?, :cancel_requested
|
547
|
-
|
548
|
-
# Output only. The time the operation was created.
|
549
|
-
# Corresponds to the JSON property `createTime`
|
550
|
-
# @return [String]
|
551
|
-
attr_accessor :create_time
|
552
|
-
|
553
|
-
# Output only. The time the operation finished running.
|
554
|
-
# Corresponds to the JSON property `endTime`
|
555
|
-
# @return [String]
|
556
|
-
attr_accessor :end_time
|
557
|
-
|
558
|
-
# Output only. Human-readable status of the operation, if any.
|
559
|
-
# Corresponds to the JSON property `statusDetail`
|
560
|
-
# @return [String]
|
561
|
-
attr_accessor :status_detail
|
562
|
-
|
563
|
-
# Output only. Server-defined resource path for the target of the operation.
|
564
|
-
# Corresponds to the JSON property `target`
|
565
|
-
# @return [String]
|
566
|
-
attr_accessor :target
|
567
|
-
|
568
|
-
# Output only. Name of the verb executed by the operation.
|
569
|
-
# Corresponds to the JSON property `verb`
|
570
|
-
# @return [String]
|
571
|
-
attr_accessor :verb
|
572
|
-
|
573
|
-
def initialize(**args)
|
574
|
-
update!(**args)
|
575
|
-
end
|
576
|
-
|
577
|
-
# Update properties of this object
|
578
|
-
def update!(**args)
|
579
|
-
@api_version = args[:api_version] if args.key?(:api_version)
|
580
|
-
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
581
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
582
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
583
|
-
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
584
|
-
@target = args[:target] if args.key?(:target)
|
585
|
-
@verb = args[:verb] if args.key?(:verb)
|
586
|
-
end
|
587
|
-
end
|
588
|
-
|
589
|
-
# ResourceState describes the state of a MembershipFeature *resource* in the
|
590
|
-
# GkeHub API. See `FeatureState` for the "running state" of the
|
591
|
-
# MembershipFeature.
|
592
|
-
class ResourceState
|
593
|
-
include Google::Apis::Core::Hashable
|
594
|
-
|
595
|
-
# Output only. The current state of the Feature resource in the Hub API.
|
596
|
-
# Corresponds to the JSON property `state`
|
597
|
-
# @return [String]
|
598
|
-
attr_accessor :state
|
599
|
-
|
600
|
-
def initialize(**args)
|
601
|
-
update!(**args)
|
602
|
-
end
|
603
|
-
|
604
|
-
# Update properties of this object
|
605
|
-
def update!(**args)
|
606
|
-
@state = args[:state] if args.key?(:state)
|
607
|
-
end
|
608
|
-
end
|
609
|
-
|
610
|
-
# High-level state of a MembershipFeature.
|
611
|
-
class State
|
612
|
-
include Google::Apis::Core::Hashable
|
613
|
-
|
614
|
-
# The high-level, machine-readable status of this MembershipFeature.
|
615
|
-
# Corresponds to the JSON property `code`
|
616
|
-
# @return [String]
|
617
|
-
attr_accessor :code
|
618
|
-
|
619
|
-
# A human-readable description of the current status.
|
620
|
-
# Corresponds to the JSON property `description`
|
621
|
-
# @return [String]
|
622
|
-
attr_accessor :description
|
623
|
-
|
624
|
-
# The time this status and any related Feature-specific details were updated.
|
625
|
-
# Corresponds to the JSON property `updateTime`
|
626
|
-
# @return [String]
|
627
|
-
attr_accessor :update_time
|
628
|
-
|
629
|
-
def initialize(**args)
|
630
|
-
update!(**args)
|
631
|
-
end
|
632
|
-
|
633
|
-
# Update properties of this object
|
634
|
-
def update!(**args)
|
635
|
-
@code = args[:code] if args.key?(:code)
|
636
|
-
@description = args[:description] if args.key?(:description)
|
637
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
638
|
-
end
|
639
|
-
end
|
640
252
|
end
|
641
253
|
end
|
642
254
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV2alpha
|
18
18
|
# Version of the google-apis-gkehub_v2alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.2.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220303"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,60 +34,18 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class FeatureConfig
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
-
|
40
|
-
include Google::Apis::Core::JsonObjectSupport
|
41
|
-
end
|
42
|
-
|
43
|
-
class FeatureConfigRef
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
-
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
47
|
-
end
|
48
|
-
|
49
|
-
class FeatureConfigState
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
-
|
52
|
-
include Google::Apis::Core::JsonObjectSupport
|
53
|
-
end
|
54
|
-
|
55
|
-
class FeatureSpec
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
-
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
59
|
-
end
|
60
|
-
|
61
|
-
class FeatureState
|
62
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
-
|
64
|
-
include Google::Apis::Core::JsonObjectSupport
|
65
|
-
end
|
66
|
-
|
67
37
|
class GoogleRpcStatus
|
68
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
39
|
|
70
40
|
include Google::Apis::Core::JsonObjectSupport
|
71
41
|
end
|
72
42
|
|
73
|
-
class ListFeatureConfigsResponse
|
74
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
-
|
76
|
-
include Google::Apis::Core::JsonObjectSupport
|
77
|
-
end
|
78
|
-
|
79
43
|
class ListLocationsResponse
|
80
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
45
|
|
82
46
|
include Google::Apis::Core::JsonObjectSupport
|
83
47
|
end
|
84
48
|
|
85
|
-
class ListMembershipFeaturesResponse
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
-
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
89
|
-
end
|
90
|
-
|
91
49
|
class ListOperationsResponse
|
92
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
51
|
|
@@ -100,36 +58,12 @@ module Google
|
|
100
58
|
include Google::Apis::Core::JsonObjectSupport
|
101
59
|
end
|
102
60
|
|
103
|
-
class MembershipFeature
|
104
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
-
|
106
|
-
include Google::Apis::Core::JsonObjectSupport
|
107
|
-
end
|
108
|
-
|
109
61
|
class Operation
|
110
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
63
|
|
112
64
|
include Google::Apis::Core::JsonObjectSupport
|
113
65
|
end
|
114
66
|
|
115
|
-
class OperationMetadata
|
116
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
-
|
118
|
-
include Google::Apis::Core::JsonObjectSupport
|
119
|
-
end
|
120
|
-
|
121
|
-
class ResourceState
|
122
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
-
|
124
|
-
include Google::Apis::Core::JsonObjectSupport
|
125
|
-
end
|
126
|
-
|
127
|
-
class State
|
128
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
-
|
130
|
-
include Google::Apis::Core::JsonObjectSupport
|
131
|
-
end
|
132
|
-
|
133
67
|
class CancelOperationRequest
|
134
68
|
# @private
|
135
69
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -142,52 +76,6 @@ module Google
|
|
142
76
|
end
|
143
77
|
end
|
144
78
|
|
145
|
-
class FeatureConfig
|
146
|
-
# @private
|
147
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
148
|
-
property :create_time, as: 'createTime'
|
149
|
-
property :delete_time, as: 'deleteTime'
|
150
|
-
hash :labels, as: 'labels'
|
151
|
-
property :name, as: 'name'
|
152
|
-
property :spec, as: 'spec', class: Google::Apis::GkehubV2alpha::FeatureSpec, decorator: Google::Apis::GkehubV2alpha::FeatureSpec::Representation
|
153
|
-
|
154
|
-
property :state, as: 'state', class: Google::Apis::GkehubV2alpha::FeatureConfigState, decorator: Google::Apis::GkehubV2alpha::FeatureConfigState::Representation
|
155
|
-
|
156
|
-
property :unique_id, as: 'uniqueId'
|
157
|
-
property :update_time, as: 'updateTime'
|
158
|
-
end
|
159
|
-
end
|
160
|
-
|
161
|
-
class FeatureConfigRef
|
162
|
-
# @private
|
163
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
164
|
-
property :config, as: 'config'
|
165
|
-
property :config_update_time, as: 'configUpdateTime'
|
166
|
-
property :uuid, as: 'uuid'
|
167
|
-
end
|
168
|
-
end
|
169
|
-
|
170
|
-
class FeatureConfigState
|
171
|
-
# @private
|
172
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
173
|
-
property :state, as: 'state'
|
174
|
-
end
|
175
|
-
end
|
176
|
-
|
177
|
-
class FeatureSpec
|
178
|
-
# @private
|
179
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
180
|
-
end
|
181
|
-
end
|
182
|
-
|
183
|
-
class FeatureState
|
184
|
-
# @private
|
185
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
186
|
-
property :state, as: 'state', class: Google::Apis::GkehubV2alpha::State, decorator: Google::Apis::GkehubV2alpha::State::Representation
|
187
|
-
|
188
|
-
end
|
189
|
-
end
|
190
|
-
|
191
79
|
class GoogleRpcStatus
|
192
80
|
# @private
|
193
81
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -197,15 +85,6 @@ module Google
|
|
197
85
|
end
|
198
86
|
end
|
199
87
|
|
200
|
-
class ListFeatureConfigsResponse
|
201
|
-
# @private
|
202
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
203
|
-
collection :feature_configs, as: 'featureConfigs', class: Google::Apis::GkehubV2alpha::FeatureConfig, decorator: Google::Apis::GkehubV2alpha::FeatureConfig::Representation
|
204
|
-
|
205
|
-
property :next_page_token, as: 'nextPageToken'
|
206
|
-
end
|
207
|
-
end
|
208
|
-
|
209
88
|
class ListLocationsResponse
|
210
89
|
# @private
|
211
90
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -215,15 +94,6 @@ module Google
|
|
215
94
|
end
|
216
95
|
end
|
217
96
|
|
218
|
-
class ListMembershipFeaturesResponse
|
219
|
-
# @private
|
220
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
221
|
-
collection :membership_features, as: 'membershipFeatures', class: Google::Apis::GkehubV2alpha::MembershipFeature, decorator: Google::Apis::GkehubV2alpha::MembershipFeature::Representation
|
222
|
-
|
223
|
-
property :next_page_token, as: 'nextPageToken'
|
224
|
-
end
|
225
|
-
end
|
226
|
-
|
227
97
|
class ListOperationsResponse
|
228
98
|
# @private
|
229
99
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -244,25 +114,6 @@ module Google
|
|
244
114
|
end
|
245
115
|
end
|
246
116
|
|
247
|
-
class MembershipFeature
|
248
|
-
# @private
|
249
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
250
|
-
property :create_time, as: 'createTime'
|
251
|
-
property :delete_time, as: 'deleteTime'
|
252
|
-
property :feature_config_ref, as: 'featureConfigRef', class: Google::Apis::GkehubV2alpha::FeatureConfigRef, decorator: Google::Apis::GkehubV2alpha::FeatureConfigRef::Representation
|
253
|
-
|
254
|
-
hash :labels, as: 'labels'
|
255
|
-
property :name, as: 'name'
|
256
|
-
property :resource_state, as: 'resourceState', class: Google::Apis::GkehubV2alpha::ResourceState, decorator: Google::Apis::GkehubV2alpha::ResourceState::Representation
|
257
|
-
|
258
|
-
property :spec, as: 'spec', class: Google::Apis::GkehubV2alpha::FeatureSpec, decorator: Google::Apis::GkehubV2alpha::FeatureSpec::Representation
|
259
|
-
|
260
|
-
property :state, as: 'state', class: Google::Apis::GkehubV2alpha::FeatureState, decorator: Google::Apis::GkehubV2alpha::FeatureState::Representation
|
261
|
-
|
262
|
-
property :update_time, as: 'updateTime'
|
263
|
-
end
|
264
|
-
end
|
265
|
-
|
266
117
|
class Operation
|
267
118
|
# @private
|
268
119
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -274,35 +125,6 @@ module Google
|
|
274
125
|
hash :response, as: 'response'
|
275
126
|
end
|
276
127
|
end
|
277
|
-
|
278
|
-
class OperationMetadata
|
279
|
-
# @private
|
280
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
281
|
-
property :api_version, as: 'apiVersion'
|
282
|
-
property :cancel_requested, as: 'cancelRequested'
|
283
|
-
property :create_time, as: 'createTime'
|
284
|
-
property :end_time, as: 'endTime'
|
285
|
-
property :status_detail, as: 'statusDetail'
|
286
|
-
property :target, as: 'target'
|
287
|
-
property :verb, as: 'verb'
|
288
|
-
end
|
289
|
-
end
|
290
|
-
|
291
|
-
class ResourceState
|
292
|
-
# @private
|
293
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
294
|
-
property :state, as: 'state'
|
295
|
-
end
|
296
|
-
end
|
297
|
-
|
298
|
-
class State
|
299
|
-
# @private
|
300
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
301
|
-
property :code, as: 'code'
|
302
|
-
property :description, as: 'description'
|
303
|
-
property :update_time, as: 'updateTime'
|
304
|
-
end
|
305
|
-
end
|
306
128
|
end
|
307
129
|
end
|
308
130
|
end
|
@@ -122,357 +122,6 @@ module Google
|
|
122
122
|
execute_or_queue_command(command, &block)
|
123
123
|
end
|
124
124
|
|
125
|
-
# Creates FeatureConfig under a given parent.
|
126
|
-
# @param [String] parent
|
127
|
-
# Required. The name of parent where the FeatureConfig will be created.
|
128
|
-
# Specified in the format `projects/`project`/locations/global/featureConfigs/`
|
129
|
-
# feature_type`/`feature_config`/`.
|
130
|
-
# @param [Google::Apis::GkehubV2alpha::FeatureConfig] feature_config_object
|
131
|
-
# @param [String] feature_config_id
|
132
|
-
# The ID of the feature config to create.
|
133
|
-
# @param [String] request_id
|
134
|
-
# Idempotent request UUID.
|
135
|
-
# @param [String] fields
|
136
|
-
# Selector specifying which fields to include in a partial response.
|
137
|
-
# @param [String] quota_user
|
138
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
139
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
140
|
-
# @param [Google::Apis::RequestOptions] options
|
141
|
-
# Request-specific options
|
142
|
-
#
|
143
|
-
# @yield [result, err] Result & error if block supplied
|
144
|
-
# @yieldparam result [Google::Apis::GkehubV2alpha::Operation] parsed result object
|
145
|
-
# @yieldparam err [StandardError] error object if request failed
|
146
|
-
#
|
147
|
-
# @return [Google::Apis::GkehubV2alpha::Operation]
|
148
|
-
#
|
149
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
150
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
151
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
152
|
-
def create_project_location_feature_config(parent, feature_config_object = nil, feature_config_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
153
|
-
command = make_simple_command(:post, 'v2alpha/{+parent}/featureConfigs', options)
|
154
|
-
command.request_representation = Google::Apis::GkehubV2alpha::FeatureConfig::Representation
|
155
|
-
command.request_object = feature_config_object
|
156
|
-
command.response_representation = Google::Apis::GkehubV2alpha::Operation::Representation
|
157
|
-
command.response_class = Google::Apis::GkehubV2alpha::Operation
|
158
|
-
command.params['parent'] = parent unless parent.nil?
|
159
|
-
command.query['featureConfigId'] = feature_config_id unless feature_config_id.nil?
|
160
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
161
|
-
command.query['fields'] = fields unless fields.nil?
|
162
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
163
|
-
execute_or_queue_command(command, &block)
|
164
|
-
end
|
165
|
-
|
166
|
-
# Removes a FeatureConfig.
|
167
|
-
# @param [String] name
|
168
|
-
# Required. The name of the membershipFeature to be deleted. Specified in the
|
169
|
-
# format `projects/*/locations/*/featureConfigs/**`.
|
170
|
-
# @param [String] request_id
|
171
|
-
# Idempotent request UUID.
|
172
|
-
# @param [String] fields
|
173
|
-
# Selector specifying which fields to include in a partial response.
|
174
|
-
# @param [String] quota_user
|
175
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
176
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
177
|
-
# @param [Google::Apis::RequestOptions] options
|
178
|
-
# Request-specific options
|
179
|
-
#
|
180
|
-
# @yield [result, err] Result & error if block supplied
|
181
|
-
# @yieldparam result [Google::Apis::GkehubV2alpha::Operation] parsed result object
|
182
|
-
# @yieldparam err [StandardError] error object if request failed
|
183
|
-
#
|
184
|
-
# @return [Google::Apis::GkehubV2alpha::Operation]
|
185
|
-
#
|
186
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
187
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
188
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
189
|
-
def delete_project_location_feature_config(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
190
|
-
command = make_simple_command(:delete, 'v2alpha/{+name}', options)
|
191
|
-
command.response_representation = Google::Apis::GkehubV2alpha::Operation::Representation
|
192
|
-
command.response_class = Google::Apis::GkehubV2alpha::Operation
|
193
|
-
command.params['name'] = name unless name.nil?
|
194
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
195
|
-
command.query['fields'] = fields unless fields.nil?
|
196
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
197
|
-
execute_or_queue_command(command, &block)
|
198
|
-
end
|
199
|
-
|
200
|
-
# ========= FeatureConfig Services ========= Gets details of a featureConfig.
|
201
|
-
# @param [String] name
|
202
|
-
# Required. The FeatureConfig resource name in the format `projects/*/locations/*
|
203
|
-
# /featureConfigs/**`.
|
204
|
-
# @param [String] fields
|
205
|
-
# Selector specifying which fields to include in a partial response.
|
206
|
-
# @param [String] quota_user
|
207
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
208
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
209
|
-
# @param [Google::Apis::RequestOptions] options
|
210
|
-
# Request-specific options
|
211
|
-
#
|
212
|
-
# @yield [result, err] Result & error if block supplied
|
213
|
-
# @yieldparam result [Google::Apis::GkehubV2alpha::FeatureConfig] parsed result object
|
214
|
-
# @yieldparam err [StandardError] error object if request failed
|
215
|
-
#
|
216
|
-
# @return [Google::Apis::GkehubV2alpha::FeatureConfig]
|
217
|
-
#
|
218
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
219
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
220
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
221
|
-
def get_project_location_feature_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
222
|
-
command = make_simple_command(:get, 'v2alpha/{+name}', options)
|
223
|
-
command.response_representation = Google::Apis::GkehubV2alpha::FeatureConfig::Representation
|
224
|
-
command.response_class = Google::Apis::GkehubV2alpha::FeatureConfig
|
225
|
-
command.params['name'] = name unless name.nil?
|
226
|
-
command.query['fields'] = fields unless fields.nil?
|
227
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
228
|
-
execute_or_queue_command(command, &block)
|
229
|
-
end
|
230
|
-
|
231
|
-
# Lists all FeatureConfigs in a given project and location.
|
232
|
-
# @param [String] parent
|
233
|
-
# Required. The parent where the FeatureConfigs will be listed. In the format: `
|
234
|
-
# projects/*/locations/*`.
|
235
|
-
# @param [String] filter
|
236
|
-
# Lists FeatureConfigs that match the filter expression, following the syntax
|
237
|
-
# outlined in https://google.aip.dev/160.
|
238
|
-
# @param [String] order_by
|
239
|
-
# One or more fields to compare and use to sort the output. See https://google.
|
240
|
-
# aip.dev/132#ordering.
|
241
|
-
# @param [Fixnum] page_size
|
242
|
-
# When requesting a 'page' of resources, `page_size` specifies number of
|
243
|
-
# resources to return. If unspecified or set to 0, all resources will be
|
244
|
-
# returned.
|
245
|
-
# @param [String] page_token
|
246
|
-
# Token returned by previous call to `ListFeatures` which specifies the position
|
247
|
-
# in the list from where to continue listing the resources.
|
248
|
-
# @param [String] fields
|
249
|
-
# Selector specifying which fields to include in a partial response.
|
250
|
-
# @param [String] quota_user
|
251
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
252
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
253
|
-
# @param [Google::Apis::RequestOptions] options
|
254
|
-
# Request-specific options
|
255
|
-
#
|
256
|
-
# @yield [result, err] Result & error if block supplied
|
257
|
-
# @yieldparam result [Google::Apis::GkehubV2alpha::ListFeatureConfigsResponse] parsed result object
|
258
|
-
# @yieldparam err [StandardError] error object if request failed
|
259
|
-
#
|
260
|
-
# @return [Google::Apis::GkehubV2alpha::ListFeatureConfigsResponse]
|
261
|
-
#
|
262
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
263
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
264
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
265
|
-
def list_project_location_feature_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
266
|
-
command = make_simple_command(:get, 'v2alpha/{+parent}/featureConfigs', options)
|
267
|
-
command.response_representation = Google::Apis::GkehubV2alpha::ListFeatureConfigsResponse::Representation
|
268
|
-
command.response_class = Google::Apis::GkehubV2alpha::ListFeatureConfigsResponse
|
269
|
-
command.params['parent'] = parent unless parent.nil?
|
270
|
-
command.query['filter'] = filter unless filter.nil?
|
271
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
272
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
273
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
274
|
-
command.query['fields'] = fields unless fields.nil?
|
275
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
276
|
-
execute_or_queue_command(command, &block)
|
277
|
-
end
|
278
|
-
|
279
|
-
# Creates membershipFeature under a given parent.
|
280
|
-
# @param [String] parent
|
281
|
-
# Required. The name of parent where the MembershipFeature will be created.
|
282
|
-
# Specified in the format `projects/*/locations/*/memberships/*/features/*`.
|
283
|
-
# @param [Google::Apis::GkehubV2alpha::MembershipFeature] membership_feature_object
|
284
|
-
# @param [String] request_id
|
285
|
-
# Idempotent request UUID.
|
286
|
-
# @param [String] fields
|
287
|
-
# Selector specifying which fields to include in a partial response.
|
288
|
-
# @param [String] quota_user
|
289
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
290
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
291
|
-
# @param [Google::Apis::RequestOptions] options
|
292
|
-
# Request-specific options
|
293
|
-
#
|
294
|
-
# @yield [result, err] Result & error if block supplied
|
295
|
-
# @yieldparam result [Google::Apis::GkehubV2alpha::Operation] parsed result object
|
296
|
-
# @yieldparam err [StandardError] error object if request failed
|
297
|
-
#
|
298
|
-
# @return [Google::Apis::GkehubV2alpha::Operation]
|
299
|
-
#
|
300
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
301
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
302
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
303
|
-
def create_project_location_membership_feature(parent, membership_feature_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
304
|
-
command = make_simple_command(:post, 'v2alpha/{+parent}/features', options)
|
305
|
-
command.request_representation = Google::Apis::GkehubV2alpha::MembershipFeature::Representation
|
306
|
-
command.request_object = membership_feature_object
|
307
|
-
command.response_representation = Google::Apis::GkehubV2alpha::Operation::Representation
|
308
|
-
command.response_class = Google::Apis::GkehubV2alpha::Operation
|
309
|
-
command.params['parent'] = parent unless parent.nil?
|
310
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
311
|
-
command.query['fields'] = fields unless fields.nil?
|
312
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
313
|
-
execute_or_queue_command(command, &block)
|
314
|
-
end
|
315
|
-
|
316
|
-
# Removes a membershipFeature.
|
317
|
-
# @param [String] name
|
318
|
-
# Required. The name of the membershipFeature to be deleted. Specified in the
|
319
|
-
# format `projects/*/locations/*/memberships/*/features/*`.
|
320
|
-
# @param [String] request_id
|
321
|
-
# Idempotent request UUID.
|
322
|
-
# @param [String] fields
|
323
|
-
# Selector specifying which fields to include in a partial response.
|
324
|
-
# @param [String] quota_user
|
325
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
326
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
327
|
-
# @param [Google::Apis::RequestOptions] options
|
328
|
-
# Request-specific options
|
329
|
-
#
|
330
|
-
# @yield [result, err] Result & error if block supplied
|
331
|
-
# @yieldparam result [Google::Apis::GkehubV2alpha::Operation] parsed result object
|
332
|
-
# @yieldparam err [StandardError] error object if request failed
|
333
|
-
#
|
334
|
-
# @return [Google::Apis::GkehubV2alpha::Operation]
|
335
|
-
#
|
336
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
337
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
338
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
339
|
-
def delete_project_location_membership_feature(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
340
|
-
command = make_simple_command(:delete, 'v2alpha/{+name}', options)
|
341
|
-
command.response_representation = Google::Apis::GkehubV2alpha::Operation::Representation
|
342
|
-
command.response_class = Google::Apis::GkehubV2alpha::Operation
|
343
|
-
command.params['name'] = name unless name.nil?
|
344
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
345
|
-
command.query['fields'] = fields unless fields.nil?
|
346
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
347
|
-
execute_or_queue_command(command, &block)
|
348
|
-
end
|
349
|
-
|
350
|
-
# ========= MembershipFeature Services ========= Gets details of a
|
351
|
-
# membershipFeature.
|
352
|
-
# @param [String] name
|
353
|
-
# Required. The MembershipFeature resource name in the format `projects/*/
|
354
|
-
# locations/*/memberships/*/features/*`.
|
355
|
-
# @param [String] fields
|
356
|
-
# Selector specifying which fields to include in a partial response.
|
357
|
-
# @param [String] quota_user
|
358
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
359
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
360
|
-
# @param [Google::Apis::RequestOptions] options
|
361
|
-
# Request-specific options
|
362
|
-
#
|
363
|
-
# @yield [result, err] Result & error if block supplied
|
364
|
-
# @yieldparam result [Google::Apis::GkehubV2alpha::MembershipFeature] parsed result object
|
365
|
-
# @yieldparam err [StandardError] error object if request failed
|
366
|
-
#
|
367
|
-
# @return [Google::Apis::GkehubV2alpha::MembershipFeature]
|
368
|
-
#
|
369
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
370
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
371
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
372
|
-
def get_project_location_membership_feature(name, fields: nil, quota_user: nil, options: nil, &block)
|
373
|
-
command = make_simple_command(:get, 'v2alpha/{+name}', options)
|
374
|
-
command.response_representation = Google::Apis::GkehubV2alpha::MembershipFeature::Representation
|
375
|
-
command.response_class = Google::Apis::GkehubV2alpha::MembershipFeature
|
376
|
-
command.params['name'] = name unless name.nil?
|
377
|
-
command.query['fields'] = fields unless fields.nil?
|
378
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
379
|
-
execute_or_queue_command(command, &block)
|
380
|
-
end
|
381
|
-
|
382
|
-
# Lists MembershipFeatures in a given project and location.
|
383
|
-
# @param [String] parent
|
384
|
-
# Required. The parent where the MembershipFeature will be listed. In the format:
|
385
|
-
# `projects/*/locations/*/memberships/*`.
|
386
|
-
# @param [String] filter
|
387
|
-
# Lists MembershipFeatures that match the filter expression, following the
|
388
|
-
# syntax outlined in https://google.aip.dev/160. Examples: - Feature with the
|
389
|
-
# name "helloworld" in project "foo-proj" and membership "member-bar": name = "
|
390
|
-
# projects/foo-proj/locations/global/memberships/member-bar/features/helloworld"
|
391
|
-
# - Features that have a label called `foo`: labels.foo:* - Features that have a
|
392
|
-
# label called `foo` whose value is `bar`: labels.foo = bar
|
393
|
-
# @param [String] order_by
|
394
|
-
# One or more fields to compare and use to sort the output. See https://google.
|
395
|
-
# aip.dev/132#ordering.
|
396
|
-
# @param [Fixnum] page_size
|
397
|
-
# When requesting a 'page' of resources, `page_size` specifies number of
|
398
|
-
# resources to return. If unspecified or set to 0, all resources will be
|
399
|
-
# returned.
|
400
|
-
# @param [String] page_token
|
401
|
-
# Token returned by previous call to `ListFeatures` which specifies the position
|
402
|
-
# in the list from where to continue listing the resources.
|
403
|
-
# @param [String] fields
|
404
|
-
# Selector specifying which fields to include in a partial response.
|
405
|
-
# @param [String] quota_user
|
406
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
407
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
408
|
-
# @param [Google::Apis::RequestOptions] options
|
409
|
-
# Request-specific options
|
410
|
-
#
|
411
|
-
# @yield [result, err] Result & error if block supplied
|
412
|
-
# @yieldparam result [Google::Apis::GkehubV2alpha::ListMembershipFeaturesResponse] parsed result object
|
413
|
-
# @yieldparam err [StandardError] error object if request failed
|
414
|
-
#
|
415
|
-
# @return [Google::Apis::GkehubV2alpha::ListMembershipFeaturesResponse]
|
416
|
-
#
|
417
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
418
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
419
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
420
|
-
def list_project_location_membership_features(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
421
|
-
command = make_simple_command(:get, 'v2alpha/{+parent}/features', options)
|
422
|
-
command.response_representation = Google::Apis::GkehubV2alpha::ListMembershipFeaturesResponse::Representation
|
423
|
-
command.response_class = Google::Apis::GkehubV2alpha::ListMembershipFeaturesResponse
|
424
|
-
command.params['parent'] = parent unless parent.nil?
|
425
|
-
command.query['filter'] = filter unless filter.nil?
|
426
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
427
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
428
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
429
|
-
command.query['fields'] = fields unless fields.nil?
|
430
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
431
|
-
execute_or_queue_command(command, &block)
|
432
|
-
end
|
433
|
-
|
434
|
-
# Updates an existing MembershipFeature.
|
435
|
-
# @param [String] name
|
436
|
-
# Output only. The resource name of the membershipFeature, in the format: `
|
437
|
-
# projects/`project`/locations/`location`/memberships/`membership`/features/`
|
438
|
-
# feature``. Note that `membershipFeatures` is shortened to `features` in the
|
439
|
-
# resource name. (see http://go/aip/122#collection-identifiers)
|
440
|
-
# @param [Google::Apis::GkehubV2alpha::MembershipFeature] membership_feature_object
|
441
|
-
# @param [String] request_id
|
442
|
-
# Idempotent request UUID.
|
443
|
-
# @param [String] update_mask
|
444
|
-
# Required. Mask of fields to update.
|
445
|
-
# @param [String] fields
|
446
|
-
# Selector specifying which fields to include in a partial response.
|
447
|
-
# @param [String] quota_user
|
448
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
449
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
450
|
-
# @param [Google::Apis::RequestOptions] options
|
451
|
-
# Request-specific options
|
452
|
-
#
|
453
|
-
# @yield [result, err] Result & error if block supplied
|
454
|
-
# @yieldparam result [Google::Apis::GkehubV2alpha::Operation] parsed result object
|
455
|
-
# @yieldparam err [StandardError] error object if request failed
|
456
|
-
#
|
457
|
-
# @return [Google::Apis::GkehubV2alpha::Operation]
|
458
|
-
#
|
459
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
460
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
461
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
462
|
-
def patch_project_location_membership_feature(name, membership_feature_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
463
|
-
command = make_simple_command(:patch, 'v2alpha/{+name}', options)
|
464
|
-
command.request_representation = Google::Apis::GkehubV2alpha::MembershipFeature::Representation
|
465
|
-
command.request_object = membership_feature_object
|
466
|
-
command.response_representation = Google::Apis::GkehubV2alpha::Operation::Representation
|
467
|
-
command.response_class = Google::Apis::GkehubV2alpha::Operation
|
468
|
-
command.params['name'] = name unless name.nil?
|
469
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
470
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
471
|
-
command.query['fields'] = fields unless fields.nil?
|
472
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
473
|
-
execute_or_queue_command(command, &block)
|
474
|
-
end
|
475
|
-
|
476
125
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
477
126
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
478
127
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v2alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.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-
|
11
|
+
date: 2022-03-14 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_v2alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v2alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v2alpha/v0.2.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v2alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|