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

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

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






GlobalOrganizationSetPolicyRequest (Compute Engine API v1-rev20250107-2.0.0)












com.google.api.services.compute.model

Class GlobalOrganizationSetPolicyRequest

    • Constructor Detail

      • GlobalOrganizationSetPolicyRequest

        public GlobalOrganizationSetPolicyRequest()
    • 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 GlobalOrganizationSetPolicyRequest 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 GlobalOrganizationSetPolicyRequest 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 GlobalOrganizationSetPolicyRequest 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 GlobalOrganizationSetPolicyRequest 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–2025 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy