Class: Google::Apis::SecuritypostureV1::ListPostureDeploymentsResponse

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 ListPostureDeployments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPostureDeploymentsResponse

Returns a new instance of ListPostureDeploymentsResponse.



676
677
678
# File 'lib/google/apis/securityposture_v1/classes.rb', line 676

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)


664
665
666
# File 'lib/google/apis/securityposture_v1/classes.rb', line 664

def next_page_token
  @next_page_token
end

#posture_deploymentsArray<Google::Apis::SecuritypostureV1::PostureDeployment>

The list of PostureDeployment resources. Corresponds to the JSON property postureDeployments



669
670
671
# File 'lib/google/apis/securityposture_v1/classes.rb', line 669

def posture_deployments
  @posture_deployments
end

#unreachableArray<String>

Locations that were temporarily unavailable and could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


674
675
676
# File 'lib/google/apis/securityposture_v1/classes.rb', line 674

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



681
682
683
684
685
# File 'lib/google/apis/securityposture_v1/classes.rb', line 681

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