Class: Google::Apis::CloudassetV1p7beta1::UpdateTimeWindow
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1p7beta1::UpdateTimeWindow
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1p7beta1/classes.rb,
lib/google/apis/cloudasset_v1p7beta1/representations.rb,
lib/google/apis/cloudasset_v1p7beta1/representations.rb
Overview
Time window configuration for asset updates requests.
Instance Attribute Summary collapse
-
#time_window ⇒ Google::Apis::CloudassetV1p7beta1::TimeWindow
A time window specified by its
start_timeandend_time. -
#type ⇒ String
The type of the time in time_window.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateTimeWindow
constructor
A new instance of UpdateTimeWindow.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateTimeWindow
Returns a new instance of UpdateTimeWindow.
2307 2308 2309 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 2307 def initialize(**args) update!(**args) end |
Instance Attribute Details
#time_window ⇒ Google::Apis::CloudassetV1p7beta1::TimeWindow
A time window specified by its start_time and end_time.
Corresponds to the JSON property timeWindow
2300 2301 2302 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 2300 def time_window @time_window end |
#type ⇒ String
The type of the time in time_window.
Corresponds to the JSON property type
2305 2306 2307 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 2305 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2312 2313 2314 2315 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 2312 def update!(**args) @time_window = args[:time_window] if args.key?(:time_window) @type = args[:type] if args.key?(:type) end |