Class ProjectsResource.LocationsResource.UnitGroupsResource.CreateRequest
Create a new unit group.
Inheritance
ProjectsResource.LocationsResource.UnitGroupsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.SaaSServiceManagement.v1beta1
Assembly: Google.Apis.SaaSServiceManagement.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.UnitGroupsResource.CreateRequest : SaaSServiceManagementBaseServiceRequest<UnitGroup>, IClientServiceRequest<UnitGroup>, IClientServiceRequest
Constructors
CreateRequest(IClientService, UnitGroup, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, UnitGroup body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| UnitGroup | body | |
| string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Parent
Required. The parent of the unit group.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
RequestId
An optional request ID to identify requests.
Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual string RequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
UnitGroupId
Required. The ID value for the new unit group.
Declaration
[RequestParameter("unitGroupId", RequestParameterType.Query)]
public virtual string UnitGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ValidateOnly
If "validate_only" is set to true, the service will try to validate that this request would succeed, but will not actually make changes.
Declaration
[RequestParameter("validateOnly", RequestParameterType.Query)]
public virtual bool? ValidateOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()