Class ApikeysKeyRestrictionsApiTargets.Jsii$Proxy

    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getService

        public final String getService()
        Description copied from interface: ApikeysKeyRestrictionsApiTargets
        The service for this restriction.

        It should be the canonical service name, for example: `translate.googleapis.com`. You can use `gcloud services list` to get a list of services that are enabled in the project. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apikeys_key#service ApikeysKey#service}

        Specified by:
        getService in interface ApikeysKeyRestrictionsApiTargets
      • getMethods

        public final List<String> getMethods()
        Description copied from interface: ApikeysKeyRestrictionsApiTargets
        Optional.

        List of one or more methods that can be called. If empty, all methods for the service are allowed. A wildcard (*) can be used as the last symbol. Valid examples: `google.cloud.translate.v2.TranslateService.GetSupportedLanguage` `TranslateText` `Get*` `translate.googleapis.com.Get*` Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apikeys_key#methods ApikeysKey#methods}

        Specified by:
        getMethods in interface ApikeysKeyRestrictionsApiTargets
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object