Class ApiKeyRestrictionsApiTargetArgs


  • public final class ApiKeyRestrictionsApiTargetArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • methods

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> methods()
        Returns:
        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*`
      • service

        public com.pulumi.core.Output<java.lang.String> service()
        Returns:
        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.