Class: Google::Apis::BaremetalsolutionV2::ListSnapshotSchedulePoliciesResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSnapshotSchedulePoliciesResponse

Returns a new instance of ListSnapshotSchedulePoliciesResponse.



534
535
536
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 534

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


527
528
529
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 527

def next_page_token
  @next_page_token
end

#snapshot_schedule_policiesArray<Google::Apis::BaremetalsolutionV2::SnapshotSchedulePolicy>

The snapshot schedule policies registered in this project. Corresponds to the JSON property snapshotSchedulePolicies



532
533
534
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 532

def snapshot_schedule_policies
  @snapshot_schedule_policies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



539
540
541
542
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 539

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