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

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

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






MethodPolicy (Service Management API v1-rev20240823-2.0.0)












com.google.api.services.servicemanagement.model

Class MethodPolicy

    • Constructor Detail

      • MethodPolicy

        public MethodPolicy()
    • Method Detail

      • getRequestPolicies

        public List<FieldPolicy> getRequestPolicies()
        Policies that are applicable to the request message.
        Returns:
        value or null for none
      • setRequestPolicies

        public MethodPolicy setRequestPolicies(List<FieldPolicy> requestPolicies)
        Policies that are applicable to the request message.
        Parameters:
        requestPolicies - requestPolicies or null for none
      • getSelector

        public String getSelector()
        Selects a method to which these policies should be enforced, for example, "google.pubsub.v1.Subscriber.CreateSubscription". Refer to selector for syntax details. NOTE: This field must not be set in the proto annotation. It will be automatically filled by the service config compiler .
        Returns:
        value or null for none
      • setSelector

        public MethodPolicy setSelector(String selector)
        Selects a method to which these policies should be enforced, for example, "google.pubsub.v1.Subscriber.CreateSubscription". Refer to selector for syntax details. NOTE: This field must not be set in the proto annotation. It will be automatically filled by the service config compiler .
        Parameters:
        selector - selector or null for none
      • set

        public MethodPolicy set(String fieldName,
                                Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public MethodPolicy 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