Show / Hide Table of Contents

Class ProjectsResource.PoliciesResource.GetRequest

Gets a policy on a resource. If no policy is set on the resource, NOT_FOUND is returned. The etag value can be used with UpdatePolicy() to update a policy during read-modify-write.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>
OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2Policy>
ProjectsResource.PoliciesResource.GetRequest
Implements
IClientServiceRequest<GoogleCloudOrgpolicyV2Policy>
IClientServiceRequest
Inherited Members
OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2Policy>.Xgafv
OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2Policy>.AccessToken
OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2Policy>.Alt
OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2Policy>.Callback
OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2Policy>.Fields
OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2Policy>.Key
OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2Policy>.OauthToken
OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2Policy>.PrettyPrint
OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2Policy>.QuotaUser
OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2Policy>.UploadType
OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2Policy>.UploadProtocol
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.Execute()
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.ExecuteAsync()
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.GetBody()
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.ETagAction
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.ModifyRequest
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.ValidateParameters
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.ApiVersion
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.RequestParameters
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.OrgPolicyAPI.v2
Assembly: Google.Apis.OrgPolicyAPI.v2.dll
Syntax
public class ProjectsResource.PoliciesResource.GetRequest : OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2Policy>, IClientServiceRequest<GoogleCloudOrgpolicyV2Policy>, IClientServiceRequest

Constructors

GetRequest(IClientService, string)

Constructs a new Get request.

Declaration
public GetRequest(IClientService service, string name)
Parameters
Type Name Description
IClientService service
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.MethodName

Name

Required. Resource name of the policy. See Policy for naming requirements.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudOrgpolicyV2Policy>.RestPath

Methods

InitParameters()

Initializes Get parameter list.

Declaration
protected override void InitParameters()
Overrides
OrgPolicyAPIBaseServiceRequest<GoogleCloudOrgpolicyV2Policy>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX