Class LiensResource.CreateRequest
Create a Lien which applies to the resource denoted by the parent
field. Callers of this method will
require permission on the parent
resource. For example, applying to projects/1234
requires permission
resourcemanager.projects.updateLiens
. NOTE: Some resources may limit the number of Liens which may be
applied.
Inheritance
LiensResource.CreateRequest
Inherited Members
Namespace: Google.Apis.CloudResourceManager.v3
Assembly: Google.Apis.CloudResourceManager.v3.dll
Syntax
public class LiensResource.CreateRequest : CloudResourceManagerBaseServiceRequest<Lien>, IClientServiceRequest<Lien>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Lien)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Lien body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Lien | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v3.Data.Lien>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v3.Data.Lien>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v3.Data.Lien>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v3.Data.Lien>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()