Class ProjectsResource.LocationsResource.MirroringEndpointGroupAssociationsResource.CreateRequest
Creates an association in a given project and location. See https://google.aip.dev/133.
Inheritance
ProjectsResource.LocationsResource.MirroringEndpointGroupAssociationsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.NetworkSecurity .v1
Assembly: Google.Apis.NetworkSecurity.v1.dll
Syntax
public class ProjectsResource.LocationsResource.MirroringEndpointGroupAssociationsResource.CreateRequest : NetworkSecurityBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, MirroringEndpointGroupAssociation, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, MirroringEndpointGroupAssociation body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClient |
service | |
Mirroring |
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
MirroringEndpointGroupAssociationId
Optional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID.
Declaration
[RequestParameter("mirroringEndpointGroupAssociationId", RequestParameterType.Query)]
public virtual string MirroringEndpointGroupAssociationId { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The parent resource where this association will be created. Format: projects/{project}/locations/{location}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RequestId
Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent
if a request_id
is provided. See https://google.aip.dev/155 for more details.
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
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()