ApiKeyRestrictionsApiTarget class
Constructors
-
ApiKeyRestrictionsApiTarget({Input<List<String>?>? methods, required Input<String> service})
-
Creates a new ApiKeyRestrictionsApiTarget.
methods 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 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.
const
-
ApiKeyRestrictionsApiTarget.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
methods
→ Input<List<String>?>?
-
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*
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
service
→ Input<String>
-
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.
final