google-apis-gkehub_v2alpha 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,642 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module GkehubV2alpha
24
+
25
+ # The request message for Operations.CancelOperation.
26
+ class CancelOperationRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ def initialize(**args)
30
+ update!(**args)
31
+ end
32
+
33
+ # Update properties of this object
34
+ def update!(**args)
35
+ end
36
+ end
37
+
38
+ # A generic empty message that you can re-use to avoid defining duplicated empty
39
+ # messages in your APIs. A typical example is to use it as the request or the
40
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
41
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
42
+ # `Empty` is empty JSON object ````.
43
+ class Empty
44
+ include Google::Apis::Core::Hashable
45
+
46
+ def initialize(**args)
47
+ update!(**args)
48
+ end
49
+
50
+ # Update properties of this object
51
+ def update!(**args)
52
+ end
53
+ end
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
+ # The `Status` type defines a logical error model that is suitable for different
205
+ # programming environments, including REST APIs and RPC APIs. It is used by [
206
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
207
+ # data: error code, error message, and error details. You can find out more
208
+ # about this error model and how to work with it in the [API Design Guide](https:
209
+ # //cloud.google.com/apis/design/errors).
210
+ class GoogleRpcStatus
211
+ include Google::Apis::Core::Hashable
212
+
213
+ # The status code, which should be an enum value of google.rpc.Code.
214
+ # Corresponds to the JSON property `code`
215
+ # @return [Fixnum]
216
+ attr_accessor :code
217
+
218
+ # A list of messages that carry the error details. There is a common set of
219
+ # message types for APIs to use.
220
+ # Corresponds to the JSON property `details`
221
+ # @return [Array<Hash<String,Object>>]
222
+ attr_accessor :details
223
+
224
+ # A developer-facing error message, which should be in English. Any user-facing
225
+ # error message should be localized and sent in the google.rpc.Status.details
226
+ # field, or localized by the client.
227
+ # Corresponds to the JSON property `message`
228
+ # @return [String]
229
+ attr_accessor :message
230
+
231
+ def initialize(**args)
232
+ update!(**args)
233
+ end
234
+
235
+ # Update properties of this object
236
+ def update!(**args)
237
+ @code = args[:code] if args.key?(:code)
238
+ @details = args[:details] if args.key?(:details)
239
+ @message = args[:message] if args.key?(:message)
240
+ end
241
+ end
242
+
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
+ # The response message for Locations.ListLocations.
271
+ class ListLocationsResponse
272
+ include Google::Apis::Core::Hashable
273
+
274
+ # A list of locations that matches the specified filter in the request.
275
+ # Corresponds to the JSON property `locations`
276
+ # @return [Array<Google::Apis::GkehubV2alpha::Location>]
277
+ attr_accessor :locations
278
+
279
+ # The standard List next-page token.
280
+ # Corresponds to the JSON property `nextPageToken`
281
+ # @return [String]
282
+ attr_accessor :next_page_token
283
+
284
+ def initialize(**args)
285
+ update!(**args)
286
+ end
287
+
288
+ # Update properties of this object
289
+ def update!(**args)
290
+ @locations = args[:locations] if args.key?(:locations)
291
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
292
+ end
293
+ end
294
+
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
+ # The response message for Operations.ListOperations.
323
+ class ListOperationsResponse
324
+ include Google::Apis::Core::Hashable
325
+
326
+ # The standard List next-page token.
327
+ # Corresponds to the JSON property `nextPageToken`
328
+ # @return [String]
329
+ attr_accessor :next_page_token
330
+
331
+ # A list of operations that matches the specified filter in the request.
332
+ # Corresponds to the JSON property `operations`
333
+ # @return [Array<Google::Apis::GkehubV2alpha::Operation>]
334
+ attr_accessor :operations
335
+
336
+ def initialize(**args)
337
+ update!(**args)
338
+ end
339
+
340
+ # Update properties of this object
341
+ def update!(**args)
342
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
343
+ @operations = args[:operations] if args.key?(:operations)
344
+ end
345
+ end
346
+
347
+ # A resource that represents Google Cloud Platform location.
348
+ class Location
349
+ include Google::Apis::Core::Hashable
350
+
351
+ # The friendly name for this location, typically a nearby city name. For example,
352
+ # "Tokyo".
353
+ # Corresponds to the JSON property `displayName`
354
+ # @return [String]
355
+ attr_accessor :display_name
356
+
357
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
358
+ # region": "us-east1"`
359
+ # Corresponds to the JSON property `labels`
360
+ # @return [Hash<String,String>]
361
+ attr_accessor :labels
362
+
363
+ # The canonical id for this location. For example: `"us-east1"`.
364
+ # Corresponds to the JSON property `locationId`
365
+ # @return [String]
366
+ attr_accessor :location_id
367
+
368
+ # Service-specific metadata. For example the available capacity at the given
369
+ # location.
370
+ # Corresponds to the JSON property `metadata`
371
+ # @return [Hash<String,Object>]
372
+ attr_accessor :metadata
373
+
374
+ # Resource name for the location, which may vary between implementations. For
375
+ # example: `"projects/example-project/locations/us-east1"`
376
+ # Corresponds to the JSON property `name`
377
+ # @return [String]
378
+ attr_accessor :name
379
+
380
+ def initialize(**args)
381
+ update!(**args)
382
+ end
383
+
384
+ # Update properties of this object
385
+ def update!(**args)
386
+ @display_name = args[:display_name] if args.key?(:display_name)
387
+ @labels = args[:labels] if args.key?(:labels)
388
+ @location_id = args[:location_id] if args.key?(:location_id)
389
+ @metadata = args[:metadata] if args.key?(:metadata)
390
+ @name = args[:name] if args.key?(:name)
391
+ end
392
+ end
393
+
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
+ # This resource represents a long-running operation that is the result of a
469
+ # network API call.
470
+ class Operation
471
+ include Google::Apis::Core::Hashable
472
+
473
+ # If the value is `false`, it means the operation is still in progress. If `true`
474
+ # , the operation is completed, and either `error` or `response` is available.
475
+ # Corresponds to the JSON property `done`
476
+ # @return [Boolean]
477
+ attr_accessor :done
478
+ alias_method :done?, :done
479
+
480
+ # The `Status` type defines a logical error model that is suitable for different
481
+ # programming environments, including REST APIs and RPC APIs. It is used by [
482
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
483
+ # data: error code, error message, and error details. You can find out more
484
+ # about this error model and how to work with it in the [API Design Guide](https:
485
+ # //cloud.google.com/apis/design/errors).
486
+ # Corresponds to the JSON property `error`
487
+ # @return [Google::Apis::GkehubV2alpha::GoogleRpcStatus]
488
+ attr_accessor :error
489
+
490
+ # Service-specific metadata associated with the operation. It typically contains
491
+ # progress information and common metadata such as create time. Some services
492
+ # might not provide such metadata. Any method that returns a long-running
493
+ # operation should document the metadata type, if any.
494
+ # Corresponds to the JSON property `metadata`
495
+ # @return [Hash<String,Object>]
496
+ attr_accessor :metadata
497
+
498
+ # The server-assigned name, which is only unique within the same service that
499
+ # originally returns it. If you use the default HTTP mapping, the `name` should
500
+ # be a resource name ending with `operations/`unique_id``.
501
+ # Corresponds to the JSON property `name`
502
+ # @return [String]
503
+ attr_accessor :name
504
+
505
+ # The normal response of the operation in case of success. If the original
506
+ # method returns no data on success, such as `Delete`, the response is `google.
507
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
508
+ # the response should be the resource. For other methods, the response should
509
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
510
+ # example, if the original method name is `TakeSnapshot()`, the inferred
511
+ # response type is `TakeSnapshotResponse`.
512
+ # Corresponds to the JSON property `response`
513
+ # @return [Hash<String,Object>]
514
+ attr_accessor :response
515
+
516
+ def initialize(**args)
517
+ update!(**args)
518
+ end
519
+
520
+ # Update properties of this object
521
+ def update!(**args)
522
+ @done = args[:done] if args.key?(:done)
523
+ @error = args[:error] if args.key?(:error)
524
+ @metadata = args[:metadata] if args.key?(:metadata)
525
+ @name = args[:name] if args.key?(:name)
526
+ @response = args[:response] if args.key?(:response)
527
+ end
528
+ 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
+ end
641
+ end
642
+ end
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module GkehubV2alpha
18
+ # Version of the google-apis-gkehub_v2alpha gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.4.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20220204"
26
+ end
27
+ end
28
+ end