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

target.apidocs.com.google.api.services.compute.model.GlobalSetPolicyRequest.html Maven / Gradle / Ivy







GlobalSetPolicyRequest (Compute Engine API beta-rev20220726-2.0.0)












com.google.api.services.compute.model

Class GlobalSetPolicyRequest

    • Constructor Detail

      • GlobalSetPolicyRequest

        public GlobalSetPolicyRequest()
    • Method Detail

      • getBindings

        public List<Binding> getBindings()
        Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
        Returns:
        value or null for none
      • setBindings

        public GlobalSetPolicyRequest setBindings(List<Binding> bindings)
        Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
        Parameters:
        bindings - bindings or null for none
      • getEtag

        public String getEtag()
        Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
        Returns:
        value or null for none
        See Also:
        decodeEtag()
      • decodeEtag

        public byte[] decodeEtag()
        Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
        Returns:
        Base64 decoded value or null for none
        Since:
        1.14
        See Also:
        getEtag()
      • setEtag

        public GlobalSetPolicyRequest setEtag(String etag)
        Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
        Parameters:
        etag - etag or null for none
        See Also:
        #encodeEtag()
      • encodeEtag

        public GlobalSetPolicyRequest encodeEtag(byte[] etag)
        Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
        Since:
        1.14
        See Also:

        The value is encoded Base64 or {@code null} for none.

      • getPolicy

        public Policy getPolicy()
        REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
        Returns:
        value or null for none
      • setPolicy

        public GlobalSetPolicyRequest setPolicy(Policy policy)
        REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
        Parameters:
        policy - policy or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy