EdgeNetwork API provides managed, highly available cloud dynamic network configuration service to the GEC customer to enable edge application and network function solutions.
This allows the customers to easily define and configure the network setup and property to meet the workload requirement.
Equality
Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal std::shared_ptr<*Connection>
objects compare equal. Objects that compare equal share the same underlying resources.
Performance
Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.
Thread Safety
Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.
Constructors
EdgeNetworkClient(EdgeNetworkClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
EdgeNetworkClient const &
|
EdgeNetworkClient(EdgeNetworkClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
EdgeNetworkClient &&
|
EdgeNetworkClient(std::shared_ptr< EdgeNetworkConnection >, Options)
Parameters | |
---|---|
Name | Description |
connection |
std::shared_ptr< EdgeNetworkConnection >
|
opts |
Options
|
Operators
operator=(EdgeNetworkClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
EdgeNetworkClient const &
|
Returns | |
---|---|
Type | Description |
EdgeNetworkClient & |
operator=(EdgeNetworkClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
EdgeNetworkClient &&
|
Returns | |
---|---|
Type | Description |
EdgeNetworkClient & |
Functions
InitializeZone(std::string const &, Options)
InitializeZone will initialize resources for a zone in a project.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the zone resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::InitializeZoneResponse > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.InitializeZoneResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
InitializeZone(google::cloud::edgenetwork::v1::InitializeZoneRequest const &, Options)
InitializeZone will initialize resources for a zone in a project.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::InitializeZoneRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::InitializeZoneResponse > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.InitializeZoneResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListZones(std::string const &, Options)
Deprecated: not implemented. Lists Zones in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent value for ListZonesRequest |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::edgenetwork::v1::Zone > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListZones(google::cloud::edgenetwork::v1::ListZonesRequest, Options)
Deprecated: not implemented. Lists Zones in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::ListZonesRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::edgenetwork::v1::Zone > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetZone(std::string const &, Options)
Deprecated: not implemented. Gets details of a single Zone.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::Zone > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.Zone) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetZone(google::cloud::edgenetwork::v1::GetZoneRequest const &, Options)
Deprecated: not implemented. Gets details of a single Zone.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::GetZoneRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::Zone > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.Zone) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListNetworks(std::string const &, Options)
Lists Networks in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent value for ListNetworksRequest |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::edgenetwork::v1::Network > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListNetworks(google::cloud::edgenetwork::v1::ListNetworksRequest, Options)
Lists Networks in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::ListNetworksRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::edgenetwork::v1::Network > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetNetwork(std::string const &, Options)
Gets details of a single Network.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::Network > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.Network) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetNetwork(google::cloud::edgenetwork::v1::GetNetworkRequest const &, Options)
Gets details of a single Network.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::GetNetworkRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::Network > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.Network) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DiagnoseNetwork(std::string const &, Options)
Get the diagnostics of a single network resource.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the network resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::DiagnoseNetworkResponse > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.DiagnoseNetworkResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DiagnoseNetwork(google::cloud::edgenetwork::v1::DiagnoseNetworkRequest const &, Options)
Get the diagnostics of a single network resource.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::DiagnoseNetworkRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::DiagnoseNetworkResponse > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.DiagnoseNetworkResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateNetwork(std::string const &, google::cloud::edgenetwork::v1::Network const &, std::string const &, Options)
Creates a new Network in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Value for parent. |
network |
google::cloud::edgenetwork::v1::Network const &
Required. The resource being created |
network_id |
std::string const &
Required. Id of the requesting object If auto-generating Id server-side, remove this field and network_id from the method_signature of Create RPC |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::Network > > |
A |
CreateNetwork(NoAwaitTag, std::string const &, google::cloud::edgenetwork::v1::Network const &, std::string const &, Options)
Creates a new Network in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
parent |
std::string const &
|
network |
google::cloud::edgenetwork::v1::Network const &
|
network_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateNetwork(google::cloud::edgenetwork::v1::CreateNetworkRequest const &, Options)
Creates a new Network in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::CreateNetworkRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::Network > > |
A |
CreateNetwork(NoAwaitTag, google::cloud::edgenetwork::v1::CreateNetworkRequest const &, Options)
Creates a new Network in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::edgenetwork::v1::CreateNetworkRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateNetwork(google::longrunning::Operation const &, Options)
Creates a new Network in a given project and location.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::Network > > |
DeleteNetwork(std::string const &, Options)
Deletes a single Network.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > > |
A |
DeleteNetwork(NoAwaitTag, std::string const &, Options)
Deletes a single Network.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteNetwork(google::cloud::edgenetwork::v1::DeleteNetworkRequest const &, Options)
Deletes a single Network.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::DeleteNetworkRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > > |
A |
DeleteNetwork(NoAwaitTag, google::cloud::edgenetwork::v1::DeleteNetworkRequest const &, Options)
Deletes a single Network.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::edgenetwork::v1::DeleteNetworkRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteNetwork(google::longrunning::Operation const &, Options)
Deletes a single Network.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > > |
ListSubnets(std::string const &, Options)
Lists Subnets in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent value for ListSubnetsRequest |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::edgenetwork::v1::Subnet > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListSubnets(google::cloud::edgenetwork::v1::ListSubnetsRequest, Options)
Lists Subnets in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::ListSubnetsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::edgenetwork::v1::Subnet > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetSubnet(std::string const &, Options)
Gets details of a single Subnet.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::Subnet > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.Subnet) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetSubnet(google::cloud::edgenetwork::v1::GetSubnetRequest const &, Options)
Gets details of a single Subnet.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::GetSubnetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::Subnet > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.Subnet) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateSubnet(std::string const &, google::cloud::edgenetwork::v1::Subnet const &, std::string const &, Options)
Creates a new Subnet in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Value for parent. |
subnet |
google::cloud::edgenetwork::v1::Subnet const &
Required. The resource being created |
subnet_id |
std::string const &
Required. Id of the requesting object If auto-generating Id server-side, remove this field and subnet_id from the method_signature of Create RPC |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::Subnet > > |
A |
CreateSubnet(NoAwaitTag, std::string const &, google::cloud::edgenetwork::v1::Subnet const &, std::string const &, Options)
Creates a new Subnet in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
parent |
std::string const &
|
subnet |
google::cloud::edgenetwork::v1::Subnet const &
|
subnet_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateSubnet(google::cloud::edgenetwork::v1::CreateSubnetRequest const &, Options)
Creates a new Subnet in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::CreateSubnetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::Subnet > > |
A |
CreateSubnet(NoAwaitTag, google::cloud::edgenetwork::v1::CreateSubnetRequest const &, Options)
Creates a new Subnet in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::edgenetwork::v1::CreateSubnetRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateSubnet(google::longrunning::Operation const &, Options)
Creates a new Subnet in a given project and location.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::Subnet > > |
UpdateSubnet(google::cloud::edgenetwork::v1::Subnet const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single Subnet.
Parameters | |
---|---|
Name | Description |
subnet |
google::cloud::edgenetwork::v1::Subnet const &
Required. The resource being updated |
update_mask |
google::protobuf::FieldMask const &
Required. Field mask is used to specify the fields to be overwritten in the Subnet resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::Subnet > > |
A |
UpdateSubnet(NoAwaitTag, google::cloud::edgenetwork::v1::Subnet const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single Subnet.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
subnet |
google::cloud::edgenetwork::v1::Subnet const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateSubnet(google::cloud::edgenetwork::v1::UpdateSubnetRequest const &, Options)
Updates the parameters of a single Subnet.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::UpdateSubnetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::Subnet > > |
A |
UpdateSubnet(NoAwaitTag, google::cloud::edgenetwork::v1::UpdateSubnetRequest const &, Options)
Updates the parameters of a single Subnet.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::edgenetwork::v1::UpdateSubnetRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateSubnet(google::longrunning::Operation const &, Options)
Updates the parameters of a single Subnet.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::Subnet > > |
DeleteSubnet(std::string const &, Options)
Deletes a single Subnet.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > > |
A |
DeleteSubnet(NoAwaitTag, std::string const &, Options)
Deletes a single Subnet.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteSubnet(google::cloud::edgenetwork::v1::DeleteSubnetRequest const &, Options)
Deletes a single Subnet.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::DeleteSubnetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > > |
A |
DeleteSubnet(NoAwaitTag, google::cloud::edgenetwork::v1::DeleteSubnetRequest const &, Options)
Deletes a single Subnet.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::edgenetwork::v1::DeleteSubnetRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteSubnet(google::longrunning::Operation const &, Options)
Deletes a single Subnet.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > > |
ListInterconnects(std::string const &, Options)
Lists Interconnects in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent value for ListInterconnectsRequest |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::edgenetwork::v1::Interconnect > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListInterconnects(google::cloud::edgenetwork::v1::ListInterconnectsRequest, Options)
Lists Interconnects in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::ListInterconnectsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::edgenetwork::v1::Interconnect > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetInterconnect(std::string const &, Options)
Gets details of a single Interconnect.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::Interconnect > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.Interconnect) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetInterconnect(google::cloud::edgenetwork::v1::GetInterconnectRequest const &, Options)
Gets details of a single Interconnect.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::GetInterconnectRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::Interconnect > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.Interconnect) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DiagnoseInterconnect(std::string const &, Options)
Get the diagnostics of a single interconnect resource.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the interconnect resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::DiagnoseInterconnectResponse > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DiagnoseInterconnect(google::cloud::edgenetwork::v1::DiagnoseInterconnectRequest const &, Options)
Get the diagnostics of a single interconnect resource.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::DiagnoseInterconnectRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::DiagnoseInterconnectResponse > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListInterconnectAttachments(std::string const &, Options)
Lists InterconnectAttachments in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent value for ListInterconnectAttachmentsRequest |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::edgenetwork::v1::InterconnectAttachment > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListInterconnectAttachments(google::cloud::edgenetwork::v1::ListInterconnectAttachmentsRequest, Options)
Lists InterconnectAttachments in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::ListInterconnectAttachmentsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::edgenetwork::v1::InterconnectAttachment > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetInterconnectAttachment(std::string const &, Options)
Gets details of a single InterconnectAttachment.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::InterconnectAttachment > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.InterconnectAttachment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetInterconnectAttachment(google::cloud::edgenetwork::v1::GetInterconnectAttachmentRequest const &, Options)
Gets details of a single InterconnectAttachment.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::GetInterconnectAttachmentRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::InterconnectAttachment > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.InterconnectAttachment) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateInterconnectAttachment(std::string const &, google::cloud::edgenetwork::v1::InterconnectAttachment const &, std::string const &, Options)
Creates a new InterconnectAttachment in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Value for parent. |
interconnect_attachment |
google::cloud::edgenetwork::v1::InterconnectAttachment const &
Required. The resource being created |
interconnect_attachment_id |
std::string const &
Required. Id of the requesting object If auto-generating Id server-side, remove this field and interconnect_attachment_id from the method_signature of Create RPC |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::InterconnectAttachment > > |
A |
CreateInterconnectAttachment(NoAwaitTag, std::string const &, google::cloud::edgenetwork::v1::InterconnectAttachment const &, std::string const &, Options)
Creates a new InterconnectAttachment in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
parent |
std::string const &
|
interconnect_attachment |
google::cloud::edgenetwork::v1::InterconnectAttachment const &
|
interconnect_attachment_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateInterconnectAttachment(google::cloud::edgenetwork::v1::CreateInterconnectAttachmentRequest const &, Options)
Creates a new InterconnectAttachment in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::CreateInterconnectAttachmentRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::InterconnectAttachment > > |
A |
CreateInterconnectAttachment(NoAwaitTag, google::cloud::edgenetwork::v1::CreateInterconnectAttachmentRequest const &, Options)
Creates a new InterconnectAttachment in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::edgenetwork::v1::CreateInterconnectAttachmentRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateInterconnectAttachment(google::longrunning::Operation const &, Options)
Creates a new InterconnectAttachment in a given project and location.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::InterconnectAttachment > > |
DeleteInterconnectAttachment(std::string const &, Options)
Deletes a single InterconnectAttachment.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > > |
A |
DeleteInterconnectAttachment(NoAwaitTag, std::string const &, Options)
Deletes a single InterconnectAttachment.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteInterconnectAttachment(google::cloud::edgenetwork::v1::DeleteInterconnectAttachmentRequest const &, Options)
Deletes a single InterconnectAttachment.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::DeleteInterconnectAttachmentRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > > |
A |
DeleteInterconnectAttachment(NoAwaitTag, google::cloud::edgenetwork::v1::DeleteInterconnectAttachmentRequest const &, Options)
Deletes a single InterconnectAttachment.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::edgenetwork::v1::DeleteInterconnectAttachmentRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteInterconnectAttachment(google::longrunning::Operation const &, Options)
Deletes a single InterconnectAttachment.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > > |
ListRouters(std::string const &, Options)
Lists Routers in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent value for ListRoutersRequest |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::edgenetwork::v1::Router > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListRouters(google::cloud::edgenetwork::v1::ListRoutersRequest, Options)
Lists Routers in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::ListRoutersRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::edgenetwork::v1::Router > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetRouter(std::string const &, Options)
Gets details of a single Router.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::Router > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.Router) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetRouter(google::cloud::edgenetwork::v1::GetRouterRequest const &, Options)
Gets details of a single Router.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::GetRouterRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::Router > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.Router) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DiagnoseRouter(std::string const &, Options)
Get the diagnostics of a single router resource.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the router resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::DiagnoseRouterResponse > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.DiagnoseRouterResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DiagnoseRouter(google::cloud::edgenetwork::v1::DiagnoseRouterRequest const &, Options)
Get the diagnostics of a single router resource.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::DiagnoseRouterRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::edgenetwork::v1::DiagnoseRouterResponse > |
the result of the RPC. The response message type (google.cloud.edgenetwork.v1.DiagnoseRouterResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateRouter(std::string const &, google::cloud::edgenetwork::v1::Router const &, std::string const &, Options)
Creates a new Router in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Value for parent. |
router |
google::cloud::edgenetwork::v1::Router const &
Required. The resource being created |
router_id |
std::string const &
Required. Id of the requesting object If auto-generating Id server-side, remove this field and router_id from the method_signature of Create RPC |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::Router > > |
A |
CreateRouter(NoAwaitTag, std::string const &, google::cloud::edgenetwork::v1::Router const &, std::string const &, Options)
Creates a new Router in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
parent |
std::string const &
|
router |
google::cloud::edgenetwork::v1::Router const &
|
router_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateRouter(google::cloud::edgenetwork::v1::CreateRouterRequest const &, Options)
Creates a new Router in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::CreateRouterRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::Router > > |
A |
CreateRouter(NoAwaitTag, google::cloud::edgenetwork::v1::CreateRouterRequest const &, Options)
Creates a new Router in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::edgenetwork::v1::CreateRouterRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateRouter(google::longrunning::Operation const &, Options)
Creates a new Router in a given project and location.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::Router > > |
UpdateRouter(google::cloud::edgenetwork::v1::Router const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single Router.
Parameters | |
---|---|
Name | Description |
router |
google::cloud::edgenetwork::v1::Router const &
Required. The resource being updated |
update_mask |
google::protobuf::FieldMask const &
Required. Field mask is used to specify the fields to be overwritten in the Router resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::Router > > |
A |
UpdateRouter(NoAwaitTag, google::cloud::edgenetwork::v1::Router const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single Router.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
router |
google::cloud::edgenetwork::v1::Router const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateRouter(google::cloud::edgenetwork::v1::UpdateRouterRequest const &, Options)
Updates the parameters of a single Router.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::UpdateRouterRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::Router > > |
A |
UpdateRouter(NoAwaitTag, google::cloud::edgenetwork::v1::UpdateRouterRequest const &, Options)
Updates the parameters of a single Router.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::edgenetwork::v1::UpdateRouterRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateRouter(google::longrunning::Operation const &, Options)
Updates the parameters of a single Router.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::Router > > |
DeleteRouter(std::string const &, Options)
Deletes a single Router.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > > |
A |
DeleteRouter(NoAwaitTag, std::string const &, Options)
Deletes a single Router.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteRouter(google::cloud::edgenetwork::v1::DeleteRouterRequest const &, Options)
Deletes a single Router.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::edgenetwork::v1::DeleteRouterRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > > |
A |
DeleteRouter(NoAwaitTag, google::cloud::edgenetwork::v1::DeleteRouterRequest const &, Options)
Deletes a single Router.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::edgenetwork::v1::DeleteRouterRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteRouter(google::longrunning::Operation const &, Options)
Deletes a single Router.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > > |