Reference documentation and code samples for the Organization Policy V2 API class Google::Cloud::OrgPolicy::V2::ListPoliciesResponse.
The response returned from the [ListPolicies]
[google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies] method. It will be empty
if no Policies
are set on the resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#next_page_token
def next_page_token() -> ::String
Returns
- (::String) — Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.
#next_page_token=
def next_page_token=(value) -> ::String
Parameter
- value (::String) — Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.
Returns
- (::String) — Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.
#policies
def policies() -> ::Array<::Google::Cloud::OrgPolicy::V2::Policy>
Returns
-
(::Array<::Google::Cloud::OrgPolicy::V2::Policy>) — All
Policies
that exist on the resource. It will be empty if noPolicies
are set.
#policies=
def policies=(value) -> ::Array<::Google::Cloud::OrgPolicy::V2::Policy>
Parameter
-
value (::Array<::Google::Cloud::OrgPolicy::V2::Policy>) — All
Policies
that exist on the resource. It will be empty if noPolicies
are set.
Returns
-
(::Array<::Google::Cloud::OrgPolicy::V2::Policy>) — All
Policies
that exist on the resource. It will be empty if noPolicies
are set.