Class: Google::Apis::NetworksecurityV1::ListAuthorizationPoliciesResponse

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

Overview

Response returned by the ListAuthorizationPolicies method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAuthorizationPoliciesResponse

Returns a new instance of ListAuthorizationPoliciesResponse.



1296
1297
1298
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 1296

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

Instance Attribute Details

#authorization_policiesArray<Google::Apis::NetworksecurityV1::AuthorizationPolicy>

List of AuthorizationPolicies resources. Corresponds to the JSON property authorizationPolicies



1287
1288
1289
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 1287

def authorization_policies
  @authorization_policies
end

#next_page_tokenString

If there might be more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1294
1295
1296
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 1294

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1301
1302
1303
1304
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 1301

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