Class: Google::Apis::BinaryauthorizationV1::ListPlatformPoliciesResponse

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

Overview

Response message for PlatformPolicyManagementService.ListPlatformPolicies.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPlatformPoliciesResponse

Returns a new instance of ListPlatformPoliciesResponse.



785
786
787
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 785

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

Instance Attribute Details

#next_page_tokenString

A token to retrieve the next page of results. Pass this value in the ListPlatformPoliciesRequest.page_token field in the subsequent call to the ListPlatformPolicies method to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


778
779
780
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 778

def next_page_token
  @next_page_token
end

#platform_policiesArray<Google::Apis::BinaryauthorizationV1::PlatformPolicy>

The list of platform policies. Corresponds to the JSON property platformPolicies



783
784
785
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 783

def platform_policies
  @platform_policies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



790
791
792
793
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 790

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