google-apis-vmwareengine_v1 0.8.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 100046ea7abb0c5f2ec5b9ebda1aa91bd277c6dad683dc1ca593eb69b34ffab1
|
4
|
+
data.tar.gz: 73d4cd9b0fd908a2fb6280ce1d9ce4b037878618fd385198de774d98a5b147ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eecaf78948d82d03cd05da671835635d2a33cc9cb545f020dd069c316dee40679548016ab1128d17dfdca99589b6a811a44c0b25e6a248ae295662db93237e7d
|
7
|
+
data.tar.gz: 316f0655d1d866541ef3d469c40ea6203564fb02c4b00694627d773e9a3e60e67fd626bb14e837089a9c09cbe1423930106960ebf4b82ae371dc7626982a2c96
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-vmwareengine_v1
|
2
2
|
|
3
|
+
### v0.10.0 (2025-04-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250410
|
6
|
+
|
7
|
+
### v0.9.0 (2025-02-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250218
|
10
|
+
* Regenerated using generator version 0.16.0
|
11
|
+
|
3
12
|
### v0.8.0 (2024-10-27)
|
4
13
|
|
5
14
|
* 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,53 @@ 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. Output Only. A list of intervals in which maintenance windows are
|
474
|
+
# not allowed. Any time window that overlaps with any of these intervals will be
|
475
|
+
# considered invalid.
|
476
|
+
# Corresponds to the JSON property `disallowedIntervals`
|
477
|
+
# @return [Array<Google::Apis::VmwareengineV1::WeeklyTimeInterval>]
|
478
|
+
attr_accessor :disallowed_intervals
|
479
|
+
|
480
|
+
# Output only. Minimum number of hours must be allotted for the upgrade
|
481
|
+
# activities for each selected day. This is a minimum; the upgrade schedule can
|
482
|
+
# allot more hours for the given day.
|
483
|
+
# Corresponds to the JSON property `minHoursDay`
|
484
|
+
# @return [Fixnum]
|
485
|
+
attr_accessor :min_hours_day
|
486
|
+
|
487
|
+
# Output only. The minimum number of weekly hours must be allotted for the
|
488
|
+
# upgrade activities. This is just a minimum; the schedule can assign more
|
489
|
+
# weekly hours.
|
490
|
+
# Corresponds to the JSON property `minHoursWeek`
|
491
|
+
# @return [Fixnum]
|
492
|
+
attr_accessor :min_hours_week
|
493
|
+
|
494
|
+
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
495
|
+
# Timestamp end (exclusive). The start must be less than or equal to the end.
|
496
|
+
# When the start equals the end, the interval is empty (matches no time). When
|
497
|
+
# both start and end are unspecified, the interval matches any time.
|
498
|
+
# Corresponds to the JSON property `rescheduleDateRange`
|
499
|
+
# @return [Google::Apis::VmwareengineV1::Interval]
|
500
|
+
attr_accessor :reschedule_date_range
|
501
|
+
|
502
|
+
def initialize(**args)
|
503
|
+
update!(**args)
|
504
|
+
end
|
505
|
+
|
506
|
+
# Update properties of this object
|
507
|
+
def update!(**args)
|
508
|
+
@disallowed_intervals = args[:disallowed_intervals] if args.key?(:disallowed_intervals)
|
509
|
+
@min_hours_day = args[:min_hours_day] if args.key?(:min_hours_day)
|
510
|
+
@min_hours_week = args[:min_hours_week] if args.key?(:min_hours_week)
|
511
|
+
@reschedule_date_range = args[:reschedule_date_range] if args.key?(:reschedule_date_range)
|
512
|
+
end
|
513
|
+
end
|
514
|
+
|
380
515
|
# Credentials for a private cloud.
|
381
516
|
class Credentials
|
382
517
|
include Google::Apis::Core::Hashable
|
@@ -904,6 +1039,36 @@ module Google
|
|
904
1039
|
end
|
905
1040
|
end
|
906
1041
|
|
1042
|
+
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
1043
|
+
# Timestamp end (exclusive). The start must be less than or equal to the end.
|
1044
|
+
# When the start equals the end, the interval is empty (matches no time). When
|
1045
|
+
# both start and end are unspecified, the interval matches any time.
|
1046
|
+
class Interval
|
1047
|
+
include Google::Apis::Core::Hashable
|
1048
|
+
|
1049
|
+
# Optional. Exclusive end of the interval. If specified, a Timestamp matching
|
1050
|
+
# this interval will have to be before the end.
|
1051
|
+
# Corresponds to the JSON property `endTime`
|
1052
|
+
# @return [String]
|
1053
|
+
attr_accessor :end_time
|
1054
|
+
|
1055
|
+
# Optional. Inclusive start of the interval. If specified, a Timestamp matching
|
1056
|
+
# this interval will have to be the same or after the start.
|
1057
|
+
# Corresponds to the JSON property `startTime`
|
1058
|
+
# @return [String]
|
1059
|
+
attr_accessor :start_time
|
1060
|
+
|
1061
|
+
def initialize(**args)
|
1062
|
+
update!(**args)
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
# Update properties of this object
|
1066
|
+
def update!(**args)
|
1067
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1068
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
1069
|
+
end
|
1070
|
+
end
|
1071
|
+
|
907
1072
|
# An IP range provided in any one of the supported formats.
|
908
1073
|
class IpRange
|
909
1074
|
include Google::Apis::Core::Hashable
|
@@ -940,6 +1105,38 @@ module Google
|
|
940
1105
|
end
|
941
1106
|
end
|
942
1107
|
|
1108
|
+
# Response message for VmwareEngine.ListAnnouncements
|
1109
|
+
class ListAnnouncementsResponse
|
1110
|
+
include Google::Apis::Core::Hashable
|
1111
|
+
|
1112
|
+
# A list of announcement runs.
|
1113
|
+
# Corresponds to the JSON property `announcements`
|
1114
|
+
# @return [Array<Google::Apis::VmwareengineV1::Announcement>]
|
1115
|
+
attr_accessor :announcements
|
1116
|
+
|
1117
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1118
|
+
# field is omitted, there are no subsequent pages.
|
1119
|
+
# Corresponds to the JSON property `nextPageToken`
|
1120
|
+
# @return [String]
|
1121
|
+
attr_accessor :next_page_token
|
1122
|
+
|
1123
|
+
# list of unreachable locations
|
1124
|
+
# Corresponds to the JSON property `unreachable`
|
1125
|
+
# @return [Array<String>]
|
1126
|
+
attr_accessor :unreachable
|
1127
|
+
|
1128
|
+
def initialize(**args)
|
1129
|
+
update!(**args)
|
1130
|
+
end
|
1131
|
+
|
1132
|
+
# Update properties of this object
|
1133
|
+
def update!(**args)
|
1134
|
+
@announcements = args[:announcements] if args.key?(:announcements)
|
1135
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1136
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1137
|
+
end
|
1138
|
+
end
|
1139
|
+
|
943
1140
|
# Response message for VmwareEngine.ListClusters
|
944
1141
|
class ListClustersResponse
|
945
1142
|
include Google::Apis::Core::Hashable
|
@@ -1462,6 +1659,38 @@ module Google
|
|
1462
1659
|
end
|
1463
1660
|
end
|
1464
1661
|
|
1662
|
+
# Response message for VmwareEngine.ListUpgrades.
|
1663
|
+
class ListUpgradesResponse
|
1664
|
+
include Google::Apis::Core::Hashable
|
1665
|
+
|
1666
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1667
|
+
# field is omitted, there are no subsequent pages.
|
1668
|
+
# Corresponds to the JSON property `nextPageToken`
|
1669
|
+
# @return [String]
|
1670
|
+
attr_accessor :next_page_token
|
1671
|
+
|
1672
|
+
# List of unreachable resources.
|
1673
|
+
# Corresponds to the JSON property `unreachable`
|
1674
|
+
# @return [Array<String>]
|
1675
|
+
attr_accessor :unreachable
|
1676
|
+
|
1677
|
+
# A list of `Upgrades`.
|
1678
|
+
# Corresponds to the JSON property `upgrades`
|
1679
|
+
# @return [Array<Google::Apis::VmwareengineV1::Upgrade>]
|
1680
|
+
attr_accessor :upgrades
|
1681
|
+
|
1682
|
+
def initialize(**args)
|
1683
|
+
update!(**args)
|
1684
|
+
end
|
1685
|
+
|
1686
|
+
# Update properties of this object
|
1687
|
+
def update!(**args)
|
1688
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1689
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1690
|
+
@upgrades = args[:upgrades] if args.key?(:upgrades)
|
1691
|
+
end
|
1692
|
+
end
|
1693
|
+
|
1465
1694
|
# Response message for VmwareEngine.ListVmwareEngineNetworks
|
1466
1695
|
class ListVmwareEngineNetworksResponse
|
1467
1696
|
include Google::Apis::Core::Hashable
|
@@ -2925,6 +3154,55 @@ module Google
|
|
2925
3154
|
end
|
2926
3155
|
end
|
2927
3156
|
|
3157
|
+
# Schedule for the upgrade.
|
3158
|
+
class Schedule
|
3159
|
+
include Google::Apis::Core::Hashable
|
3160
|
+
|
3161
|
+
# Constraints to be applied while editing a schedule. These constraints ensure
|
3162
|
+
# that `Upgrade` specific requirements are met.
|
3163
|
+
# Corresponds to the JSON property `constraints`
|
3164
|
+
# @return [Google::Apis::VmwareengineV1::Constraints]
|
3165
|
+
attr_accessor :constraints
|
3166
|
+
|
3167
|
+
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
3168
|
+
# Timestamp end (exclusive). The start must be less than or equal to the end.
|
3169
|
+
# When the start equals the end, the interval is empty (matches no time). When
|
3170
|
+
# both start and end are unspecified, the interval matches any time.
|
3171
|
+
# Corresponds to the JSON property `editWindow`
|
3172
|
+
# @return [Google::Apis::VmwareengineV1::Interval]
|
3173
|
+
attr_accessor :edit_window
|
3174
|
+
|
3175
|
+
# Output only. Output Only. Indicates who most recently edited the upgrade
|
3176
|
+
# schedule. The value is updated whenever the upgrade is rescheduled.
|
3177
|
+
# Corresponds to the JSON property `lastEditor`
|
3178
|
+
# @return [String]
|
3179
|
+
attr_accessor :last_editor
|
3180
|
+
|
3181
|
+
# Required. The scheduled start time for the upgrade.
|
3182
|
+
# Corresponds to the JSON property `startTime`
|
3183
|
+
# @return [String]
|
3184
|
+
attr_accessor :start_time
|
3185
|
+
|
3186
|
+
# Required. Weekly time windows for upgrade activities. The server performs
|
3187
|
+
# upgrade activities during these time windows to minimize disruptions.
|
3188
|
+
# Corresponds to the JSON property `weeklyWindows`
|
3189
|
+
# @return [Array<Google::Apis::VmwareengineV1::TimeWindow>]
|
3190
|
+
attr_accessor :weekly_windows
|
3191
|
+
|
3192
|
+
def initialize(**args)
|
3193
|
+
update!(**args)
|
3194
|
+
end
|
3195
|
+
|
3196
|
+
# Update properties of this object
|
3197
|
+
def update!(**args)
|
3198
|
+
@constraints = args[:constraints] if args.key?(:constraints)
|
3199
|
+
@edit_window = args[:edit_window] if args.key?(:edit_window)
|
3200
|
+
@last_editor = args[:last_editor] if args.key?(:last_editor)
|
3201
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
3202
|
+
@weekly_windows = args[:weekly_windows] if args.key?(:weekly_windows)
|
3203
|
+
end
|
3204
|
+
end
|
3205
|
+
|
2928
3206
|
# Request message for `SetIamPolicy` method.
|
2929
3207
|
class SetIamPolicyRequest
|
2930
3208
|
include Google::Apis::Core::Hashable
|
@@ -3168,6 +3446,85 @@ module Google
|
|
3168
3446
|
end
|
3169
3447
|
end
|
3170
3448
|
|
3449
|
+
# Represents a time of day. The date and time zone are either not significant or
|
3450
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
3451
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
3452
|
+
class TimeOfDay
|
3453
|
+
include Google::Apis::Core::Hashable
|
3454
|
+
|
3455
|
+
# Hours of a day in 24 hour format. Must be greater than or equal to 0 and
|
3456
|
+
# typically must be less than or equal to 23. An API may choose to allow the
|
3457
|
+
# value "24:00:00" for scenarios like business closing time.
|
3458
|
+
# Corresponds to the JSON property `hours`
|
3459
|
+
# @return [Fixnum]
|
3460
|
+
attr_accessor :hours
|
3461
|
+
|
3462
|
+
# Minutes of an hour. Must be greater than or equal to 0 and less than or equal
|
3463
|
+
# to 59.
|
3464
|
+
# Corresponds to the JSON property `minutes`
|
3465
|
+
# @return [Fixnum]
|
3466
|
+
attr_accessor :minutes
|
3467
|
+
|
3468
|
+
# Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and
|
3469
|
+
# less than or equal to 999,999,999.
|
3470
|
+
# Corresponds to the JSON property `nanos`
|
3471
|
+
# @return [Fixnum]
|
3472
|
+
attr_accessor :nanos
|
3473
|
+
|
3474
|
+
# Seconds of a minute. Must be greater than or equal to 0 and typically must be
|
3475
|
+
# less than or equal to 59. An API may allow the value 60 if it allows leap-
|
3476
|
+
# seconds.
|
3477
|
+
# Corresponds to the JSON property `seconds`
|
3478
|
+
# @return [Fixnum]
|
3479
|
+
attr_accessor :seconds
|
3480
|
+
|
3481
|
+
def initialize(**args)
|
3482
|
+
update!(**args)
|
3483
|
+
end
|
3484
|
+
|
3485
|
+
# Update properties of this object
|
3486
|
+
def update!(**args)
|
3487
|
+
@hours = args[:hours] if args.key?(:hours)
|
3488
|
+
@minutes = args[:minutes] if args.key?(:minutes)
|
3489
|
+
@nanos = args[:nanos] if args.key?(:nanos)
|
3490
|
+
@seconds = args[:seconds] if args.key?(:seconds)
|
3491
|
+
end
|
3492
|
+
end
|
3493
|
+
|
3494
|
+
# Represents the time window to perform upgrade activities.
|
3495
|
+
class TimeWindow
|
3496
|
+
include Google::Apis::Core::Hashable
|
3497
|
+
|
3498
|
+
# Required. Day of the week for this window.
|
3499
|
+
# Corresponds to the JSON property `dayOfWeek`
|
3500
|
+
# @return [String]
|
3501
|
+
attr_accessor :day_of_week
|
3502
|
+
|
3503
|
+
# Required. The duration of the window. The max allowed duration for any window
|
3504
|
+
# is 24 hours.
|
3505
|
+
# Corresponds to the JSON property `duration`
|
3506
|
+
# @return [String]
|
3507
|
+
attr_accessor :duration
|
3508
|
+
|
3509
|
+
# Represents a time of day. The date and time zone are either not significant or
|
3510
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
3511
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
3512
|
+
# Corresponds to the JSON property `startTime`
|
3513
|
+
# @return [Google::Apis::VmwareengineV1::TimeOfDay]
|
3514
|
+
attr_accessor :start_time
|
3515
|
+
|
3516
|
+
def initialize(**args)
|
3517
|
+
update!(**args)
|
3518
|
+
end
|
3519
|
+
|
3520
|
+
# Update properties of this object
|
3521
|
+
def update!(**args)
|
3522
|
+
@day_of_week = args[:day_of_week] if args.key?(:day_of_week)
|
3523
|
+
@duration = args[:duration] if args.key?(:duration)
|
3524
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
3525
|
+
end
|
3526
|
+
end
|
3527
|
+
|
3171
3528
|
# Request message for VmwareEngine.UndeletePrivateCloud
|
3172
3529
|
class UndeletePrivateCloudRequest
|
3173
3530
|
include Google::Apis::Core::Hashable
|
@@ -3188,6 +3545,119 @@ module Google
|
|
3188
3545
|
end
|
3189
3546
|
end
|
3190
3547
|
|
3548
|
+
# Describes Private cloud Upgrade.
|
3549
|
+
class Upgrade
|
3550
|
+
include Google::Apis::Core::Hashable
|
3551
|
+
|
3552
|
+
# Output only. Output Only. The list of component upgrades.
|
3553
|
+
# Corresponds to the JSON property `componentUpgrades`
|
3554
|
+
# @return [Array<Google::Apis::VmwareengineV1::VmwareUpgradeComponent>]
|
3555
|
+
attr_accessor :component_upgrades
|
3556
|
+
|
3557
|
+
# Output only. Output Only. Creation time of this resource.
|
3558
|
+
# Corresponds to the JSON property `createTime`
|
3559
|
+
# @return [String]
|
3560
|
+
attr_accessor :create_time
|
3561
|
+
|
3562
|
+
# Output only. Output Only. The description of the upgrade. This is used to
|
3563
|
+
# provide additional information about the private cloud upgrade, such as the
|
3564
|
+
# upgrade's purpose, the changes included in the upgrade, or any other relevant
|
3565
|
+
# information about the upgrade.
|
3566
|
+
# Corresponds to the JSON property `description`
|
3567
|
+
# @return [String]
|
3568
|
+
attr_accessor :description
|
3569
|
+
|
3570
|
+
# Output only. Output Only. End time of the upgrade.
|
3571
|
+
# Corresponds to the JSON property `endTime`
|
3572
|
+
# @return [String]
|
3573
|
+
attr_accessor :end_time
|
3574
|
+
|
3575
|
+
# Output only. Output Only. The estimated total duration of the upgrade. This
|
3576
|
+
# information can be used to plan or schedule upgrades to minimize disruptions.
|
3577
|
+
# Please note that the estimated duration is only an estimate. The actual
|
3578
|
+
# upgrade duration may vary.
|
3579
|
+
# Corresponds to the JSON property `estimatedDuration`
|
3580
|
+
# @return [String]
|
3581
|
+
attr_accessor :estimated_duration
|
3582
|
+
|
3583
|
+
# The etag for the upgrade resource. If this is provided on update, it must
|
3584
|
+
# match the server's etag.
|
3585
|
+
# Corresponds to the JSON property `etag`
|
3586
|
+
# @return [String]
|
3587
|
+
attr_accessor :etag
|
3588
|
+
|
3589
|
+
# Output only. Identifier. The resource name of the private cloud `Upgrade`.
|
3590
|
+
# Resource names are schemeless URIs that follow the conventions in https://
|
3591
|
+
# cloud.google.com/apis/design/resource_names. For example: `projects/my-project/
|
3592
|
+
# locations/us-west1-a/privateClouds/my-cloud/upgrades/my-upgrade`
|
3593
|
+
# Corresponds to the JSON property `name`
|
3594
|
+
# @return [String]
|
3595
|
+
attr_accessor :name
|
3596
|
+
|
3597
|
+
# Schedule for the upgrade.
|
3598
|
+
# Corresponds to the JSON property `schedule`
|
3599
|
+
# @return [Google::Apis::VmwareengineV1::Schedule]
|
3600
|
+
attr_accessor :schedule
|
3601
|
+
|
3602
|
+
# Output only. Output Only. The start version
|
3603
|
+
# Corresponds to the JSON property `startVersion`
|
3604
|
+
# @return [String]
|
3605
|
+
attr_accessor :start_version
|
3606
|
+
|
3607
|
+
# Output only. The current state of the upgrade.
|
3608
|
+
# Corresponds to the JSON property `state`
|
3609
|
+
# @return [String]
|
3610
|
+
attr_accessor :state
|
3611
|
+
|
3612
|
+
# Output only. Output Only. The target version
|
3613
|
+
# Corresponds to the JSON property `targetVersion`
|
3614
|
+
# @return [String]
|
3615
|
+
attr_accessor :target_version
|
3616
|
+
|
3617
|
+
# Output only. Output Only. The type of upgrade.
|
3618
|
+
# Corresponds to the JSON property `type`
|
3619
|
+
# @return [String]
|
3620
|
+
attr_accessor :type
|
3621
|
+
|
3622
|
+
# Output only. System-generated unique identifier for the resource.
|
3623
|
+
# Corresponds to the JSON property `uid`
|
3624
|
+
# @return [String]
|
3625
|
+
attr_accessor :uid
|
3626
|
+
|
3627
|
+
# Output only. Output Only. Last update time of this resource.
|
3628
|
+
# Corresponds to the JSON property `updateTime`
|
3629
|
+
# @return [String]
|
3630
|
+
attr_accessor :update_time
|
3631
|
+
|
3632
|
+
# Output only.
|
3633
|
+
# Corresponds to the JSON property `version`
|
3634
|
+
# @return [String]
|
3635
|
+
attr_accessor :version
|
3636
|
+
|
3637
|
+
def initialize(**args)
|
3638
|
+
update!(**args)
|
3639
|
+
end
|
3640
|
+
|
3641
|
+
# Update properties of this object
|
3642
|
+
def update!(**args)
|
3643
|
+
@component_upgrades = args[:component_upgrades] if args.key?(:component_upgrades)
|
3644
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3645
|
+
@description = args[:description] if args.key?(:description)
|
3646
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
3647
|
+
@estimated_duration = args[:estimated_duration] if args.key?(:estimated_duration)
|
3648
|
+
@etag = args[:etag] if args.key?(:etag)
|
3649
|
+
@name = args[:name] if args.key?(:name)
|
3650
|
+
@schedule = args[:schedule] if args.key?(:schedule)
|
3651
|
+
@start_version = args[:start_version] if args.key?(:start_version)
|
3652
|
+
@state = args[:state] if args.key?(:state)
|
3653
|
+
@target_version = args[:target_version] if args.key?(:target_version)
|
3654
|
+
@type = args[:type] if args.key?(:type)
|
3655
|
+
@uid = args[:uid] if args.key?(:uid)
|
3656
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3657
|
+
@version = args[:version] if args.key?(:version)
|
3658
|
+
end
|
3659
|
+
end
|
3660
|
+
|
3191
3661
|
# Details about a vCenter Server management appliance.
|
3192
3662
|
class Vcenter
|
3193
3663
|
include Google::Apis::Core::Hashable
|
@@ -3300,6 +3770,31 @@ module Google
|
|
3300
3770
|
end
|
3301
3771
|
end
|
3302
3772
|
|
3773
|
+
# Per component upgrade resource
|
3774
|
+
class VmwareUpgradeComponent
|
3775
|
+
include Google::Apis::Core::Hashable
|
3776
|
+
|
3777
|
+
# Output only. Type of component
|
3778
|
+
# Corresponds to the JSON property `componentType`
|
3779
|
+
# @return [String]
|
3780
|
+
attr_accessor :component_type
|
3781
|
+
|
3782
|
+
# Output only. Component's upgrade state.
|
3783
|
+
# Corresponds to the JSON property `state`
|
3784
|
+
# @return [String]
|
3785
|
+
attr_accessor :state
|
3786
|
+
|
3787
|
+
def initialize(**args)
|
3788
|
+
update!(**args)
|
3789
|
+
end
|
3790
|
+
|
3791
|
+
# Update properties of this object
|
3792
|
+
def update!(**args)
|
3793
|
+
@component_type = args[:component_type] if args.key?(:component_type)
|
3794
|
+
@state = args[:state] if args.key?(:state)
|
3795
|
+
end
|
3796
|
+
end
|
3797
|
+
|
3303
3798
|
# Represents a VMware Engine VPC network that is managed by a VMware Engine
|
3304
3799
|
# network resource.
|
3305
3800
|
class VpcNetwork
|
@@ -3327,6 +3822,48 @@ module Google
|
|
3327
3822
|
@type = args[:type] if args.key?(:type)
|
3328
3823
|
end
|
3329
3824
|
end
|
3825
|
+
|
3826
|
+
# Represents a time interval, spanning across days of the week. Until local
|
3827
|
+
# timezones are supported, this interval is in UTC.
|
3828
|
+
class WeeklyTimeInterval
|
3829
|
+
include Google::Apis::Core::Hashable
|
3830
|
+
|
3831
|
+
# Output only. The day on which the interval ends. Can be same as start day.
|
3832
|
+
# Corresponds to the JSON property `endDay`
|
3833
|
+
# @return [String]
|
3834
|
+
attr_accessor :end_day
|
3835
|
+
|
3836
|
+
# Represents a time of day. The date and time zone are either not significant or
|
3837
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
3838
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
3839
|
+
# Corresponds to the JSON property `endTime`
|
3840
|
+
# @return [Google::Apis::VmwareengineV1::TimeOfDay]
|
3841
|
+
attr_accessor :end_time
|
3842
|
+
|
3843
|
+
# Output only. The day on which the interval starts.
|
3844
|
+
# Corresponds to the JSON property `startDay`
|
3845
|
+
# @return [String]
|
3846
|
+
attr_accessor :start_day
|
3847
|
+
|
3848
|
+
# Represents a time of day. The date and time zone are either not significant or
|
3849
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
3850
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
3851
|
+
# Corresponds to the JSON property `startTime`
|
3852
|
+
# @return [Google::Apis::VmwareengineV1::TimeOfDay]
|
3853
|
+
attr_accessor :start_time
|
3854
|
+
|
3855
|
+
def initialize(**args)
|
3856
|
+
update!(**args)
|
3857
|
+
end
|
3858
|
+
|
3859
|
+
# Update properties of this object
|
3860
|
+
def update!(**args)
|
3861
|
+
@end_day = args[:end_day] if args.key?(:end_day)
|
3862
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
3863
|
+
@start_day = args[:start_day] if args.key?(:start_day)
|
3864
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
3865
|
+
end
|
3866
|
+
end
|
3330
3867
|
end
|
3331
3868
|
end
|
3332
3869
|
end
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250410"
|
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,41 @@ 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 WeeklyTimeInterval
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
523
|
+
class Announcement
|
524
|
+
# @private
|
525
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
526
|
+
property :activity_type, as: 'activityType'
|
527
|
+
property :cluster, as: 'cluster'
|
528
|
+
property :code, as: 'code'
|
529
|
+
property :create_time, as: 'createTime'
|
530
|
+
property :description, as: 'description'
|
531
|
+
hash :metadata, as: 'metadata'
|
532
|
+
property :name, as: 'name'
|
533
|
+
property :private_cloud, as: 'privateCloud'
|
534
|
+
property :state, as: 'state'
|
535
|
+
property :target_resource_type, as: 'targetResourceType'
|
536
|
+
property :update_time, as: 'updateTime'
|
537
|
+
end
|
538
|
+
end
|
539
|
+
|
457
540
|
class AuditConfig
|
458
541
|
# @private
|
459
542
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -526,6 +609,18 @@ module Google
|
|
526
609
|
end
|
527
610
|
end
|
528
611
|
|
612
|
+
class Constraints
|
613
|
+
# @private
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
615
|
+
collection :disallowed_intervals, as: 'disallowedIntervals', class: Google::Apis::VmwareengineV1::WeeklyTimeInterval, decorator: Google::Apis::VmwareengineV1::WeeklyTimeInterval::Representation
|
616
|
+
|
617
|
+
property :min_hours_day, as: 'minHoursDay'
|
618
|
+
property :min_hours_week, as: 'minHoursWeek'
|
619
|
+
property :reschedule_date_range, as: 'rescheduleDateRange', class: Google::Apis::VmwareengineV1::Interval, decorator: Google::Apis::VmwareengineV1::Interval::Representation
|
620
|
+
|
621
|
+
end
|
622
|
+
end
|
623
|
+
|
529
624
|
class Credentials
|
530
625
|
# @private
|
531
626
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -652,6 +747,14 @@ module Google
|
|
652
747
|
end
|
653
748
|
end
|
654
749
|
|
750
|
+
class Interval
|
751
|
+
# @private
|
752
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
753
|
+
property :end_time, as: 'endTime'
|
754
|
+
property :start_time, as: 'startTime'
|
755
|
+
end
|
756
|
+
end
|
757
|
+
|
655
758
|
class IpRange
|
656
759
|
# @private
|
657
760
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -661,6 +764,16 @@ module Google
|
|
661
764
|
end
|
662
765
|
end
|
663
766
|
|
767
|
+
class ListAnnouncementsResponse
|
768
|
+
# @private
|
769
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
770
|
+
collection :announcements, as: 'announcements', class: Google::Apis::VmwareengineV1::Announcement, decorator: Google::Apis::VmwareengineV1::Announcement::Representation
|
771
|
+
|
772
|
+
property :next_page_token, as: 'nextPageToken'
|
773
|
+
collection :unreachable, as: 'unreachable'
|
774
|
+
end
|
775
|
+
end
|
776
|
+
|
664
777
|
class ListClustersResponse
|
665
778
|
# @private
|
666
779
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -826,6 +939,16 @@ module Google
|
|
826
939
|
end
|
827
940
|
end
|
828
941
|
|
942
|
+
class ListUpgradesResponse
|
943
|
+
# @private
|
944
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
945
|
+
property :next_page_token, as: 'nextPageToken'
|
946
|
+
collection :unreachable, as: 'unreachable'
|
947
|
+
collection :upgrades, as: 'upgrades', class: Google::Apis::VmwareengineV1::Upgrade, decorator: Google::Apis::VmwareengineV1::Upgrade::Representation
|
948
|
+
|
949
|
+
end
|
950
|
+
end
|
951
|
+
|
829
952
|
class ListVmwareEngineNetworksResponse
|
830
953
|
# @private
|
831
954
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1132,6 +1255,20 @@ module Google
|
|
1132
1255
|
end
|
1133
1256
|
end
|
1134
1257
|
|
1258
|
+
class Schedule
|
1259
|
+
# @private
|
1260
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1261
|
+
property :constraints, as: 'constraints', class: Google::Apis::VmwareengineV1::Constraints, decorator: Google::Apis::VmwareengineV1::Constraints::Representation
|
1262
|
+
|
1263
|
+
property :edit_window, as: 'editWindow', class: Google::Apis::VmwareengineV1::Interval, decorator: Google::Apis::VmwareengineV1::Interval::Representation
|
1264
|
+
|
1265
|
+
property :last_editor, as: 'lastEditor'
|
1266
|
+
property :start_time, as: 'startTime'
|
1267
|
+
collection :weekly_windows, as: 'weeklyWindows', class: Google::Apis::VmwareengineV1::TimeWindow, decorator: Google::Apis::VmwareengineV1::TimeWindow::Representation
|
1268
|
+
|
1269
|
+
end
|
1270
|
+
end
|
1271
|
+
|
1135
1272
|
class SetIamPolicyRequest
|
1136
1273
|
# @private
|
1137
1274
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1192,6 +1329,26 @@ module Google
|
|
1192
1329
|
end
|
1193
1330
|
end
|
1194
1331
|
|
1332
|
+
class TimeOfDay
|
1333
|
+
# @private
|
1334
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1335
|
+
property :hours, as: 'hours'
|
1336
|
+
property :minutes, as: 'minutes'
|
1337
|
+
property :nanos, as: 'nanos'
|
1338
|
+
property :seconds, as: 'seconds'
|
1339
|
+
end
|
1340
|
+
end
|
1341
|
+
|
1342
|
+
class TimeWindow
|
1343
|
+
# @private
|
1344
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1345
|
+
property :day_of_week, as: 'dayOfWeek'
|
1346
|
+
property :duration, as: 'duration'
|
1347
|
+
property :start_time, as: 'startTime', class: Google::Apis::VmwareengineV1::TimeOfDay, decorator: Google::Apis::VmwareengineV1::TimeOfDay::Representation
|
1348
|
+
|
1349
|
+
end
|
1350
|
+
end
|
1351
|
+
|
1195
1352
|
class UndeletePrivateCloudRequest
|
1196
1353
|
# @private
|
1197
1354
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1199,6 +1356,29 @@ module Google
|
|
1199
1356
|
end
|
1200
1357
|
end
|
1201
1358
|
|
1359
|
+
class Upgrade
|
1360
|
+
# @private
|
1361
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1362
|
+
collection :component_upgrades, as: 'componentUpgrades', class: Google::Apis::VmwareengineV1::VmwareUpgradeComponent, decorator: Google::Apis::VmwareengineV1::VmwareUpgradeComponent::Representation
|
1363
|
+
|
1364
|
+
property :create_time, as: 'createTime'
|
1365
|
+
property :description, as: 'description'
|
1366
|
+
property :end_time, as: 'endTime'
|
1367
|
+
property :estimated_duration, as: 'estimatedDuration'
|
1368
|
+
property :etag, as: 'etag'
|
1369
|
+
property :name, as: 'name'
|
1370
|
+
property :schedule, as: 'schedule', class: Google::Apis::VmwareengineV1::Schedule, decorator: Google::Apis::VmwareengineV1::Schedule::Representation
|
1371
|
+
|
1372
|
+
property :start_version, as: 'startVersion'
|
1373
|
+
property :state, as: 'state'
|
1374
|
+
property :target_version, as: 'targetVersion'
|
1375
|
+
property :type, as: 'type'
|
1376
|
+
property :uid, as: 'uid'
|
1377
|
+
property :update_time, as: 'updateTime'
|
1378
|
+
property :version, as: 'version'
|
1379
|
+
end
|
1380
|
+
end
|
1381
|
+
|
1202
1382
|
class Vcenter
|
1203
1383
|
# @private
|
1204
1384
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1225,6 +1405,14 @@ module Google
|
|
1225
1405
|
end
|
1226
1406
|
end
|
1227
1407
|
|
1408
|
+
class VmwareUpgradeComponent
|
1409
|
+
# @private
|
1410
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1411
|
+
property :component_type, as: 'componentType'
|
1412
|
+
property :state, as: 'state'
|
1413
|
+
end
|
1414
|
+
end
|
1415
|
+
|
1228
1416
|
class VpcNetwork
|
1229
1417
|
# @private
|
1230
1418
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1232,6 +1420,18 @@ module Google
|
|
1232
1420
|
property :type, as: 'type'
|
1233
1421
|
end
|
1234
1422
|
end
|
1423
|
+
|
1424
|
+
class WeeklyTimeInterval
|
1425
|
+
# @private
|
1426
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1427
|
+
property :end_day, as: 'endDay'
|
1428
|
+
property :end_time, as: 'endTime', class: Google::Apis::VmwareengineV1::TimeOfDay, decorator: Google::Apis::VmwareengineV1::TimeOfDay::Representation
|
1429
|
+
|
1430
|
+
property :start_day, as: 'startDay'
|
1431
|
+
property :start_time, as: 'startTime', class: Google::Apis::VmwareengineV1::TimeOfDay, decorator: Google::Apis::VmwareengineV1::TimeOfDay::Representation
|
1432
|
+
|
1433
|
+
end
|
1434
|
+
end
|
1235
1435
|
end
|
1236
1436
|
end
|
1237
1437
|
end
|
@@ -122,6 +122,9 @@ module Google
|
|
122
122
|
# Lists information about the supported locations for this service.
|
123
123
|
# @param [String] name
|
124
124
|
# The resource that owns the locations collection, if applicable.
|
125
|
+
# @param [Array<String>, String] extra_location_types
|
126
|
+
# Optional. A list of extra location types that should be used as conditions for
|
127
|
+
# controlling the visibility of the locations.
|
125
128
|
# @param [String] filter
|
126
129
|
# A filter to narrow down results to a preferred subset. The filtering language
|
127
130
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -149,11 +152,12 @@ module Google
|
|
149
152
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
150
153
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
151
154
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
152
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
155
|
+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
153
156
|
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
154
157
|
command.response_representation = Google::Apis::VmwareengineV1::ListLocationsResponse::Representation
|
155
158
|
command.response_class = Google::Apis::VmwareengineV1::ListLocationsResponse
|
156
159
|
command.params['name'] = name unless name.nil?
|
160
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
157
161
|
command.query['filter'] = filter unless filter.nil?
|
158
162
|
command.query['pageSize'] = page_size unless page_size.nil?
|
159
163
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -162,6 +166,103 @@ module Google
|
|
162
166
|
execute_or_queue_command(command, &block)
|
163
167
|
end
|
164
168
|
|
169
|
+
# Retrieves a `Announcement` by its resource name.
|
170
|
+
# @param [String] name
|
171
|
+
# Required. The resource name of the announcement to retrieve. Resource names
|
172
|
+
# are schemeless URIs that follow the conventions in https://cloud.google.com/
|
173
|
+
# apis/design/resource_names. For example: `projects/my-project/locations/us-
|
174
|
+
# west1-a/announcements/announcement-uuid`
|
175
|
+
# @param [String] fields
|
176
|
+
# Selector specifying which fields to include in a partial response.
|
177
|
+
# @param [String] quota_user
|
178
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
179
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
180
|
+
# @param [Google::Apis::RequestOptions] options
|
181
|
+
# Request-specific options
|
182
|
+
#
|
183
|
+
# @yield [result, err] Result & error if block supplied
|
184
|
+
# @yieldparam result [Google::Apis::VmwareengineV1::Announcement] parsed result object
|
185
|
+
# @yieldparam err [StandardError] error object if request failed
|
186
|
+
#
|
187
|
+
# @return [Google::Apis::VmwareengineV1::Announcement]
|
188
|
+
#
|
189
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
190
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
191
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
192
|
+
def get_project_location_announcement(name, fields: nil, quota_user: nil, options: nil, &block)
|
193
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
194
|
+
command.response_representation = Google::Apis::VmwareengineV1::Announcement::Representation
|
195
|
+
command.response_class = Google::Apis::VmwareengineV1::Announcement
|
196
|
+
command.params['name'] = name unless name.nil?
|
197
|
+
command.query['fields'] = fields unless fields.nil?
|
198
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
199
|
+
execute_or_queue_command(command, &block)
|
200
|
+
end
|
201
|
+
|
202
|
+
# Lists `Announcements` for a given region and project
|
203
|
+
# @param [String] parent
|
204
|
+
# Required. The resource name of the location to be queried for announcements.
|
205
|
+
# Resource names are schemeless URIs that follow the conventions in https://
|
206
|
+
# cloud.google.com/apis/design/resource_names. For example: `projects/my-project/
|
207
|
+
# locations/us-west1-a`
|
208
|
+
# @param [String] filter
|
209
|
+
# A filter expression that matches resources returned in the response. The
|
210
|
+
# expression must specify the field name, a comparison operator, and the value
|
211
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
212
|
+
# boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example,
|
213
|
+
# if you are filtering a list of announcement runs, you can exclude the ones
|
214
|
+
# named `example-announcement` by specifying `name != "example-announcement"`.
|
215
|
+
# You can also filter nested fields. To filter on multiple expressions, provide
|
216
|
+
# each separate expression within parentheses. For example: ``` (name = "example-
|
217
|
+
# announcement") (createTime > "2021-04-12T08:15:10.40Z") ``` By default, each
|
218
|
+
# expression is an `AND` expression. However, you can include `AND` and `OR`
|
219
|
+
# expressions explicitly. For example: ``` (name = "announcement-1") AND (
|
220
|
+
# createTime > "2021-04-12T08:15:10.40Z") OR (name = "announcement-2") ```
|
221
|
+
# @param [String] order_by
|
222
|
+
# Sorts list results by a certain order. By default, returned results are
|
223
|
+
# ordered by `name` in ascending order. You can also sort results in descending
|
224
|
+
# order based on the `name` value using `orderBy="name desc"`. Currently, only
|
225
|
+
# ordering by `name` is supported.
|
226
|
+
# @param [Fixnum] page_size
|
227
|
+
# The maximum number of announcements to return in one page. The service may
|
228
|
+
# return fewer than this value. The maximum value is coerced to 1000. The
|
229
|
+
# default value of this field is 500.
|
230
|
+
# @param [String] page_token
|
231
|
+
# A page token, received from a previous `ListAnnouncements` call. Provide this
|
232
|
+
# to retrieve the subsequent page. When paginating, all other parameters
|
233
|
+
# provided to `ListAnnouncements` must match the call that provided the page
|
234
|
+
# token.
|
235
|
+
# @param [String] fields
|
236
|
+
# Selector specifying which fields to include in a partial response.
|
237
|
+
# @param [String] quota_user
|
238
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
239
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
240
|
+
# @param [Google::Apis::RequestOptions] options
|
241
|
+
# Request-specific options
|
242
|
+
#
|
243
|
+
# @yield [result, err] Result & error if block supplied
|
244
|
+
# @yieldparam result [Google::Apis::VmwareengineV1::ListAnnouncementsResponse] parsed result object
|
245
|
+
# @yieldparam err [StandardError] error object if request failed
|
246
|
+
#
|
247
|
+
# @return [Google::Apis::VmwareengineV1::ListAnnouncementsResponse]
|
248
|
+
#
|
249
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
250
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
251
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
252
|
+
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)
|
253
|
+
command = make_simple_command(:get, 'v1/{+parent}/announcements', options)
|
254
|
+
command.response_representation = Google::Apis::VmwareengineV1::ListAnnouncementsResponse::Representation
|
255
|
+
command.response_class = Google::Apis::VmwareengineV1::ListAnnouncementsResponse
|
256
|
+
command.params['parent'] = parent unless parent.nil?
|
257
|
+
command.query['filter'] = filter unless filter.nil?
|
258
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
259
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
260
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
261
|
+
command.query['fields'] = fields unless fields.nil?
|
262
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
263
|
+
execute_or_queue_command(command, &block)
|
264
|
+
end
|
265
|
+
|
165
266
|
# Grants the bind permission to the customer provided principal(user / service
|
166
267
|
# account) to bind their DNS zone with the intranet VPC associated with the
|
167
268
|
# project. DnsBindPermission is a global resource and location can only be
|
@@ -3643,6 +3744,161 @@ module Google
|
|
3643
3744
|
execute_or_queue_command(command, &block)
|
3644
3745
|
end
|
3645
3746
|
|
3747
|
+
# Retrieves a private cloud `Upgrade` resource by its resource name.
|
3748
|
+
# @param [String] name
|
3749
|
+
# Required. The name of the `Upgrade` resource to be retrieved. Resource names
|
3750
|
+
# are schemeless URIs that follow the conventions in https://cloud.google.com/
|
3751
|
+
# apis/design/resource_names. For example: `projects/my-project/locations/us-
|
3752
|
+
# west1-a/privateClouds/my-cloud/upgrades/my-upgrade`
|
3753
|
+
# @param [String] fields
|
3754
|
+
# Selector specifying which fields to include in a partial response.
|
3755
|
+
# @param [String] quota_user
|
3756
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3757
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3758
|
+
# @param [Google::Apis::RequestOptions] options
|
3759
|
+
# Request-specific options
|
3760
|
+
#
|
3761
|
+
# @yield [result, err] Result & error if block supplied
|
3762
|
+
# @yieldparam result [Google::Apis::VmwareengineV1::Upgrade] parsed result object
|
3763
|
+
# @yieldparam err [StandardError] error object if request failed
|
3764
|
+
#
|
3765
|
+
# @return [Google::Apis::VmwareengineV1::Upgrade]
|
3766
|
+
#
|
3767
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3768
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3769
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3770
|
+
def get_project_location_private_cloud_upgrade(name, fields: nil, quota_user: nil, options: nil, &block)
|
3771
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
3772
|
+
command.response_representation = Google::Apis::VmwareengineV1::Upgrade::Representation
|
3773
|
+
command.response_class = Google::Apis::VmwareengineV1::Upgrade
|
3774
|
+
command.params['name'] = name unless name.nil?
|
3775
|
+
command.query['fields'] = fields unless fields.nil?
|
3776
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3777
|
+
execute_or_queue_command(command, &block)
|
3778
|
+
end
|
3779
|
+
|
3780
|
+
# Lists past, ongoing and upcoming `Upgrades` for the given private cloud.
|
3781
|
+
# @param [String] parent
|
3782
|
+
# Required. Query a list of `Upgrades` for the given private cloud resource name.
|
3783
|
+
# Resource names are schemeless URIs that follow the conventions in https://
|
3784
|
+
# cloud.google.com/apis/design/resource_names. For example: `projects/my-project/
|
3785
|
+
# locations/us-west1-a/privateClouds/my-cloud`
|
3786
|
+
# @param [String] filter
|
3787
|
+
# A filter expression that matches resources returned in the response. The
|
3788
|
+
# expression must specify the field name, a comparison operator, and the value
|
3789
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
3790
|
+
# boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For example,
|
3791
|
+
# if you are filtering a list of upgrades, you can exclude the ones named `
|
3792
|
+
# example-upgrade1` by specifying `name != "example-upgrade1"`. You can also
|
3793
|
+
# filter nested fields. To filter on multiple expressions, provide each separate
|
3794
|
+
# expression within parentheses. For example: ``` (name = "example-upgrade") (
|
3795
|
+
# createTime > "2021-04-12T08:15:10.40Z") ``` By default, each expression is an `
|
3796
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
3797
|
+
# explicitly. For example: ``` (name = "upgrade-1") AND (createTime > "2021-04-
|
3798
|
+
# 12T08:15:10.40Z") OR (name = "upgrade-2") ```
|
3799
|
+
# @param [String] order_by
|
3800
|
+
# Sorts list results by a certain order. By default, returned results are
|
3801
|
+
# ordered by `name` in ascending order. You can also sort results in descending
|
3802
|
+
# order based on the `name` value using `orderBy="name desc"`. Currently, only
|
3803
|
+
# ordering by `name` is supported.
|
3804
|
+
# @param [Fixnum] page_size
|
3805
|
+
# The maximum number of `Upgrades` to return in one page. The service may return
|
3806
|
+
# fewer resources than this value. The maximum value is coerced to 1000. The
|
3807
|
+
# default value of this field is 500.
|
3808
|
+
# @param [String] page_token
|
3809
|
+
# A page token, received from a previous `ListUpgrades` call. Provide this to
|
3810
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
3811
|
+
# to `ListUpgrades` must match the call that provided the page token.
|
3812
|
+
# @param [String] fields
|
3813
|
+
# Selector specifying which fields to include in a partial response.
|
3814
|
+
# @param [String] quota_user
|
3815
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3816
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3817
|
+
# @param [Google::Apis::RequestOptions] options
|
3818
|
+
# Request-specific options
|
3819
|
+
#
|
3820
|
+
# @yield [result, err] Result & error if block supplied
|
3821
|
+
# @yieldparam result [Google::Apis::VmwareengineV1::ListUpgradesResponse] parsed result object
|
3822
|
+
# @yieldparam err [StandardError] error object if request failed
|
3823
|
+
#
|
3824
|
+
# @return [Google::Apis::VmwareengineV1::ListUpgradesResponse]
|
3825
|
+
#
|
3826
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3827
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3828
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3829
|
+
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)
|
3830
|
+
command = make_simple_command(:get, 'v1/{+parent}/upgrades', options)
|
3831
|
+
command.response_representation = Google::Apis::VmwareengineV1::ListUpgradesResponse::Representation
|
3832
|
+
command.response_class = Google::Apis::VmwareengineV1::ListUpgradesResponse
|
3833
|
+
command.params['parent'] = parent unless parent.nil?
|
3834
|
+
command.query['filter'] = filter unless filter.nil?
|
3835
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3836
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3837
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3838
|
+
command.query['fields'] = fields unless fields.nil?
|
3839
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3840
|
+
execute_or_queue_command(command, &block)
|
3841
|
+
end
|
3842
|
+
|
3843
|
+
# Update the private cloud `Upgrade` resource. Only `schedule` field can updated.
|
3844
|
+
# The schedule can only be updated when the upgrade has not started and
|
3845
|
+
# schedule edit window is open. Only fields specified in `update_mask` are
|
3846
|
+
# considered.
|
3847
|
+
# @param [String] name
|
3848
|
+
# Output only. Identifier. The resource name of the private cloud `Upgrade`.
|
3849
|
+
# Resource names are schemeless URIs that follow the conventions in https://
|
3850
|
+
# cloud.google.com/apis/design/resource_names. For example: `projects/my-project/
|
3851
|
+
# locations/us-west1-a/privateClouds/my-cloud/upgrades/my-upgrade`
|
3852
|
+
# @param [Google::Apis::VmwareengineV1::Upgrade] upgrade_object
|
3853
|
+
# @param [String] request_id
|
3854
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
3855
|
+
# that if you must retry your request, the server will know to ignore the
|
3856
|
+
# request if it has already been completed. The server guarantees that a request
|
3857
|
+
# doesn't result in creation of duplicate commitments for at least 60 minutes.
|
3858
|
+
# For example, consider a situation where you make an initial request and the
|
3859
|
+
# request times out. If you make the request again with the same request ID, the
|
3860
|
+
# server can check if original operation with the same request ID was received,
|
3861
|
+
# and if so, will ignore the second request. This prevents clients from
|
3862
|
+
# accidentally creating duplicate commitments. The request ID must be a valid
|
3863
|
+
# UUID with the exception that zero UUID is not supported (00000000-0000-0000-
|
3864
|
+
# 0000-000000000000).
|
3865
|
+
# @param [String] update_mask
|
3866
|
+
# Required. Field mask is used to specify the fields to be overwritten in the `
|
3867
|
+
# Upgrade` resource by the update. The fields specified in the `update_mask` are
|
3868
|
+
# relative to the resource, not the full request. A field will be overwritten if
|
3869
|
+
# it is in the mask. If the user does not provide a mask then all fields will be
|
3870
|
+
# overwritten.
|
3871
|
+
# @param [String] fields
|
3872
|
+
# Selector specifying which fields to include in a partial response.
|
3873
|
+
# @param [String] quota_user
|
3874
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3875
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3876
|
+
# @param [Google::Apis::RequestOptions] options
|
3877
|
+
# Request-specific options
|
3878
|
+
#
|
3879
|
+
# @yield [result, err] Result & error if block supplied
|
3880
|
+
# @yieldparam result [Google::Apis::VmwareengineV1::Operation] parsed result object
|
3881
|
+
# @yieldparam err [StandardError] error object if request failed
|
3882
|
+
#
|
3883
|
+
# @return [Google::Apis::VmwareengineV1::Operation]
|
3884
|
+
#
|
3885
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3886
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3887
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3888
|
+
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)
|
3889
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
3890
|
+
command.request_representation = Google::Apis::VmwareengineV1::Upgrade::Representation
|
3891
|
+
command.request_object = upgrade_object
|
3892
|
+
command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation
|
3893
|
+
command.response_class = Google::Apis::VmwareengineV1::Operation
|
3894
|
+
command.params['name'] = name unless name.nil?
|
3895
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3896
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3897
|
+
command.query['fields'] = fields unless fields.nil?
|
3898
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3899
|
+
execute_or_queue_command(command, &block)
|
3900
|
+
end
|
3901
|
+
|
3646
3902
|
# Creates a new private connection that can be used for accessing private Clouds.
|
3647
3903
|
# @param [String] parent
|
3648
3904
|
# 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.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-04-20 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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-vmwareengine_v1/v0.10.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
|
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: []
|