Class ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.PatchRequest
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.
Inheritance
Inherited Members
Namespace: Google.Apis.NetworkManagement.v1
Assembly: Google.Apis.NetworkManagement.v1.dll
Syntax
public class ProjectsResource.LocationsResource.GlobalResource.ConnectivityTestsResource.PatchRequest : NetworkManagementBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, ConnectivityTest, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, ConnectivityTest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ConnectivityTest | body | |
string | name |
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
Name
Identifier. Unique name of the resource using the form:
projects/{project_id}/locations/global/connectivityTests/{test_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UpdateMask
Required. Mask of fields to update. At least one path must be supplied in this field.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()