google-apis-vmwareengine_v1 0.9.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: 67cd228711a5895e861da17593670874708f288166181db8ef86fddc06c6143c
4
- data.tar.gz: 20b4cb9a4e955d9fe40973f330eedb0d3a9b3d2871f0885a9f838628ab896a4c
3
+ metadata.gz: 100046ea7abb0c5f2ec5b9ebda1aa91bd277c6dad683dc1ca593eb69b34ffab1
4
+ data.tar.gz: 73d4cd9b0fd908a2fb6280ce1d9ce4b037878618fd385198de774d98a5b147ab
5
5
  SHA512:
6
- metadata.gz: 066c34862c1d53db7a177ce6b343034b419d07e5334fb3b3a565c71cef4490bc09ab86d65cb9a2c1fd6ced9dff4683fae319179534d61bd3b32817dda251ed44
7
- data.tar.gz: a844f323d4c2c3a04b9cb6d1f25a1f53a71c693d34431b00450bc0ac2c21cdf00de80e441c4b9fb05a9b1614aa78d4d9dc011b3849903c64e0bd46b20d741557
6
+ metadata.gz: eecaf78948d82d03cd05da671835635d2a33cc9cb545f020dd069c316dee40679548016ab1128d17dfdca99589b6a811a44c0b25e6a248ae295662db93237e7d
7
+ data.tar.gz: 316f0655d1d866541ef3d469c40ea6203564fb02c4b00694627d773e9a3e60e67fd626bb14e837089a9c09cbe1423930106960ebf4b82ae371dc7626982a2c96
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.9.0 (2025-02-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20250218
@@ -470,6 +470,13 @@ module Google
470
470
  class Constraints
471
471
  include Google::Apis::Core::Hashable
472
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
+
473
480
  # Output only. Minimum number of hours must be allotted for the upgrade
474
481
  # activities for each selected day. This is a minimum; the upgrade schedule can
475
482
  # allot more hours for the given day.
@@ -498,6 +505,7 @@ module Google
498
505
 
499
506
  # Update properties of this object
500
507
  def update!(**args)
508
+ @disallowed_intervals = args[:disallowed_intervals] if args.key?(:disallowed_intervals)
501
509
  @min_hours_day = args[:min_hours_day] if args.key?(:min_hours_day)
502
510
  @min_hours_week = args[:min_hours_week] if args.key?(:min_hours_week)
503
511
  @reschedule_date_range = args[:reschedule_date_range] if args.key?(:reschedule_date_range)
@@ -3814,6 +3822,48 @@ module Google
3814
3822
  @type = args[:type] if args.key?(:type)
3815
3823
  end
3816
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
3817
3867
  end
3818
3868
  end
3819
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.9.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250218"
25
+ REVISION = "20250410"
26
26
  end
27
27
  end
28
28
  end
@@ -514,6 +514,12 @@ module Google
514
514
  include Google::Apis::Core::JsonObjectSupport
515
515
  end
516
516
 
517
+ class WeeklyTimeInterval
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
517
523
  class Announcement
518
524
  # @private
519
525
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -606,6 +612,8 @@ module Google
606
612
  class Constraints
607
613
  # @private
608
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
+
609
617
  property :min_hours_day, as: 'minHoursDay'
610
618
  property :min_hours_week, as: 'minHoursWeek'
611
619
  property :reschedule_date_range, as: 'rescheduleDateRange', class: Google::Apis::VmwareengineV1::Interval, decorator: Google::Apis::VmwareengineV1::Interval::Representation
@@ -1412,6 +1420,18 @@ module Google
1412
1420
  property :type, as: 'type'
1413
1421
  end
1414
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
1415
1435
  end
1416
1436
  end
1417
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?
metadata CHANGED
@@ -1,13 +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.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-04-20 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmwareengine_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmwareengine_v1/v0.9.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmwareengine_v1/v0.10.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmwareengine_v1
62
62
  rdoc_options: []
63
63
  require_paths: