Class Policy.Marshaller<T>

    • Field Detail

      • IDENTITY_VALUE_OF_FUNCTION

        protected static final com.google.api.core.ApiFunction<String,​Identity> IDENTITY_VALUE_OF_FUNCTION
      • IDENTITY_STR_VALUE_FUNCTION

        protected static final com.google.api.core.ApiFunction<Identity,​String> IDENTITY_STR_VALUE_FUNCTION
    • Constructor Detail

      • Marshaller

        @InternalApi("This class should only be extended within google-cloud-java")
        protected Marshaller()
    • Method Detail

      • fromPb

        protected abstract Policy fromPb​(T policyPb)
      • toPb

        protected abstract T toPb​(Policy policy)