google-apis-baremetalsolution_v1alpha1 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,126 +22,6 @@ module Google
22
22
  module Apis
23
23
  module BaremetalsolutionV1alpha1
24
24
 
25
- # Request for DisableInteractiveSerialConsole.
26
- class DisableInteractiveSerialConsoleRequest
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
- # Response for DisableInteractiveSerialConsole.
39
- class DisableInteractiveSerialConsoleResponse
40
- include Google::Apis::Core::Hashable
41
-
42
- def initialize(**args)
43
- update!(**args)
44
- end
45
-
46
- # Update properties of this object
47
- def update!(**args)
48
- end
49
- end
50
-
51
- # A generic empty message that you can re-use to avoid defining duplicated empty
52
- # messages in your APIs. A typical example is to use it as the request or the
53
- # response type of an API method. For instance: service Foo ` rpc Bar(google.
54
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
55
- # `Empty` is empty JSON object ````.
56
- class Empty
57
- include Google::Apis::Core::Hashable
58
-
59
- def initialize(**args)
60
- update!(**args)
61
- end
62
-
63
- # Update properties of this object
64
- def update!(**args)
65
- end
66
- end
67
-
68
- # Request for EnableInteractiveSerialConsole.
69
- class EnableInteractiveSerialConsoleRequest
70
- include Google::Apis::Core::Hashable
71
-
72
- def initialize(**args)
73
- update!(**args)
74
- end
75
-
76
- # Update properties of this object
77
- def update!(**args)
78
- end
79
- end
80
-
81
- # Response for EnableInteractiveSerialConsole.
82
- class EnableInteractiveSerialConsoleResponse
83
- include Google::Apis::Core::Hashable
84
-
85
- def initialize(**args)
86
- update!(**args)
87
- end
88
-
89
- # Update properties of this object
90
- def update!(**args)
91
- end
92
- end
93
-
94
- # An Instance.
95
- class Instance
96
- include Google::Apis::Core::Hashable
97
-
98
- # Is hyperthreading enabled for this instance?
99
- # Corresponds to the JSON property `hyperthreadingEnabled`
100
- # @return [Boolean]
101
- attr_accessor :hyperthreading_enabled
102
- alias_method :hyperthreading_enabled?, :hyperthreading_enabled
103
-
104
- # The Luns attached to this instance
105
- # Corresponds to the JSON property `luns`
106
- # @return [Array<Google::Apis::BaremetalsolutionV1alpha1::Lun>]
107
- attr_accessor :luns
108
-
109
- # Output only. The name of this Instance.
110
- # Corresponds to the JSON property `name`
111
- # @return [String]
112
- attr_accessor :name
113
-
114
- # The scheduled power reset time.
115
- # Corresponds to the JSON property `scheduledPowerResetTime`
116
- # @return [String]
117
- attr_accessor :scheduled_power_reset_time
118
-
119
- # Is SSH enabled for this instance?
120
- # Corresponds to the JSON property `sshEnabled`
121
- # @return [Boolean]
122
- attr_accessor :ssh_enabled
123
- alias_method :ssh_enabled?, :ssh_enabled
124
-
125
- # The state of this Instance.
126
- # Corresponds to the JSON property `state`
127
- # @return [String]
128
- attr_accessor :state
129
-
130
- def initialize(**args)
131
- update!(**args)
132
- end
133
-
134
- # Update properties of this object
135
- def update!(**args)
136
- @hyperthreading_enabled = args[:hyperthreading_enabled] if args.key?(:hyperthreading_enabled)
137
- @luns = args[:luns] if args.key?(:luns)
138
- @name = args[:name] if args.key?(:name)
139
- @scheduled_power_reset_time = args[:scheduled_power_reset_time] if args.key?(:scheduled_power_reset_time)
140
- @ssh_enabled = args[:ssh_enabled] if args.key?(:ssh_enabled)
141
- @state = args[:state] if args.key?(:state)
142
- end
143
- end
144
-
145
25
  # Configuration parameters for a new instance.
146
26
  class InstanceConfig
147
27
  include Google::Apis::Core::Hashable
@@ -238,58 +118,6 @@ module Google
238
118
  end
239
119
  end
240
120
 
241
- # Response for ListInstances.
242
- class ListInstancesResponse
243
- include Google::Apis::Core::Hashable
244
-
245
- # The Instances in this project.
246
- # Corresponds to the JSON property `instances`
247
- # @return [Array<Google::Apis::BaremetalsolutionV1alpha1::Instance>]
248
- attr_accessor :instances
249
-
250
- # Token to retrieve the next page of results, or empty if there are no more
251
- # results in the list.
252
- # Corresponds to the JSON property `nextPageToken`
253
- # @return [String]
254
- attr_accessor :next_page_token
255
-
256
- def initialize(**args)
257
- update!(**args)
258
- end
259
-
260
- # Update properties of this object
261
- def update!(**args)
262
- @instances = args[:instances] if args.key?(:instances)
263
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
264
- end
265
- end
266
-
267
- # Response for ListLuns.
268
- class ListLunsResponse
269
- include Google::Apis::Core::Hashable
270
-
271
- # The Luns in this project.
272
- # Corresponds to the JSON property `luns`
273
- # @return [Array<Google::Apis::BaremetalsolutionV1alpha1::Lun>]
274
- attr_accessor :luns
275
-
276
- # Token to retrieve the next page of results, or empty if there are no more
277
- # results in the list.
278
- # Corresponds to the JSON property `nextPageToken`
279
- # @return [String]
280
- attr_accessor :next_page_token
281
-
282
- def initialize(**args)
283
- update!(**args)
284
- end
285
-
286
- # Update properties of this object
287
- def update!(**args)
288
- @luns = args[:luns] if args.key?(:luns)
289
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
290
- end
291
- end
292
-
293
121
  # Response for ListProvisioningQuotas.
294
122
  class ListProvisioningQuotasResponse
295
123
  include Google::Apis::Core::Hashable
@@ -316,179 +144,6 @@ module Google
316
144
  end
317
145
  end
318
146
 
