Class ResourceInfo
Describes a resource referenced in the request.
Implements
Inherited Members
Namespace: Google.Apis.ServiceControl.v2.Data
Assembly: Google.Apis.ServiceControl.v2.dll
Syntax
public class ResourceInfo : IDirectResponseSchema
Properties
Container
Optional. The identifier of the container of this resource. For Google Cloud APIs, the resource container
must be one of the following formats: - projects/
- folders/
- organizations/
Required for the policy
enforcement on the container level (e.g. VPCSC, Location Policy check, Org Policy check).
Declaration
[JsonProperty("container")]
public virtual string Container { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Location
Optional. The location of the resource, it must be a valid zone, region or multiregion, for example: "europe-west4", "northamerica-northeast1-a". Required for location policy check.
Declaration
[JsonProperty("location")]
public virtual string Location { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The name of the resource referenced in the request.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Permission
The resource permission needed for this request. The format must be "{service}/{plural}.{verb}".
Declaration
[JsonProperty("permission")]
public virtual string Permission { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
The resource type in the format of "{service}/{kind}".
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |