google-apis-vmwareengine_v1 0.8.0 → 0.9.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: 69cc879480b06f609678d470ed4b5ab2fb875b571820d5286ec9ef29a85bb246
4
- data.tar.gz: 6cbda6d8124dc625855dcf0d63aedeef0eefb0db2f6199e19974a328ea56764e
3
+ metadata.gz: 67cd228711a5895e861da17593670874708f288166181db8ef86fddc06c6143c
4
+ data.tar.gz: 20b4cb9a4e955d9fe40973f330eedb0d3a9b3d2871f0885a9f838628ab896a4c
5
5
  SHA512:
6
- metadata.gz: ca3ab1d50d1cb5234e553a56ef88faa71428275ba55cc6b1dc1f9cc34cccd7e88aa779392e306f0a1013e1e745a3a5abd0ed17da902427122c80827a97c55430
7
- data.tar.gz: d61befa786fdc2c5ec4824075fd5e0807a21f9681182a964627645122689c8176a0b5823be8058e767225c6bfe26c396ee28ed1dfa4f1fb46ec4b64da4c873bb
6
+ metadata.gz: 066c34862c1d53db7a177ce6b343034b419d07e5334fb3b3a565c71cef4490bc09ab86d65cb9a2c1fd6ced9dff4683fae319179534d61bd3b32817dda251ed44
7
+ data.tar.gz: a844f323d4c2c3a04b9cb6d1f25a1f53a71c693d34431b00450bc0ac2c21cdf00de80e441c4b9fb05a9b1614aa78d4d9dc011b3849903c64e0bd46b20d741557
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-vmwareengine_v1
2
2
 
3
+ ### v0.9.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250218
6
+ * Regenerated using generator version 0.16.0
7
+
3
8
  ### v0.8.0 (2024-10-27)
4
9
 
5
10
  * Regenerated from discovery document revision 20241009
@@ -22,6 +22,94 @@ module Google
22
22
  module Apis
23
23
  module VmwareengineV1
24
24
 
25
+ # Announcement for the resources of Vmware Engine.
26
+ class Announcement
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Optional. Activity type of the announcement There can be only one active
30
+ # announcement for a given activity type and target resource.
31
+ # Corresponds to the JSON property `activityType`
32
+ # @return [String]
33
+ attr_accessor :activity_type
34
+
35
+ # A Cluster resource name.
36
+ # Corresponds to the JSON property `cluster`
37
+ # @return [String]
38
+ attr_accessor :cluster
39
+
40
+ # Required. Code of the announcement. Indicates the presence of a VMware Engine
41
+ # related announcement and corresponds to a related message in the `description`
42
+ # field.
43
+ # Corresponds to the JSON property `code`
44
+ # @return [String]
45
+ attr_accessor :code
46
+
47
+ # Output only. Creation time of this resource. It also serves as start time of
48
+ # notification.
49
+ # Corresponds to the JSON property `createTime`
50
+ # @return [String]
51
+ attr_accessor :create_time
52
+
53
+ # Output only. Description of the announcement.
54
+ # Corresponds to the JSON property `description`
55
+ # @return [String]
56
+ attr_accessor :description
57
+
58
+ # Output only. Additional structured details about this announcement.
59
+ # Corresponds to the JSON property `metadata`
60
+ # @return [Hash<String,String>]
61
+ attr_accessor :metadata
62
+
63
+ # Output only. The resource name of the announcement. Resource names are
64
+ # schemeless URIs that follow the conventions in https://cloud.google.com/apis/
65
+ # design/resource_names. For example: `projects/my-project/locations/us-west1-a/
66
+ # announcements/my-announcement-id`
67
+ # Corresponds to the JSON property `name`
68
+ # @return [String]
69
+ attr_accessor :name
70
+
71
+ # A Private Cloud resource name.
72
+ # Corresponds to the JSON property `privateCloud`
73
+ # @return [String]
74
+ attr_accessor :private_cloud
75
+
76
+ # Output only. State of the resource. New values may be added to this enum when
77
+ # appropriate.
78
+ # Corresponds to the JSON property `state`
79
+ # @return [String]
80
+ attr_accessor :state
81
+
82
+ # Output only. Target Resource Type defines the type of the target for the
83
+ # announcement
84
+ # Corresponds to the JSON property `targetResourceType`
85
+ # @return [String]
86
+ attr_accessor :target_resource_type
87
+
88
+ # Output only. Last update time of this resource.
89
+ # Corresponds to the JSON property `updateTime`
90
+ # @return [String]
91
+ attr_accessor :update_time
92
+
93
+ def initialize(**args)
94
+ update!(**args)
95
+ end
96
+
97
+ # Update properties of this object
98
+ def update!(**args)
99
+ @activity_type = args[:activity_type] if args.key?(:activity_type)
100
+ @cluster = args[:cluster] if args.key?(:cluster)
101
+ @code = args[:code] if args.key?(:code)
102
+ @create_time = args[:create_time] if args.key?(:create_time)
103
+ @description = args[:description] if args.key?(:description)
104
+ @metadata = args[:metadata] if args.key?(:metadata)
105
+ @name = args[:name] if args.key?(:name)
106
+ @private_cloud = args[:private_cloud] if args.key?(:private_cloud)
107
+ @state = args[:state] if args.key?(:state)
108
+ @target_resource_type = args[:target_resource_type] if args.key?(:target_resource_type)
109
+ @update_time = args[:update_time] if args.key?(:update_time)
110
+ end
111
+ end
112
+
25
113
  # Specifies the audit configuration for a service. The configuration determines
26
114
  # which permission types are logged, and what identities, if any, are exempted
27
115
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -377,6 +465,45 @@ module Google
377
465
  end
378
466
  end
379
467
 
468
+ # Constraints to be applied while editing a schedule. These constraints ensure
469
+ # that `Upgrade` specific requirements are met.
470
+ class Constraints
471
+ include Google::Apis::Core::Hashable
472
+
473
+ # Output only. Minimum number of hours must be allotted for the upgrade
474
+ # activities for each selected day. This is a minimum; the upgrade schedule can
475
+ # allot more hours for the given day.
476
+ # Corresponds to the JSON property `minHoursDay`
477
+ # @return [Fixnum]
478
+ attr_accessor :min_hours_day
479
+
480
+ # Output only. The minimum number of weekly hours must be allotted for the
481
+ # upgrade activities. This is just a minimum; the schedule can assign more
482
+ # weekly hours.
483
+ # Corresponds to the JSON property `minHoursWeek`
484
+ # @return [Fixnum]
485
+ attr_accessor :min_hours_week
486
+
487
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
488
+ # Timestamp end (exclusive). The start must be less than or equal to the end.
489
+ # When the start equals the end, the interval is empty (matches no time). When
490
+ # both start and end are unspecified, the interval matches any time.
491
+ # Corresponds to the JSON property `rescheduleDateRange`
492
+ # @return [Google::Apis::VmwareengineV1::Interval]
493
+ attr_accessor :reschedule_date_range
494
+
495
+ def initialize(**args)
496
+ update!(**args)
497
+ end
498
+
499
+ # Update properties of this object
500
+ def update!(**args)
501
+ @min_hours_day = args[:min_hours_day] if args.key?(:min_hours_day)
502
+ @min_hours_week = args[:min_hours_week] if args.key?(:min_hours_week)
503
+ @reschedule_date_range = args[:reschedule_date_range] if args.key?(:reschedule_date_range)
504
+ end
505
+ end
506
+
380
507
  # Credentials for a private cloud.
381
508
  class Credentials
382
509
  include Google::Apis::Core::Hashable
@@ -904,6 +1031,36 @@ module Google
904
1031
  end
905
1032
  end
906
1033
 
1034
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
1035
+ # Timestamp end (exclusive). The start must be less than or equal to the end.
1036
+ # When the start equals the end, the interval is empty (matches no time). When
1037
+ # both start and end are unspecified, the interval matches any time.
1038
+ class Interval
1039
+ include Google::Apis::Core::Hashable
1040
+
1041
+ # Optional. Exclusive end of the interval. If specified, a Timestamp matching
1042
+ # this interval will have to be before the end.
1043
+ # Corresponds to the JSON property `endTime`
1044
+ # @return [String]
1045
+ attr_accessor :end_time
1046
+
1047
+ # Optional. Inclusive start of the interval. If specified, a Timestamp matching
1048
+ # this interval will have to be the same or after the start.
1049
+ # Corresponds to the JSON property `startTime`
1050
+ # @return [String]
1051
+ attr_accessor :start_time
1052
+
1053
+ def initialize(**args)
1054
+ update!(**args)
1055
+ end
1056
+
1057
+ # Update properties of this object
1058
+ def update!(**args)
1059
+ @end_time = args[:end_time] if args.key?(:end_time)
1060
+ @start_time = args[:start_time] if args.key?(:start_time)
1061
+ end
1062
+ end
1063
+
907
1064
  # An IP range provided in any one of the supported formats.
908
1065
  class IpRange
909
1066
  include Google::Apis::Core::Hashable
@@ -940,6 +1097,38 @@ module Google
940
1097
  end
941
1098
  end
942
1099
 
1100
+ # Response message for VmwareEngine.ListAnnouncements
1101
+ class ListAnnouncementsResponse
1102
+ include Google::Apis::Core::Hashable
1103
+
1104
+ # A list of announcement runs.
1105
+ # Corresponds to the JSON property `announcements`
1106
+ # @return [Array<Google::Apis::VmwareengineV1::Announcement>]
1107
+ attr_accessor :announcements
1108
+
1109
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1110
+ # field is omitted, there are no subsequent pages.
1111
+ # Corresponds to the JSON property `nextPageToken`
1112
+ # @return [String]
1113
+ attr_accessor :next_page_token
1114
+
1115
+ # list of unreachable locations
1116
+ # Corresponds to the JSON property `unreachable`
1117
+ # @return [Array<String>]
1118
+ attr_accessor :unreachable
1119
+
1120
+ def initialize(**args)
1121
+ update!(**args)
1122
+ end
1123
+
1124
+ # Update properties of this object
1125
+ def update!(**args)
1126
+ @announcements = args[:announcements] if args.key?(:announcements)
1127
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1128
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1129
+ end
1130
+ end
1131
+
943
1132
  # Response message for VmwareEngine.ListClusters
944
1133
  class ListClustersResponse
945
1134
  include Google::Apis::Core::Hashable
@@ -1462,6 +1651,38 @@ module Google
1462
1651
  end
1463
1652
  end
1464
1653
 
1654
+ # Response message for VmwareEngine.ListUpgrades.
1655
+ class ListUpgradesResponse
1656
+ include Google::Apis::Core::Hashable
1657
+
1658
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1659
+ # field is omitted, there are no subsequent pages.
1660
+ # Corresponds to the JSON property `nextPageToken`
1661
+ # @return [String]
1662
+ attr_accessor :next_page_token
1663
+
1664
+ # List of unreachable resources.
1665
+ # Corresponds to the JSON property `unreachable`
1666
+ # @return [Array<String>]
1667
+ attr_accessor :unreachable
1668
+
1669
+ # A list of `Upgrades`.
1670
+ # Corresponds to the JSON property `upgrades`
1671
+ # @return [Array<Google::Apis::VmwareengineV1::Upgrade>]
1672
+ attr_accessor :upgrades
1673
+
1674
+ def initialize(**args)
1675
+ update!(**args)
1676
+ end
1677
+
1678
+ # Update properties of this object
1679
+ def update!(**args)
1680
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1681
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1682
+ @upgrades = args[:upgrades] if args.key?(:upgrades)
1683
+ end
1684
+ end
1685
+
1465
1686
  # Response message for VmwareEngine.ListVmwareEngineNetworks
1466
1687
  class ListVmwareEngineNetworksResponse
1467
1688
  include Google::Apis::Core::Hashable
@@ -2925,6 +3146,55 @@ module Google
2925
3146
  end
2926
3147
  end
2927
3148
 
3149
+ # Schedule for the upgrade.
3150
+ class Schedule
3151
+ include Google::Apis::Core::Hashable
3152
+
3153
+ # Constraints to be applied while editing a schedule. These constraints ensure
3154
+ # that `Upgrade` specific requirements are met.
3155
+ # Corresponds to the JSON property `constraints`
3156
+ # @return [Google::Apis::VmwareengineV1::Constraints]
3157
+ attr_accessor :constraints
3158
+
3159
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
3160
+ # Timestamp end (exclusive). The start must be less than or equal to the end.
3161
+ # When the start equals the end, the interval is empty (matches no time). When
3162
+ # both start and end are unspecified, the interval matches any time.
3163
+ # Corresponds to the JSON property `editWindow`
3164
+ # @return [Google::Apis::VmwareengineV1::Interval]
3165
+ attr_accessor :edit_window
3166
+
3167
+ # Output only. Output Only. Indicates who most recently edited the upgrade
3168
+ # schedule. The value is updated whenever the upgrade is rescheduled.
3169
+ # Corresponds to the JSON property `lastEditor`
3170
+ # @return [String]
3171
+ attr_accessor :last_editor
3172
+
3173
+ # Required. The scheduled start time for the upgrade.
3174
+ # Corresponds to the JSON property `startTime`
3175
+ # @return [String]
3176
+ attr_accessor :start_time
3177
+
3178
+ # Required. Weekly time windows for upgrade activities. The server performs
3179
+ # upgrade activities during these time windows to minimize disruptions.
3180
+ # Corresponds to the JSON property `weeklyWindows`
3181
+ # @return [Array<Google::Apis::VmwareengineV1::TimeWindow>]
3182
+ attr_accessor :weekly_windows
3183
+
3184
+ def initialize(**args)
3185
+ update!(**args)
3186
+ end
3187
+
3188
+ # Update properties of this object
3189
+ def update!(**args)
3190
+ @constraints = args[:constraints] if args.key?(:constraints)
3191
+ @edit_window = args[:edit_window] if args.key?(:edit_window)
3192
+ @last_editor = args[:last_editor] if args.key?(:last_editor)
3193
+ @start_time = args[:start_time] if args.key?(:start_time)
3194
+ @weekly_windows = args[:weekly_windows] if args.key?(:weekly_windows)
3195
+ end
3196
+ end
3197
+
2928
3198
  # Request message for `SetIamPolicy` method.
2929
3199
  class SetIamPolicyRequest
2930
3200
  include Google::Apis::Core::Hashable
@@ -3168,6 +3438,85 @@ module Google
3168
3438
  end
3169
3439
  end
3170
3440
 
3441
+ # Represents a time of day. The date and time zone are either not significant or
3442
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
3443
+ # types are google.type.Date and `google.protobuf.Timestamp`.
3444
+ class TimeOfDay
3445
+ include Google::Apis::Core::Hashable
3446
+
3447
+ # Hours of a day in 24 hour format. Must be greater than or equal to 0 and
3448
+ # typically must be less than or equal to 23. An API may choose to allow the
3449
+ # value "24:00:00" for scenarios like business closing time.
3450
+ # Corresponds to the JSON property `hours`
3451
+ # @return [Fixnum]
3452
+ attr_accessor :hours
3453
+
3454
+ # Minutes of an hour. Must be greater than or equal to 0 and less than or equal
3455
+ # to 59.
3456
+ # Corresponds to the JSON property `minutes`
3457
+ # @return [Fixnum]
3458
+ attr_accessor :minutes
3459
+
3460
+ # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and
3461
+ # less than or equal to 999,999,999.
3462
+ # Corresponds to the JSON property `nanos`
3463
+ # @return [Fixnum]
3464
+ attr_accessor :nanos
3465
+
3466
+ # Seconds of a minute. Must be greater than or equal to 0 and typically must be
3467
+ # less than or equal to 59. An API may allow the value 60 if it allows leap-
3468
+ # seconds.
3469
+ # Corresponds to the JSON property `seconds`
3470
+ # @return [Fixnum]
3471
+ attr_accessor :seconds
3472
+
3473
+ def initialize(**args)
3474
+ update!(**args)
3475
+ end
3476
+
3477
+ # Update properties of this object
3478
+ def update!(**args)
3479
+ @hours = args[:hours] if args.key?(:hours)
3480
+ @minutes = args[:minutes] if args.key?(:minutes)
3481
+ @nanos = args[:nanos] if args.key?(:nanos)
3482
+ @seconds = args[:seconds] if args.key?(:seconds)
3483
+ end
3484
+ end
3485
+
3486
+ # Represents the time window to perform upgrade activities.
3487
+ class TimeWindow
3488
+ include Google::Apis::Core::Hashable
3489
+
3490
+ # Required. Day of the week for this window.
3491
+ # Corresponds to the JSON property `dayOfWeek`
3492
+ # @return [String]
3493
+ attr_accessor :day_of_week
3494
+
3495
+ # Required. The duration of the window. The max allowed duration for any window
3496
+ # is 24 hours.
3497
+ # Corresponds to the JSON property `duration`
3498
+ # @return [String]
3499
+ attr_accessor :duration
3500
+
3501
+ # Represents a time of day. The date and time zone are either not significant or
3502
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
3503
+ # types are google.type.Date and `google.protobuf.Timestamp`.
3504
+ # Corresponds to the JSON property `startTime`
3505
+ # @return [Google::Apis::VmwareengineV1::TimeOfDay]
3506
+ attr_accessor :start_time
3507
+
3508
+ def initialize(**args)
3509
+ update!(**args)
3510
+ end
3511
+
3512
+ # Update properties of this object
3513
+ def update!(**args)
3514
+ @day_of_week = args[:day_of_week] if args.key?(:day_of_week)
3515
+ @duration = args[:duration] if args.key?(:duration)
3516
+ @start_time = args[:start_time] if args.key?(:start_time)
3517
+ end
3518
+ end
3519
+
3171
3520
  # Request message for VmwareEngine.UndeletePrivateCloud
3172
3521
  class UndeletePrivateCloudRequest
3173
3522
  include Google::Apis::Core::Hashable
@@ -3188,6 +3537,119 @@ module Google
3188
3537
  end
3189
3538
  end
3190
3539
 
3540
+ # Describes Private cloud Upgrade.
3541
+ class Upgrade
3542
+ include Google::Apis::Core::Hashable
3543
+
3544
+ # Output only. Output Only. The list of component upgrades.
3545
+ # Corresponds to the JSON property `componentUpgrades`
3546
+ # @return [Array<Google::Apis::VmwareengineV1::VmwareUpgradeComponent>]
3547
+ attr_accessor :component_upgrades
3548
+
3549
+ # Output only. Output Only. Creation time of this resource.
3550
+ # Corresponds to the JSON property `createTime`
3551
+ # @return [String]
3552
+ attr_accessor :create_time
3553
+
3554
+ # Output only. Output Only. The description of the upgrade. This is used to
3555
+ # provide additional information about the private cloud upgrade, such as the
3556
+ # upgrade's purpose, the changes included in the upgrade, or any other relevant
3557
+ # information about the upgrade.
3558
+ # Corresponds to the JSON property `description`
3559
+ # @return [String]
3560
+ attr_accessor :description
3561
+
3562
+ # Output only. Output Only. End time of the upgrade.
3563
+ # Corresponds to the JSON property `endTime`
3564
+ # @return [String]
3565
+ attr_accessor :end_time
3566
+
3567
+ # Output only. Output Only. The estimated total duration of the upgrade. This
3568
+ # information can be used to plan or schedule upgrades to minimize disruptions.
3569
+ # Please note that the estimated duration is only an estimate. The actual
3570
+ # upgrade duration may vary.
3571
+ # Corresponds to the JSON property `estimatedDuration`
3572
+ # @return [String]
3573
+ attr_accessor :estimated_duration
3574
+
3575
+ # The etag for the upgrade resource. If this is provided on update, it must
3576
+ # match the server's etag.
3577
+ # Corresponds to the JSON property `etag`
3578
+ # @return [String]
3579
+ attr_accessor :etag
3580
+
3581
+ # Output only. Identifier. The resource name of the private cloud `Upgrade`.
3582
+ # Resource names are schemeless URIs that follow the conventions in https://
3583
+ # cloud.google.com/apis/design/resource_names. For example: `projects/my-project/
3584
+ # locations/us-west1-a/privateClouds/my-cloud/upgrades/my-upgrade`
3585
+ # Corresponds to the JSON property `name`
3586
+ # @return [String]
3587
+ attr_accessor :name
3588
+
3589
+ # Schedule for the upgrade.
3590
+ # Corresponds to the JSON property `schedule`
3591
+ # @return [Google::Apis::VmwareengineV1::Schedule]
3592
+ attr_accessor :schedule
3593
+
3594
+ # Output only. Output Only. The start version
3595
+ # Corresponds to the JSON property `startVersion`
3596
+ # @return [String]
3597
+ attr_accessor :start_version
3598
+
3599
+ # Output only. The current state of the upgrade.
3600
+ # Corresponds to the JSON property `state`
3601
+ # @return [String]
3602
+ attr_accessor :state
3603
+
3604
+ # Output only. Output Only. The target version
3605
+ # Corresponds to the JSON property `targetVersion`
3606
+ # @return [String]
3607
+ attr_accessor :target_version
3608
+
3609
+ # Output only. Output Only. The type of upgrade.
3610
+ # Corresponds to the JSON property `type`
3611
+ # @return [String]
3612
+ attr_accessor :type
3613
+
3614
+ # Output only. System-generated unique identifier for the resource.
3615
+ # Corresponds to the JSON property `uid`
3616
+ # @return [String]
3617
+ attr_accessor :uid
3618
+
3619
+ # Output only. Output Only. Last update time of this resource.
3620
+ # Corresponds to the JSON property `updateTime`
3621
+ # @return [String]
3622
+ attr_accessor :update_time
3623
+
3624
+ # Output only.
3625
+ # Corresponds to the JSON property `version`
3626
+ # @return [String]
3627
+ attr_accessor :version
3628
+
3629
+ def initialize(**args)
3630
+ update!(**args)
3631
+ end
3632
+
3633
+ # Update properties of this object
3634
+ def update!(**args)
3635
+ @component_upgrades = args[:component_upgrades] if args.key?(:component_upgrades)
3636
+ @create_time = args[:create_time] if args.key?(:create_time)
3637
+ @description = args[:description] if args.key?(:description)
3638
+ @end_time = args[:end_time] if args.key?(:end_time)
3639
+ @estimated_duration = args[:estimated_duration] if args.key?(:estimated_duration)
3640
+ @etag = args[:etag] if args.key?(:etag)
3641
+ @name = args[:name] if args.key?(:name)
3642
+ @schedule = args[:schedule] if args.key?(:schedule)
3643
+ @start_version = args[:start_version] if args.key?(:start_version)
3644
+ @state = args[:state] if args.key?(:state)
3645
+ @target_version = args[:target_version] if args.key?(:target_version)
3646
+ @type = args[:type] if args.key?(:type)
3647
+ @uid = args[:uid] if args.key?(:uid)
3648
+ @update_time = args[:update_time] if args.key?(:update_time)
3649
+ @version = args[:version] if args.key?(:version)
3650
+ end
3651
+ end
3652
+
3191
3653
  # Details about a vCenter Server management appliance.
3192
3654
  class Vcenter
3193
3655
  include Google::Apis::Core::Hashable
@@ -3300,6 +3762,31 @@ module Google
3300
3762
  end
3301
3763
  end
3302
3764
 
3765
+ # Per component upgrade resource
3766
+ class VmwareUpgradeComponent
3767
+ include Google::Apis::Core::Hashable
3768
+
3769
+ # Output only. Type of component
3770
+ # Corresponds to the JSON property `componentType`
3771
+ # @return [String]
3772
+ attr_accessor :component_type
3773
+
3774
+ # Output only. Component's upgrade state.
3775
+ # Corresponds to the JSON property `state`
3776
+ # @return [String]
3777
+ attr_accessor :state
3778
+
3779
+ def initialize(**args)
3780
+ update!(**args)
3781
+ end
3782
+
3783
+ # Update properties of this object
3784
+ def update!(**args)
3785
+ @component_type = args[:component_type] if args.key?(:component_type)
3786
+ @state = args[:state] if args.key?(:state)
3787
+ end
3788
+ end
3789
+
3303
3790
  # Represents a VMware Engine VPC network that is managed by a VMware Engine
