Class: Google::Apis::BaremetalsolutionV2::ListSnapshotSchedulePoliciesResponse
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV2::ListSnapshotSchedulePoliciesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/baremetalsolution_v2/classes.rb,
lib/google/apis/baremetalsolution_v2/representations.rb,
lib/google/apis/baremetalsolution_v2/representations.rb
Overview
Response message containing the list of snapshot schedule policies.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more results in the list.
-
#snapshot_schedule_policies ⇒ Array<Google::Apis::BaremetalsolutionV2::SnapshotSchedulePolicy>
The snapshot schedule policies registered in this project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSnapshotSchedulePoliciesResponse
constructor
A new instance of ListSnapshotSchedulePoliciesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListSnapshotSchedulePoliciesResponse
Returns a new instance of ListSnapshotSchedulePoliciesResponse.
262 263 264 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 262 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more
results in the list.
Corresponds to the JSON property nextPageToken
255 256 257 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 255 def next_page_token @next_page_token end |
#snapshot_schedule_policies ⇒ Array<Google::Apis::BaremetalsolutionV2::SnapshotSchedulePolicy>
The snapshot schedule policies registered in this project.
Corresponds to the JSON property snapshotSchedulePolicies
260 261 262 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 260 def snapshot_schedule_policies @snapshot_schedule_policies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
267 268 269 270 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 267 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @snapshot_schedule_policies = args[:snapshot_schedule_policies] if args.key?(:snapshot_schedule_policies) end |