Compute Engine v1 API - Class GetResourcePolicyRequest (3.2.0)

public sealed class GetResourcePolicyRequest : IMessage<GetResourcePolicyRequest>, IEquatable<GetResourcePolicyRequest>, IDeepCloneable<GetResourcePolicyRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class GetResourcePolicyRequest.

A request message for ResourcePolicies.Get. See the method description for details.

Inheritance

object > GetResourcePolicyRequest

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

GetResourcePolicyRequest()

public GetResourcePolicyRequest()

GetResourcePolicyRequest(GetResourcePolicyRequest)

public GetResourcePolicyRequest(GetResourcePolicyRequest other)
Parameter
Name Description
other GetResourcePolicyRequest

Properties

Project

public string Project { get; set; }

Project ID for this request.

Property Value
Type Description
string

Region

public string Region { get; set; }

Name of the region for this request.

Property Value
Type Description
string

ResourcePolicy

public string ResourcePolicy { get; set; }

Name of the resource policy to retrieve.

Property Value
Type Description
string