Interface ApikeysKeyRestrictionsApiTargets

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    ApikeysKeyRestrictionsApiTargets.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:17.412Z")
    @Stability(Stable)
    public interface ApikeysKeyRestrictionsApiTargets
    extends software.amazon.jsii.JsiiSerializable
    • Method Detail

      • getService

        @Stability(Stable)
        @NotNull
        String getService()
        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}

      • getMethods

        @Stability(Stable)
        @Nullable
        default List<String> getMethods()
        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}