3304
3791
  # network resource.
3305
3792
  class VpcNetwork
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module VmwareengineV1
18
18
  # Version of the google-apis-vmwareengine_v1 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241009"
25
+ REVISION = "20250218"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module VmwareengineV1
24
24
 
25
+ class Announcement
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AuditConfig
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -58,6 +64,12 @@ module Google
58
64
  include Google::Apis::Core::JsonObjectSupport
59
65
  end
60
66
 
67
+ class Constraints
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
61
73
  class Credentials
62
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
75
 
@@ -130,12 +142,24 @@ module Google
130
142
  include Google::Apis::Core::JsonObjectSupport
131
143
  end
132
144
 
145
+ class Interval
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
133
151
  class IpRange
134
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
153
 
136
154
  include Google::Apis::Core::JsonObjectSupport
137
155
  end
138
156
 
157
+ class ListAnnouncementsResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
139
163
  class ListClustersResponse
140
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
165
 
@@ -238,6 +262,12 @@ module Google
238
262
  include Google::Apis::Core::JsonObjectSupport
239
263
  end
240
264
 
265
+ class ListUpgradesResponse
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
241
271
  class ListVmwareEngineNetworksResponse
242
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
273
 
@@ -388,6 +418,12 @@ module Google
388
418
  include Google::Apis::Core::JsonObjectSupport
389
419
  end
390
420
 
421
+ class Schedule
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
391
427
  class SetIamPolicyRequest
392
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
429
 
@@ -430,12 +466,30 @@ module Google
430
466
  include Google::Apis::Core::JsonObjectSupport
431
467
  end
432
468
 
469
+ class TimeOfDay
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class TimeWindow
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
433
481
  class UndeletePrivateCloudRequest
434
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
483
 
436
484
  include Google::Apis::Core::JsonObjectSupport
437
485
  end
438
486
 
487
+ class Upgrade
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
439
493
  class Vcenter
440
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
495
 
@@ -448,12 +502,35 @@ module Google
448
502
  include Google::Apis::Core::JsonObjectSupport
449
503
  end
450
504
 
505
+ class VmwareUpgradeComponent
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
451
511
  class VpcNetwork
452
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
513
 
454
514
  include Google::Apis::Core::JsonObjectSupport
455
515
  end
456
516
 
517
+ class Announcement
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ property :activity_type, as: 'activityType'
521
+ property :cluster, as: 'cluster'
522
+ property :code, as: 'code'
523
+ property :create_time, as: 'createTime'
524
+ property :description, as: 'description'
525
+ hash :metadata, as: 'metadata'
526
+ property :name, as: 'name'
527
+ property :private_cloud, as: 'privateCloud'
528
+ property :state, as: 'state'
529
+ property :target_resource_type, as: 'targetResourceType'
530
+ property :update_time, as: 'updateTime'
531
+ end
532
+ end
533
+
457
534
  class AuditConfig
458
535
  # @private
459
536
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -526,6 +603,16 @@ module Google
526
603
  end
527
604
  end
528
605
 
606
+ class Constraints
607
+ # @private
608
+ class Representation < Google::Apis::Core::JsonRepresentation
609
+ property :min_hours_day, as: 'minHoursDay'
610
+ property :min_hours_week, as: 'minHoursWeek'
611
+ property :reschedule_date_range, as: 'rescheduleDateRange', class: Google::Apis::VmwareengineV1::Interval, decorator: Google::Apis::VmwareengineV1::Interval::Representation
612
+
613
+ end
614
+ end
615
+
529
616
  class Credentials
530
617
  # @private
531
618
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -652,6 +739,14 @@ module Google
652
739
  end
653
740
  end
654
741
 
742
+ class Interval
743
+ # @private
744
+ class Representation < Google::Apis::Core::JsonRepresentation
745
+ property :end_time, as: 'endTime'
746
+ property :start_time, as: 'startTime'
747
+ end
748
+ end
749
+
655
750
  class IpRange
656
751
  # @private
657
752
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -661,6 +756,16 @@ module Google
661
756
  end
662
757
  end
663
758
 
759
+ class ListAnnouncementsResponse
760
+ # @private
761
+ class Representation < Google::Apis::Core::JsonRepresentation
762
+ collection :announcements, as: 'announcements', class: Google::Apis::VmwareengineV1::Announcement, decorator: Google::Apis::VmwareengineV1::Announcement::Representation
763
+
764
+ property :next_page_token, as: 'nextPageToken'
765
+ collection :unreachable, as: 'unreachable'
766
+ end
767
+ end
768
+
664
769
  class ListClustersResponse
665
770
  # @private
666
771
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -826,6 +931,16 @@ module Google
826
931
  end
827
932
  end
828
933
 
934
+ class ListUpgradesResponse
935
+ # @private
936
+ class Representation < Google::Apis::Core::JsonRepresentation
937
+ property :next_page_token, as: 'nextPageToken'
938
+ collection :unreachable, as: 'unreachable'
939
+ collection :upgrades, as: 'upgrades', class: Google::Apis::VmwareengineV1::Upgrade, decorator: Google::Apis::VmwareengineV1::Upgrade::Representation
940
+
941
+ end
942
+ end
943
+
829
944
  class ListVmwareEngineNetworksResponse
830
945
  # @private
831
946
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1132,6 +1247,20 @@ module Google
1132
1247
  end
1133
1248
  end
1134
1249
 
