Class: Google::Apis::SecuritypostureV1::ListPostureRevisionsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securityposture_v1/classes.rb,
lib/google/apis/securityposture_v1/representations.rb,
lib/google/apis/securityposture_v1/representations.rb

Overview

Response message for ListPostureRevisions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPostureRevisionsResponse

Returns a new instance of ListPostureRevisionsResponse.



703
704
705
# File 'lib/google/apis/securityposture_v1/classes.rb', line 703

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

Instance Attribute Details

#next_page_tokenString

A pagination token. To retrieve the next page of results, call the method again with this token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


696
697
698
# File 'lib/google/apis/securityposture_v1/classes.rb', line 696

def next_page_token
  @next_page_token
end

#revisionsArray<Google::Apis::SecuritypostureV1::Posture>

The list of revisions for the Posture. Corresponds to the JSON property revisions



701
702
703
# File 'lib/google/apis/securityposture_v1/classes.rb', line 701

def revisions
  @revisions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



708
709
710
711
# File 'lib/google/apis/securityposture_v1/classes.rb', line 708

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @revisions = args[:revisions] if args.key?(:revisions)
end