Class ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource
The "connectivityTests" collection of methods.
Inherited Members
Namespace: Google.Apis.NetworkManagement.v1beta1
Assembly: Google.Apis.NetworkManagement.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource
Constructors
ConnectivityTestsResource(IClientService)
Constructs a new resource.
Declaration
public ConnectivityTestsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(ConnectivityTest, string)
Creates a new Connectivity Test. After you create a test, the reachability analysis is performed
as part of the long running operation, which completes when the analysis completes. If the
endpoint specifications in ConnectivityTest are invalid (for example, containing non-existent
resources in the network, or you don't have read permissions to the network configurations of
listed projects), then the reachability result returns a value of UNKNOWN. If the endpoint
specifications in ConnectivityTest are incomplete, the reachability result returns a value of
AMBIGUOUS. For more information, see the Connectivity Test documentation.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.CreateRequest Create(ConnectivityTest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| ConnectivityTest | body | The body of the request. |
| string | parent | Required. The parent resource of the Connectivity Test to create:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.CreateRequest |
Delete(string)
Deletes a specific ConnectivityTest.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Connectivity Test resource name using the form:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.DeleteRequest |
Get(string)
Gets the details of a specific Connectivity Test.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.GetRequest |
GetIamPolicy(string)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| string | resource | REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.GetIamPolicyRequest |
List(string)
Lists all Connectivity Tests owned by a project.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The parent resource of the Connectivity Tests:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.ListRequest |
Patch(ConnectivityTest, string)
Updates the configuration of an existing ConnectivityTest. After you update a test, the
reachability analysis is performed as part of the long running operation, which completes when
the analysis completes. The Reachability state in the test resource is updated with the new
result. If the endpoint specifications in ConnectivityTest are invalid (for example, they
contain non-existent resources in the network, or the user does not have read permissions to the
network configurations of listed projects), then the reachability result returns a value of
UNKNOWN. If the endpoint specifications in ConnectivityTest are incomplete, the reachability
result returns a value of AMBIGUOUS. See the documentation in ConnectivityTest for more
details.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.PatchRequest Patch(ConnectivityTest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| ConnectivityTest | body | The body of the request. |
| string | name | Identifier. Unique name of the resource using the form:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.PatchRequest |
Rerun(RerunConnectivityTestRequest, string)
Rerun an existing ConnectivityTest. After the user triggers the rerun, the reachability
analysis is performed as part of the long running operation, which completes when the analysis
completes. Even though the test configuration remains the same, the reachability result may
change due to underlying network configuration changes. If the endpoint specifications in
ConnectivityTest become invalid (for example, specified resources are deleted in the network,
or you lost read permissions to the network configurations of listed projects), then the
reachability result returns a value of UNKNOWN.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.RerunRequest Rerun(RerunConnectivityTestRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| RerunConnectivityTestRequest | body | The body of the request. |
| string | name | Required. Connectivity Test resource name using the form:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.RerunRequest |
SetIamPolicy(SetIamPolicyRequest, string)
Sets the access control policy on the specified resource. Replaces any existing policy. Can
return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| SetIamPolicyRequest | body | The body of the request. |
| string | resource | REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.SetIamPolicyRequest |
TestIamPermissions(TestIamPermissionsRequest, string)
Returns permissions that a caller has on the specified resource. If the resource does not exist,
this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is
designed to be used for building permission-aware UIs and command-line tools, not for
authorization checking. This operation may "fail open" without warning.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| TestIamPermissionsRequest | body | The body of the request. |
| string | resource | REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.TestIamPermissionsRequest |