Class PscAuthorizationPolicy
Represents a PSC Authorization Policy.
Implements
Inherited Members
Namespace: Google.Apis.Networkconnectivity.v1.Data
Assembly: Google.Apis.Networkconnectivity.v1.dll
Syntax
public class PscAuthorizationPolicy : IDirectResponseSchema
Properties
AuthorizationMode
Required. The authorization mode.
Declaration
[JsonProperty("authorizationMode")]
public virtual string AuthorizationMode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AuthorizedClientResources
Required. List of authorized consumer resources allowed to connect. Supported values are: 1. Project
resource name (e.g., projects/{project_id}) 2. Wildcard "*" (grants global ingress authorization to the
target).
Declaration
[JsonProperty("authorizedClientResources")]
public virtual IList<string> AuthorizedClientResources { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. The time when the PscAuthorizationPolicy was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Optional. A description of this resource.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
Output only. The etag of the PscAuthorizationPolicy.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Labels
Optional. User-defined labels.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
Name
Identifier. The name of the PscAuthorizationPolicy. Format: projects/{project}/locations/{location}/pscAuthorizationPolicies/{psc_authorization_policy}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TargetResourceUri
Required. The full absolute URI of the targeted resource governed by this policy. For example, for an
AgentRegistry resource, the format is:
//agentregistry.googleapis.com/projects/{project}/locations/{location}
Declaration
[JsonProperty("targetResourceUri")]
public virtual string TargetResourceUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Uid
Output only. The unique identifier of the PscAuthorizationPolicy.
Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. The time when the PscAuthorizationPolicy was updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |