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.



1066
1067
1068
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1066

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)


1059
1060
1061
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1059

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



1064
1065
1066
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1064

def platform_policies
  @platform_policies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1071
1072
1073
1074
# File 'lib/google/apis/binaryauthorization_v1/classes.rb', line 1071

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