319
- # Response for ListSSHKeys.
320
- class ListSshKeysResponse
321
- include Google::Apis::Core::Hashable
322
-
323
- # Token to retrieve the next page of results, or empty if there are no more
324
- # results in the list.
325
- # Corresponds to the JSON property `nextPageToken`
326
- # @return [String]
327
- attr_accessor :next_page_token
328
-
329
- # The SSH keys registered in this project.
330
- # Corresponds to the JSON property `sshKeys`
331
- # @return [Array<Google::Apis::BaremetalsolutionV1alpha1::SshKey>]
332
- attr_accessor :ssh_keys
333
-
334
- def initialize(**args)
335
- update!(**args)
336
- end
337
-
338
- # Update properties of this object
339
- def update!(**args)
340
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
341
- @ssh_keys = args[:ssh_keys] if args.key?(:ssh_keys)
342
- end
343
- end
344
-
345
- # Response for ListSnapshotSchedulePolicies.
346
- class ListSnapshotSchedulePoliciesResponse
347
- include Google::Apis::Core::Hashable
348
-
349
- # Token to retrieve the next page of results, or empty if there are no more
350
- # results in the list.
351
- # Corresponds to the JSON property `nextPageToken`
352
- # @return [String]
353
- attr_accessor :next_page_token
354
-
355
- # The snapshot schedule policies registered in this project.
356
- # Corresponds to the JSON property `snapshotSchedulePolicies`
357
- # @return [Array<Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy>]
358
- attr_accessor :snapshot_schedule_policies
359
-
360
- def initialize(**args)
361
- update!(**args)
362
- end
363
-
364
- # Update properties of this object
365
- def update!(**args)
366
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
367
- @snapshot_schedule_policies = args[:snapshot_schedule_policies] if args.key?(:snapshot_schedule_policies)
368
- end
369
- end
370
-
371
- # Response for ListVolumeSnapshots.
372
- class ListVolumeSnapshotsResponse
373
- include Google::Apis::Core::Hashable
374
-
375
- # Token to retrieve the next page of results, or empty if there are no more
376
- # results in the list.
377
- # Corresponds to the JSON property `nextPageToken`
378
- # @return [String]
379
- attr_accessor :next_page_token
380
-
381
- # The VolumeSnapshots for the volume.
382
- # Corresponds to the JSON property `volumeSnapshots`
383
- # @return [Array<Google::Apis::BaremetalsolutionV1alpha1::VolumeSnapshot>]
384
- attr_accessor :volume_snapshots
385
-
386
- def initialize(**args)
387
- update!(**args)
388
- end
389
-
390
- # Update properties of this object
391
- def update!(**args)
392
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
393
- @volume_snapshots = args[:volume_snapshots] if args.key?(:volume_snapshots)
394
- end
395
- end
396
-
397
- # Response for ListVolumes.
398
- class ListVolumesResponse
399
- include Google::Apis::Core::Hashable
400
-
401
- # Token to retrieve the next page of results, or empty if there are no more
402
- # results in the list.
403
- # Corresponds to the JSON property `nextPageToken`
404
- # @return [String]
405
- attr_accessor :next_page_token
406
-
407
- # The volumes registered in this project.
408
- # Corresponds to the JSON property `volumes`
409
- # @return [Array<Google::Apis::BaremetalsolutionV1alpha1::Volume>]
410
- attr_accessor :volumes
411
-
412
- def initialize(**args)
413
- update!(**args)
414
- end
415
-
416
- # Update properties of this object
417
- def update!(**args)
418
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
419
- @volumes = args[:volumes] if args.key?(:volumes)
420
- end
421
- end
422
-
423
- # A storage Lun.
424
- class Lun
425
- include Google::Apis::Core::Hashable
426
-
427
- # Whether this Lun is a boot Lun.
428
- # Corresponds to the JSON property `isBoot`
429
- # @return [Boolean]
430
- attr_accessor :is_boot
431
- alias_method :is_boot?, :is_boot
432
-
433
- # The multiprotocol type of this Lun.
434
- # Corresponds to the JSON property `multiprotocolType`
435
- # @return [String]
436
- attr_accessor :multiprotocol_type
437
-
438
- # Output only. The name of this Lun.
439
- # Corresponds to the JSON property `name`
440
- # @return [String]
441
- attr_accessor :name
442
-
443
- # Volume registered in the project.
444
- # Corresponds to the JSON property `remoteVolume`
445
- # @return [Google::Apis::BaremetalsolutionV1alpha1::Volume]
446
- attr_accessor :remote_volume
447
-
448
- # The serial number of this Lun
449
- # Corresponds to the JSON property `serialNumber`
450
- # @return [String]
451
- attr_accessor :serial_number
452
-
453
- # Whether this Lun is allowed to be shared between multiple physical servers.
454
- # Corresponds to the JSON property `shareable`
455
- # @return [Boolean]
456
- attr_accessor :shareable
457
- alias_method :shareable?, :shareable
458
-
459
- # The size of this Lun, in gigabytes.
460
- # Corresponds to the JSON property `sizeGb`
461
- # @return [Fixnum]
462
- attr_accessor :size_gb
463
-
464
- # The state of this Lun.
465
- # Corresponds to the JSON property `state`
466
- # @return [String]
467
- attr_accessor :state
468
-
469
- # World Wide IDentifier of this Lun
470
- # Corresponds to the JSON property `wwid`
471
- # @return [String]
472
- attr_accessor :wwid
473
-
474
- def initialize(**args)
475
- update!(**args)
476
- end
477
-
478
- # Update properties of this object
479
- def update!(**args)
480
- @is_boot = args[:is_boot] if args.key?(:is_boot)
481
- @multiprotocol_type = args[:multiprotocol_type] if args.key?(:multiprotocol_type)
482
- @name = args[:name] if args.key?(:name)
483
- @remote_volume = args[:remote_volume] if args.key?(:remote_volume)
484
- @serial_number = args[:serial_number] if args.key?(:serial_number)
485
- @shareable = args[:shareable] if args.key?(:shareable)
486
- @size_gb = args[:size_gb] if args.key?(:size_gb)
487
- @state = args[:state] if args.key?(:state)
488
- @wwid = args[:wwid] if args.key?(:wwid)
489
- end
490
- end
491
-
492
147
  # A LUN range.
493
148
  class LunRange
494
149
  include Google::Apis::Core::Hashable
@@ -717,208 +372,15 @@ module Google
717
372
  end
718
373
  end
719
374
 
