Class ProjectsResource.GuestPoliciesResource.PatchRequest
Update an OS Config guest policy.
Inheritance
System.Object
ProjectsResource.GuestPoliciesResource.PatchRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.SystemsManagement.v1beta
Assembly: Google.Apis.SystemsManagement.v1beta.dll
Syntax
public class PatchRequest : SystemsManagementBaseServiceRequest<GuestPolicy>, IClientServiceRequest<GuestPolicy>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GuestPolicy, String)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GuestPolicy body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GuestPolicy | body | |
System.String | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SystemsManagement.v1beta.Data.GuestPolicy>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SystemsManagement.v1beta.Data.GuestPolicy>.MethodName
Name
Required. Unique name of the resource in this project using one of the following forms:
projects/{project_number}/guestPolicies/{guest_policy_id}
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SystemsManagement.v1beta.Data.GuestPolicy>.RestPath
UpdateMask
Field mask that controls which fields of the guest policy should be updated.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SystemsManagement.v1beta.Data.GuestPolicy>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.SystemsManagement.v1beta.SystemsManagementBaseServiceRequest<Google.Apis.SystemsManagement.v1beta.Data.GuestPolicy>.InitParameters()