Compute Engine v1 API - Class GetResourcePolicyRequest (2.13.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
NameDescription
otherGetResourcePolicyRequest

Properties

Project

public string Project { get; set; }

Project ID for this request.

Property Value
TypeDescription
string

Region

public string Region { get; set; }

Name of the region for this request.

Property Value
TypeDescription
string

ResourcePolicy

public string ResourcePolicy { get; set; }

Name of the resource policy to retrieve.

Property Value
TypeDescription
string