720
- # Request for ResetInstance.
721
- class ResetInstanceRequest
722
- include Google::Apis::Core::Hashable
723
-
724
- def initialize(**args)
725
- update!(**args)
726
- end
727
-
728
- # Update properties of this object
729
- def update!(**args)
730
- end
731
- end
732
-
733
- # Response for ResetInstance.
734
- class ResetInstanceResponse
735
- include Google::Apis::Core::Hashable
736
-
737
- def initialize(**args)
738
- update!(**args)
739
- end
740
-
741
- # Update properties of this object
742
- def update!(**args)
743
- end
744
- end
745
-
746
- # Request for RestoreVolumeSnapshot.
747
- class RestoreVolumeSnapshotRequest
748
- include Google::Apis::Core::Hashable
749
-
750
- def initialize(**args)
751
- update!(**args)
752
- end
753
-
754
- # Update properties of this object
755
- def update!(**args)
756
- end
757
- end
758
-
759
- # A public SSH key registered in the project. Used primarily for the interactive
760
- # serial console feature.
761
- class SshKey
762
- include Google::Apis::Core::Hashable
763
-
764
- # Output only. The name of this SSH key.
765
- # Corresponds to the JSON property `name`
766
- # @return [String]
767
- attr_accessor :name
768
-
769
- # The public SSH key.
770
- # Corresponds to the JSON property `publicKey`
771
- # @return [String]
772
- attr_accessor :public_key
773
-
774
- def initialize(**args)
775
- update!(**args)
776
- end
777
-
778
- # Update properties of this object
779
- def update!(**args)
780
- @name = args[:name] if args.key?(:name)
781
- @public_key = args[:public_key] if args.key?(:public_key)
782
- end
783
- end
784
-
785
- # A snapshot schedule.
786
- class Schedule
787
- include Google::Apis::Core::Hashable
788
-
789
- # The crontab-like specification that this Schedule will use to take snapshots.
790
- # Corresponds to the JSON property `crontabSpec`
791
- # @return [String]
792
- attr_accessor :crontab_spec
793
-
794
- # A string to prefix names of snapshots created under this Schedule.
795
- # Corresponds to the JSON property `prefix`
796
- # @return [String]
797
- attr_accessor :prefix
798
-
799
- # The maximum number of snapshots to retain under this Schedule.
800
- # Corresponds to the JSON property `retentionCount`
801
- # @return [Fixnum]
802
- attr_accessor :retention_count
803
-
804
- def initialize(**args)
805
- update!(**args)
806
- end
807
-
808
- # Update properties of this object
809
- def update!(**args)
810
- @crontab_spec = args[:crontab_spec] if args.key?(:crontab_spec)
811
- @prefix = args[:prefix] if args.key?(:prefix)
812
- @retention_count = args[:retention_count] if args.key?(:retention_count)
813
- end
814
- end
815
-
816
- # Response for ReadSerialPortOutput.
817
- class SerialPortOutput
818
- include Google::Apis::Core::Hashable
819
-
820
- # The serial port output.
821
- # Corresponds to the JSON property `contents`
822
- # @return [String]
823
- attr_accessor :contents
824
-
825
- # The byte index to use in a subsequent call to ReadSerialPortOutput to get more
826
- # output.
827
- # Corresponds to the JSON property `nextStartByte`
828
- # @return [Fixnum]
829
- attr_accessor :next_start_byte
830
-
831
- # The start byte index of the included contents.
832
- # Corresponds to the JSON property `start`
833
- # @return [Fixnum]
834
- attr_accessor :start
835
-
836
- def initialize(**args)
837
- update!(**args)
838
- end
839
-
840
- # Update properties of this object
841
- def update!(**args)
842
- @contents = args[:contents] if args.key?(:contents)
843
- @next_start_byte = args[:next_start_byte] if args.key?(:next_start_byte)
844
- @start = args[:start] if args.key?(:start)
845
- end
846
- end
847
-
848
- # Request for SetVolumeSnapshotSchedulePolicy.
849
- class SetVolumeSnapshotSchedulePolicyRequest
850
- include Google::Apis::Core::Hashable
851
-
852
- # Required. The name of the policy to set on the volume.
853
- # Corresponds to the JSON property `snapshotSchedulePolicy`
854
- # @return [String]
855
- attr_accessor :snapshot_schedule_policy
856
-
857
- def initialize(**args)
858
- update!(**args)
859
- end
860
-
861
- # Update properties of this object
862
- def update!(**args)
863
- @snapshot_schedule_policy = args[:snapshot_schedule_policy] if args.key?(:snapshot_schedule_policy)
864
- end
865
- end
866
-
867
- # Response for SetVolumeSnapshotSchedulePolicy.
868
- class SetVolumeSnapshotSchedulePolicyResponse
869
- include Google::Apis::Core::Hashable
870
-
871
- def initialize(**args)
872
- update!(**args)
873
- end
874
-
875
- # Update properties of this object
876
- def update!(**args)
877
- end
878
- end
879
-
880
- # A snapshot schedule policy.
881
- class SnapshotSchedulePolicy
882
- include Google::Apis::Core::Hashable
883
-
884
- # The description of this SnapshotSchedulePolicy.
885
- # Corresponds to the JSON property `description`
886
- # @return [String]
887
- attr_accessor :description
888
-
889
- # Output only. The name of this SnapshotSchedulePolicy.
890
- # Corresponds to the JSON property `name`
891
- # @return [String]
892
- attr_accessor :name
893
-
894
- # The snapshot Schedules contained in this Policy. At most 5 Schedules may be
895
- # specified.
896
- # Corresponds to the JSON property `schedules`
897
- # @return [Array<Google::Apis::BaremetalsolutionV1alpha1::Schedule>]
898
- attr_accessor :schedules
899
-
900
- # The names of the Volumes this policy is associated with.
901
- # Corresponds to the JSON property `volumes`
902
- # @return [Array<String>]
903
- attr_accessor :volumes
904
-
905
- def initialize(**args)
906
- update!(**args)
907
- end
908
-
909
- # Update properties of this object
910
- def update!(**args)
911
- @description = args[:description] if args.key?(:description)
912
- @name = args[:name] if args.key?(:name)
913
- @schedules = args[:schedules] if args.key?(:schedules)
914
- @volumes = args[:volumes] if args.key?(:volumes)
915
- end
916
- end
917
-
918
375
  # Request for SubmitProvisioningConfig.
919
376
  class SubmitProvisioningConfigRequest
920
377
  include Google::Apis::Core::Hashable
921
378
 
379
+ # Optional. Email provided to send a confirmation with provisioning config to.
380
+ # Corresponds to the JSON property `email`
381
+ # @return [String]
382
+ attr_accessor :email
383
+
922
384
  # An provisioning configuration.
923
385
  # Corresponds to the JSON property `provisioningConfig`
924
386
  # @return [Google::Apis::BaremetalsolutionV1alpha1::ProvisioningConfig]
@@ -930,6 +392,7 @@ module Google
930
392
 
931
393
  # Update properties of this object
932
394
  def update!(**args)
395
+ @email = args[:email] if args.key?(:email)
933
396
  @provisioning_config = args[:provisioning_config] if args.key?(:provisioning_config)
934
397
  end
935
398
  end
@@ -959,91 +422,6 @@ module Google
959
422
  end
960
423
  end
961
424
 
962
- # Volume registered in the project.
963
- class Volume
964
- include Google::Apis::Core::Hashable
965
-
966
- # The size, in GB, that this Volume has expanded as a result of an auto grow
967
- # policy.
968
- # Corresponds to the JSON property `autoGrownSizeGb`
969
- # @return [Fixnum]
970
- attr_accessor :auto_grown_size_gb
971
-
972
- # The current size of this Volume, in GB, including space reserved for snapshots.
973
- # This size may be different than the requested size if the Volume has been
974
- # configured with auto grow or auto shrink.
975
- # Corresponds to the JSON property `currentSizeGb`
976
- # @return [Fixnum]
977
- attr_accessor :current_size_gb
978
-
979
- # Output only. The name of this Volume.
980
- # Corresponds to the JSON property `name`
981
- # @return [String]
982
- attr_accessor :name
983
-
984
- # The space remaining in the Volume for new LUNs, in GB, excluding space
985
- # reserved for snapshots.
986
- # Corresponds to the JSON property `remainingSpaceGb`
987
- # @return [Fixnum]
988
- attr_accessor :remaining_space_gb
989
-
990
- # The requested size of this Volume, in GB.
991
- # Corresponds to the JSON property `requestedSizeGb`
992
- # @return [Fixnum]
993
- attr_accessor :requested_size_gb
994
-
995
- # The behavior to use when snapshot reserved space is full.
996
- # Corresponds to the JSON property `snapshotAutoDeleteBehavior`
997
- # @return [String]
998
- attr_accessor :snapshot_auto_delete_behavior
999
-
1000
- # The percent of space on this Volume reserved for snapshots.
1001
- # Corresponds to the JSON property `snapshotReservedSpacePercent`
1002
- # @return [Fixnum]
1003
- attr_accessor :snapshot_reserved_space_percent
1004
-
1005
- # The amount, in GB, of space available in this Volume's reserved snapshot space.
1006
- # Corresponds to the JSON property `snapshotReservedSpaceRemainingGb`
1007
- # @return [Fixnum]
1008
- attr_accessor :snapshot_reserved_space_remaining_gb
1009
-
1010
- # The percent of reserved snapshot space on this Volume that is actually used by
1011
- # snapshot copies. This may be higher than 100% if snapshot copies are occupying
1012
- # more space than has been reserved on the Volume.
1013
- # Corresponds to the JSON property `snapshotReservedSpaceUsedPercent`
1014
- # @return [Fixnum]
1015
- attr_accessor :snapshot_reserved_space_used_percent
1016
-
1017
- # The state of this Volume.
1018
- # Corresponds to the JSON property `state`
1019
- # @return [String]
1020
- attr_accessor :state
1021
-
1022
- # The type of this Volume.
1023
- # Corresponds to the JSON property `type`
1024
- # @return [String]
1025
- attr_accessor :type
1026
-
1027
- def initialize(**args)
1028
- update!(**args)
1029
- end
1030
-
1031
- # Update properties of this object
1032
- def update!(**args)
1033
- @auto_grown_size_gb = args[:auto_grown_size_gb] if args.key?(:auto_grown_size_gb)
1034
- @current_size_gb = args[:current_size_gb] if args.key?(:current_size_gb)
1035
- @name = args[:name] if args.key?(:name)
1036
- @remaining_space_gb = args[:remaining_space_gb] if args.key?(:remaining_space_gb)
1037
- @requested_size_gb = args[:requested_size_gb] if args.key?(:requested_size_gb)
1038
- @snapshot_auto_delete_behavior = args[:snapshot_auto_delete_behavior] if args.key?(:snapshot_auto_delete_behavior)
1039
- @snapshot_reserved_space_percent = args[:snapshot_reserved_space_percent] if args.key?(:snapshot_reserved_space_percent)
1040
- @snapshot_reserved_space_remaining_gb = args[:snapshot_reserved_space_remaining_gb] if args.key?(:snapshot_reserved_space_remaining_gb)
1041
- @snapshot_reserved_space_used_percent = args[:snapshot_reserved_space_used_percent] if args.key?(:snapshot_reserved_space_used_percent)
1042
- @state = args[:state] if args.key?(:state)
1043
- @type = args[:type] if args.key?(:type)
1044
- end
1045
- end
1046
-
1047
425
  # Configuration parameters for a new volume.
