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

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







ZoneSetPolicyRequest (Compute Engine API beta-rev20220312-1.32.1)












com.google.api.services.compute.model

Class ZoneSetPolicyRequest

    • Constructor Detail

      • ZoneSetPolicyRequest

        public ZoneSetPolicyRequest()
    • Method Detail

      • getBindings

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

        public ZoneSetPolicyRequest setBindings(List<Binding> bindings)
        Flatten Policy to create a backwacd 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 ZoneSetPolicyRequest 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 ZoneSetPolicyRequest 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 ZoneSetPolicyRequest 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