1250
+ class Schedule
1251
+ # @private
1252
+ class Representation < Google::Apis::Core::JsonRepresentation
1253
+ property :constraints, as: 'constraints', class: Google::Apis::VmwareengineV1::Constraints, decorator: Google::Apis::VmwareengineV1::Constraints::Representation
1254
+
1255
+ property :edit_window, as: 'editWindow', class: Google::Apis::VmwareengineV1::Interval, decorator: Google::Apis::VmwareengineV1::Interval::Representation
1256
+
1257
+ property :last_editor, as: 'lastEditor'
1258
+ property :start_time, as: 'startTime'
1259
+ collection :weekly_windows, as: 'weeklyWindows', class: Google::Apis::VmwareengineV1::TimeWindow, decorator: Google::Apis::VmwareengineV1::TimeWindow::Representation
1260
+
1261
+ end
1262
+ end
1263
+
1135
1264
  class SetIamPolicyRequest
1136
1265
  # @private
1137
1266
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1192,6 +1321,26 @@ module Google
1192
1321
  end
1193
1322
  end
1194
1323
 
1324
+ class TimeOfDay
1325
+ # @private
1326
+ class Representation < Google::Apis::Core::JsonRepresentation
1327
+ property :hours, as: 'hours'
1328
+ property :minutes, as: 'minutes'
1329
+ property :nanos, as: 'nanos'
1330
+ property :seconds, as: 'seconds'
1331
+ end
1332
+ end
1333
+
1334
+ class TimeWindow
1335
+ # @private
1336
+ class Representation < Google::Apis::Core::JsonRepresentation
1337
+ property :day_of_week, as: 'dayOfWeek'
1338
+ property :duration, as: 'duration'
1339
+ property :start_time, as: 'startTime', class: Google::Apis::VmwareengineV1::TimeOfDay, decorator: Google::Apis::VmwareengineV1::TimeOfDay::Representation
1340
+
1341
+ end
1342
+ end
1343
+
1195
1344
  class UndeletePrivateCloudRequest
1196
1345
  # @private
1197
1346
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1199,6 +1348,29 @@ module Google
1199
1348
  end
1200
1349
  end
1201
1350
 
1351
+ class Upgrade
1352
+ # @private
1353
+ class Representation < Google::Apis::Core::JsonRepresentation
1354
+ collection :component_upgrades, as: 'componentUpgrades', class: Google::Apis::VmwareengineV1::VmwareUpgradeComponent, decorator: Google::Apis::VmwareengineV1::VmwareUpgradeComponent::Representation
1355
+
1356
+ property :create_time, as: 'createTime'
1357
+ property :description, as: 'description'
1358
+ property :end_time, as: 'endTime'
1359
+ property :estimated_duration, as: 'estimatedDuration'
1360
+ property :etag, as: 'etag'
1361
+ property :name, as: 'name'
1362
+ property :schedule, as: 'schedule', class: Google::Apis::VmwareengineV1::Schedule, decorator: Google::Apis::VmwareengineV1::Schedule::Representation
1363
+
1364
+ property :start_version, as: 'startVersion'
1365
+ property :state, as: 'state'
1366
+ property :target_version, as: 'targetVersion'
1367
+ property :type, as: 'type'
1368
+ property :uid, as: 'uid'
1369
+ property :update_time, as: 'updateTime'
1370
+ property :version, as: 'version'
1371
+ end
1372
+ end
1373
+
1202
1374
  class Vcenter
1203
1375
  # @private
1204
1376
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1225,6 +1397,14 @@ module Google
1225
1397
  end
1226
1398
  end
1227
1399
 
1400
+ class VmwareUpgradeComponent
1401
+ # @private
1402
+ class Representation < Google::Apis::Core::JsonRepresentation
1403
+ property :component_type, as: 'componentType'
1404
+ property :state, as: 'state'
1405
+ end
1406
+ end
1407
+
1228
1408
  class VpcNetwork
1229
1409
  # @private
1230
1410
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -162,6 +162,103 @@ module Google
162
162
  execute_or_queue_command(command, &block)
163
163
  end
164
164
 
165
+ # Retrieves a `Announcement` by its resource name.
166
+ # @param [String] name
167
+ # Required. The resource name of the announcement to retrieve. Resource names
168
+ # are schemeless URIs that follow the conventions in https://cloud.google.com/
169
+ # apis/design/resource_names. For example: `projects/my-project/locations/us-
170
+ # west1-a/announcements/announcement-uuid`
171
+ # @param [String] fields
172
+ # Selector specifying which fields to include in a partial response.
173
+ # @param [String] quota_user
174
+ # Available to use for quota purposes for server-side applications. Can be any
175
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
176
+ # @param [Google::Apis::RequestOptions] options
177
+ # Request-specific options
178
+ #
179
+ # @yield [result, err] Result & error if block supplied
180
+ # @yieldparam result [Google::Apis::VmwareengineV1::Announcement] parsed result object
181
+ # @yieldparam err [StandardError] error object if request failed
182
+ #
183
+ # @return [Google::Apis::VmwareengineV1::Announcement]
184
+ #
185
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
186
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
187
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
188
+ def get_project_location_announcement(name, fields: nil, quota_user: nil, options: nil, &block)
189
+ command = make_simple_command(:get, 'v1/{+name}', options)
190
+ command.response_representation = Google::Apis::VmwareengineV1::Announcement::Representation
191
+ command.response_class = Google::Apis::VmwareengineV1::Announcement
192
+ command.params['name'] = name unless name.nil?
193
+ command.query['fields'] = fields unless fields.nil?
194
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
195
+ execute_or_queue_command(command, &block)
196
+ end
197
+
198
+ # Lists `Announcements` for a given region and project
199
+ # @param [String] parent
200
+ # Required. The resource name of the location to be queried for announcements.
201
+ # Resource names are schemeless URIs that follow the conventions in https://
202
+ # cloud.google.com/apis/design/resource_names. For example: `projects/my-project/
203
+ # locations/us-west1-a`
204
+ # @param [String] filter
205
+ # A filter expression that matches resources returned in the response. The
206
+ # expression must specify the field name, a comparison operator, and the value
207
+ # that you want to use for filtering. The value must be a string, a number, or a
208
+ # boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example,
209
+ # if you are filtering a list of announcement runs, you can exclude the ones
210
+ # named `example-announcement` by specifying `name != "example-announcement"`.
211
+ # You can also filter nested fields. To filter on multiple expressions, provide
212
+ # each separate expression within parentheses. For example: ``` (name = "example-
213
+ # announcement") (createTime > "2021-04-12T08:15:10.40Z") ``` By default, each
214
+ # expression is an `AND` expression. However, you can include `AND` and `OR`
215
+ # expressions explicitly. For example: ``` (name = "announcement-1") AND (
216
+ # createTime > "2021-04-12T08:15:10.40Z") OR (name = "announcement-2") ```
217
+ # @param [String] order_by
218
+ # Sorts list results by a certain order. By default, returned results are
219
+ # ordered by `name` in ascending order. You can also sort results in descending
220
+ # order based on the `name` value using `orderBy="name desc"`. Currently, only
221
+ # ordering by `name` is supported.
222
+ # @param [Fixnum] page_size
223
+ # The maximum number of announcements to return in one page. The service may
224
+ # return fewer than this value. The maximum value is coerced to 1000. The
225
+ # default value of this field is 500.
226
+ # @param [String] page_token
227
+ # A page token, received from a previous `ListAnnouncements` call. Provide this
228
+ # to retrieve the subsequent page. When paginating, all other parameters
229
+ # provided to `ListAnnouncements` must match the call that provided the page
230
+ # token.
231
+ # @param [String] fields
232
+ # Selector specifying which fields to include in a partial response.
233
+ # @param [String] quota_user
234
+ # Available to use for quota purposes for server-side applications. Can be any
235
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
236
+ # @param [Google::Apis::RequestOptions] options
237
+ # Request-specific options
238
+ #
239
+ # @yield [result, err] Result & error if block supplied
240
+ # @yieldparam result [Google::Apis::VmwareengineV1::ListAnnouncementsResponse] parsed result object
241
+ # @yieldparam err [StandardError] error object if request failed
242
+ #
243
+ # @return [Google::Apis::VmwareengineV1::ListAnnouncementsResponse]
244
+ #
245
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
246
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
247
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
248
+ def list_project_location_announcements(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
249
+ command = make_simple_command(:get, 'v1/{+parent}/announcements', options)
250
+ command.response_representation = Google::Apis::VmwareengineV1::ListAnnouncementsResponse::Representation
251
+ command.response_class = Google::Apis::VmwareengineV1::ListAnnouncementsResponse
252
+ command.params['parent'] = parent unless parent.nil?
253
+ command.query['filter'] = filter unless filter.nil?
254
+ command.query['orderBy'] = order_by unless order_by.nil?
255
+ command.query['pageSize'] = page_size unless page_size.nil?
256
+ command.query['pageToken'] = page_token unless page_token.nil?
257
+ command.query['fields'] = fields unless fields.nil?
258
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
259
+ execute_or_queue_command(command, &block)
260
+ end
261
+
165
262
  # Grants the bind permission to the customer provided principal(user / service
166
263
  # account) to bind their DNS zone with the intranet VPC associated with the
167
264
  # project. DnsBindPermission is a global resource and location can only be
@@ -3643,6 +3740,161 @@ module Google
3643
3740
  execute_or_queue_command(command, &block)
3644
3741
  end
3645
3742
 
3743
+ # Retrieves a private cloud `Upgrade` resource by its resource name.
3744
+ # @param [String] name
3745
+ # Required. The name of the `Upgrade` resource to be retrieved. Resource names
3746
+ # are schemeless URIs that follow the conventions in https://cloud.google.com/
3747
+ # apis/design/resource_names. For example: `projects/my-project/locations/us-
3748
+ # west1-a/privateClouds/my-cloud/upgrades/my-upgrade`
3749
+ # @param [String] fields
3750
+ # Selector specifying which fields to include in a partial response.
3751
+ # @param [String] quota_user
3752
+ # Available to use for quota purposes for server-side applications. Can be any
3753
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3754
+ # @param [Google::Apis::RequestOptions] options
3755
+ # Request-specific options
3756
+ #
3757
+ # @yield [result, err] Result & error if block supplied
3758
+ # @yieldparam result [Google::Apis::VmwareengineV1::Upgrade] parsed result object
3759
+ # @yieldparam err [StandardError] error object if request failed
3760
+ #
3761
+ # @return [Google::Apis::VmwareengineV1::Upgrade]
3762
+ #
3763
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3764
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3765
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3766
+ def get_project_location_private_cloud_upgrade(name, fields: nil, quota_user: nil, options: nil, &block)
3767
+ command = make_simple_command(:get, 'v1/{+name}', options)
3768
+ command.response_representation = Google::Apis::VmwareengineV1::Upgrade::Representation
3769
+ command.response_class = Google::Apis::VmwareengineV1::Upgrade
3770
+ command.params['name'] = name unless name.nil?
3771
+ command.query['fields'] = fields unless fields.nil?
3772
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3773
+ execute_or_queue_command(command, &block)
3774
+ end
3775
+
3776
+ # Lists past, ongoing and upcoming `Upgrades` for the given private cloud.
3777
+ # @param [String] parent
3778
+ # Required. Query a list of `Upgrades` for the given private cloud resource name.
3779
+ # Resource names are schemeless URIs that follow the conventions in https://
3780
+ # cloud.google.com/apis/design/resource_names. For example: `projects/my-project/
3781
+ # locations/us-west1-a/privateClouds/my-cloud`
3782
+ # @param [String] filter
3783
+ # A filter expression that matches resources returned in the response. The
3784
+ # expression must specify the field name, a comparison operator, and the value
3785
+ # that you want to use for filtering. The value must be a string, a number, or a
3786
+ # boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example,
3787
+ # if you are filtering a list of upgrades, you can exclude the ones named `
3788
+ # example-upgrade1` by specifying `name != "example-upgrade1"`. You can also
3789
+ # filter nested fields. To filter on multiple expressions, provide each separate
3790
+ # expression within parentheses. For example: ``` (name = "example-upgrade") (
3791
+ # createTime > "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `
3792
+ # AND` expression. However, you can include `AND` and `OR` expressions
3793
+ # explicitly. For example: ``` (name = "upgrade-1") AND (createTime > "2021-04-
3794
+ # 12T08:15:10.40Z") OR (name = "upgrade-2") ```
3795
+ # @param [String] order_by
3796
+ # Sorts list results by a certain order. By default, returned results are
3797
+ # ordered by `name` in ascending order. You can also sort results in descending
3798
+ # order based on the `name` value using `orderBy="name desc"`. Currently, only
3799
+ # ordering by `name` is supported.
3800
+ # @param [Fixnum] page_size
3801
+ # The maximum number of `Upgrades` to return in one page. The service may return
3802
+ # fewer resources than this value. The maximum value is coerced to 1000. The
3803
+ # default value of this field is 500.
3804
+ # @param [String] page_token
3805
+ # A page token, received from a previous `ListUpgrades` call. Provide this to
3806
+ # retrieve the subsequent page. When paginating, all other parameters provided
3807
+ # to `ListUpgrades` must match the call that provided the page token.
3808
+ # @param [String] fields
3809
+ # Selector specifying which fields to include in a partial response.
3810
+ # @param [String] quota_user
3811
+ # Available to use for quota purposes for server-side applications. Can be any
3812
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3813
+ # @param [Google::Apis::RequestOptions] options
3814
+ # Request-specific options
3815
+ #
3816
+ # @yield [result, err] Result & error if block supplied
3817
+ # @yieldparam result [Google::Apis::VmwareengineV1::ListUpgradesResponse] parsed result object
3818
+ # @yieldparam err [StandardError] error object if request failed
3819
+ #
3820
+ # @return [Google::Apis::VmwareengineV1::ListUpgradesResponse]
3821
+ #
3822
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3823
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3824
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3825
+ def list_project_location_private_cloud_upgrades(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3826
+ command = make_simple_command(:get, 'v1/{+parent}/upgrades', options)
3827
+ command.response_representation = Google::Apis::VmwareengineV1::ListUpgradesResponse::Representation
3828
+ command.response_class = Google::Apis::VmwareengineV1::ListUpgradesResponse
3829
+ command.params['parent'] = parent unless parent.nil?
3830
+ command.query['filter'] = filter unless filter.nil?
3831
+ command.query['orderBy'] = order_by unless order_by.nil?
3832
+ command.query['pageSize'] = page_size unless page_size.nil?
3833
+ command.query['pageToken'] = page_token unless page_token.nil?
3834
+ command.query['fields'] = fields unless fields.nil?
3835
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3836
+ execute_or_queue_command(command, &block)
3837
+ end
3838
+
3839
+ # Update the private cloud `Upgrade` resource. Only `schedule` field can updated.
3840
+ # The schedule can only be updated when the upgrade has not started and
3841
+ # schedule edit window is open. Only fields specified in `update_mask` are
3842
+ # considered.
3843
+ # @param [String] name
3844
+ # Output only. Identifier. The resource name of the private cloud `Upgrade`.
3845
+ # Resource names are schemeless URIs that follow the conventions in https://
3846
+ # cloud.google.com/apis/design/resource_names. For example: `projects/my-project/
3847
+ # locations/us-west1-a/privateClouds/my-cloud/upgrades/my-upgrade`
3848
+ # @param [Google::Apis::VmwareengineV1::Upgrade] upgrade_object
3849
+ # @param [String] request_id
3850
+ # Optional. A request ID to identify requests. Specify a unique request ID so
3851
+ # that if you must retry your request, the server will know to ignore the
3852
+ # request if it has already been completed. The server guarantees that a request
3853
+ # doesn't result in creation of duplicate commitments for at least 60 minutes.
3854
+ # For example, consider a situation where you make an initial request and the
3855
+ # request times out. If you make the request again with the same request ID, the
3856
+ # server can check if original operation with the same request ID was received,
3857
+ # and if so, will ignore the second request. This prevents clients from
3858
+ # accidentally creating duplicate commitments. The request ID must be a valid
3859
+ # UUID with the exception that zero UUID is not supported (00000000-0000-0000-
3860
+ # 0000-000000000000).
3861
+ # @param [String] update_mask
3862
+ # Required. Field mask is used to specify the fields to be overwritten in the `
3863
+ # Upgrade` resource by the update. The fields specified in the `update_mask` are
3864
+ # relative to the resource, not the full request. A field will be overwritten if
3865
+ # it is in the mask. If the user does not provide a mask then all fields will be
3866
+ # overwritten.
3867
+ # @param [String] fields
3868
+ # Selector specifying which fields to include in a partial response.
3869
+ # @param [String] quota_user
3870
+ # Available to use for quota purposes for server-side applications. Can be any
3871
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3872
+ # @param [Google::Apis::RequestOptions] options
3873
+ # Request-specific options
3874
+ #
3875
+ # @yield [result, err] Result & error if block supplied
3876
+ # @yieldparam result [Google::Apis::VmwareengineV1::Operation] parsed result object
3877
+ # @yieldparam err [StandardError] error object if request failed
3878
+ #
3879
+ # @return [Google::Apis::VmwareengineV1::Operation]
3880
+ #
3881
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3882
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3883
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3884
+ def patch_project_location_private_cloud_upgrade(name, upgrade_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3885
+ command = make_simple_command(:patch, 'v1/{+name}', options)
3886
+ command.request_representation = Google::Apis::VmwareengineV1::Upgrade::Representation
3887
+ command.request_object = upgrade_object
3888
+ command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation
3889
+ command.response_class = Google::Apis::VmwareengineV1::Operation
3890
+ command.params['name'] = name unless name.nil?
3891
+ command.query['requestId'] = request_id unless request_id.nil?
3892
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3893
+ command.query['fields'] = fields unless fields.nil?
3894
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3895
+ execute_or_queue_command(command, &block)
3896
+ end
3897
+
3646
3898
  # Creates a new private connection that can be used for accessing private Clouds.
3647
3899
  # @param [String] parent
3648
3900
  # Required. The resource name of the location to create the new private
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-vmwareengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-10-27 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmwareengine_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmwareengine_v1/v0.8.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmwareengine_v1/v0.9.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmwareengine_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.21
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for VMware Engine API V1
82
79
  test_files: []