Class V2ApiTarget
A restriction for a specific service and optionally one or multiple specific methods. Both fields are case insensitive.
Implements
Inherited Members
Namespace: Google.Apis.ApiKeysService.v2.Data
Assembly: Google.Apis.ApiKeysService.v2.dll
Syntax
public class V2ApiTarget : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
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*
Declaration
[JsonProperty("methods")]
public virtual IList<string> Methods { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
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.
Declaration
[JsonProperty("service")]
public virtual string Service { get; set; }
Property Value
Type | Description |
---|---|
string |