1048
426
  class VolumeConfig
1049
427
  include Google::Apis::Core::Hashable
@@ -1120,49 +498,6 @@ module Google
1120
498
  @user_note = args[:user_note] if args.key?(:user_note)
1121
499
  end
1122
500
  end
1123
-
1124
- # VolumeSnapshot registered for given Volume
1125
- class VolumeSnapshot
1126
- include Google::Apis::Core::Hashable
1127
-
1128
- # The creation time of this Snapshot.
1129
- # Corresponds to the JSON property `creationTime`
1130
- # @return [String]
1131
- attr_accessor :creation_time
1132
-
1133
- # The description of this Snapshot.
1134
- # Corresponds to the JSON property `description`
1135
- # @return [String]
1136
- attr_accessor :description
1137
-
1138
- # Output only. The name of this Snapshot.
1139
- # Corresponds to the JSON property `name`
1140
- # @return [String]
1141
- attr_accessor :name
1142
-
1143
- # The real size of this Snapshot, in bytes.
1144
- # Corresponds to the JSON property `sizeBytes`
1145
- # @return [Fixnum]
1146
- attr_accessor :size_bytes
1147
-
1148
- # The state of this Snapshot.
1149
- # Corresponds to the JSON property `state`
1150
- # @return [String]
1151
- attr_accessor :state
1152
-
1153
- def initialize(**args)
1154
- update!(**args)
1155
- end
1156
-
1157
- # Update properties of this object
1158
- def update!(**args)
1159
- @creation_time = args[:creation_time] if args.key?(:creation_time)
1160
- @description = args[:description] if args.key?(:description)
1161
- @name = args[:name] if args.key?(:name)
1162
- @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
1163
- @state = args[:state] if args.key?(:state)
1164
- end
1165
- end
1166
501
  end
1167
502
  end
1168
503
  end