Class FirewallPoliciesResource.GetAssociationRequest
Gets an association with the specified name.
Inheritance
System.Object
FirewallPoliciesResource.GetAssociationRequest
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.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class GetAssociationRequest : ComputeBaseServiceRequest<FirewallPolicyAssociation>, IClientServiceRequest<FirewallPolicyAssociation>, IClientServiceRequest
Constructors
GetAssociationRequest(IClientService, String)
Constructs a new GetAssociation request.
Declaration
public GetAssociationRequest(IClientService service, string firewallPolicy)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | firewallPolicy |
Properties
FirewallPolicy
Name of the firewall policy to which the queried rule belongs.
Declaration
[RequestParameter("firewallPolicy", RequestParameterType.Path)]
public virtual string FirewallPolicy { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.FirewallPolicyAssociation>.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.Compute.v1.Data.FirewallPolicyAssociation>.MethodName
Name
The name of the association to get from the firewall policy.
Declaration
[RequestParameter("name", RequestParameterType.Query)]
public virtual string Name { get; set; }
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.Compute.v1.Data.FirewallPolicyAssociation>.RestPath
Methods
InitParameters()
Initializes GetAssociation parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Compute.v1.ComputeBaseServiceRequest<Google.Apis.Compute.v1.Data.FirewallPolicyAssociation>.InitParameters()