All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.servicemanagement.model.GetPolicyOptions.html Maven / Gradle / Ivy

There is a newer version: v1-rev20241106-2.0.0
Show newest version






GetPolicyOptions (Service Management API v1-rev20240823-2.0.0)












com.google.api.services.servicemanagement.model

Class GetPolicyOptions

    • Constructor Detail

      • GetPolicyOptions

        public GetPolicyOptions()
    • Method Detail

      • getRequestedPolicyVersion

        public Integer getRequestedPolicyVersion()
        Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
        Returns:
        value or null for none
      • setRequestedPolicyVersion

        public GetPolicyOptions setRequestedPolicyVersion(Integer requestedPolicyVersion)
        Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
        Parameters:
        requestedPolicyVersion - requestedPolicyVersion or null for none
      • clone

        public GetPolicyOptions clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy