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