target.apidocs.com.google.api.services.compute.Compute.Interconnects.html Maven / Gradle / Ivy
Compute.Interconnects (Compute Engine API v1-rev20250107-2.0.0)
com.google.api.services.compute
Class Compute.Interconnects
- java.lang.Object
-
- com.google.api.services.compute.Compute.Interconnects
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Compute.Interconnects.Delete
class
Compute.Interconnects.Get
class
Compute.Interconnects.GetDiagnostics
class
Compute.Interconnects.GetMacsecConfig
class
Compute.Interconnects.Insert
class
Compute.Interconnects.List
class
Compute.Interconnects.Patch
class
Compute.Interconnects.SetLabels
-
Constructor Summary
Constructors
Constructor and Description
Interconnects()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.Interconnects.Delete
delete(String project,
String interconnect)
Deletes the specified Interconnect.
Compute.Interconnects.Get
get(String project,
String interconnect)
Returns the specified Interconnect.
Compute.Interconnects.GetDiagnostics
getDiagnostics(String project,
String interconnect)
Returns the interconnectDiagnostics for the specified Interconnect.
Compute.Interconnects.GetMacsecConfig
getMacsecConfig(String project,
String interconnect)
Returns the interconnectMacsecConfig for the specified Interconnect.
Compute.Interconnects.Insert
insert(String project,
Interconnect content)
Creates an Interconnect in the specified project using the data included in the request.
Compute.Interconnects.List
list(String project)
Retrieves the list of Interconnects available to the specified project.
Compute.Interconnects.Patch
patch(String project,
String interconnect,
Interconnect content)
Updates the specified Interconnect with the data included in the request.
Compute.Interconnects.SetLabels
setLabels(String project,
String resource,
GlobalSetLabelsRequest content)
Sets the labels on an Interconnect.
-
-
Method Detail
-
delete
public Compute.Interconnects.Delete delete(String project,
String interconnect)
throws IOException
Deletes the specified Interconnect.
Create a request for the method "interconnects.delete".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
interconnect - Name of the interconnect to delete.
- Returns:
- the request
- Throws:
IOException
-
get
public Compute.Interconnects.Get get(String project,
String interconnect)
throws IOException
Returns the specified Interconnect. Get a list of available Interconnects by making a list()
request.
Create a request for the method "interconnects.get".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
interconnect - Name of the interconnect to return.
- Returns:
- the request
- Throws:
IOException
-
getDiagnostics
public Compute.Interconnects.GetDiagnostics getDiagnostics(String project,
String interconnect)
throws IOException
Returns the interconnectDiagnostics for the specified Interconnect. In the event of a global
outage, do not use this API to make decisions about where to redirect your network traffic.
Unlike a VLAN attachment, which is regional, a Cloud Interconnect connection is a global
resource. A global outage can prevent this API from functioning properly.
Create a request for the method "interconnects.getDiagnostics".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
interconnect - Name of the interconnect resource to query.
- Returns:
- the request
- Throws:
IOException
-
getMacsecConfig
public Compute.Interconnects.GetMacsecConfig getMacsecConfig(String project,
String interconnect)
throws IOException
Returns the interconnectMacsecConfig for the specified Interconnect.
Create a request for the method "interconnects.getMacsecConfig".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
interconnect - Name of the interconnect resource to query.
- Returns:
- the request
- Throws:
IOException
-
insert
public Compute.Interconnects.Insert insert(String project,
Interconnect content)
throws IOException
Creates an Interconnect in the specified project using the data included in the request.
Create a request for the method "interconnects.insert".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
content - the Interconnect
- Returns:
- the request
- Throws:
IOException
-
list
public Compute.Interconnects.List list(String project)
throws IOException
Retrieves the list of Interconnects available to the specified project.
Create a request for the method "interconnects.list".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
- Returns:
- the request
- Throws:
IOException
-
patch
public Compute.Interconnects.Patch patch(String project,
String interconnect,
Interconnect content)
throws IOException
Updates the specified Interconnect with the data included in the request. This method supports
PATCH semantics and uses the JSON merge patch format and processing rules.
Create a request for the method "interconnects.patch".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
interconnect - Name of the interconnect to update.
content - the Interconnect
- Returns:
- the request
- Throws:
IOException
-
setLabels
public Compute.Interconnects.SetLabels setLabels(String project,
String resource,
GlobalSetLabelsRequest content)
throws IOException
Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources
documentation.
Create a request for the method "interconnects.setLabels".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
resource - Name or id of the resource for this request.
content - the GlobalSetLabelsRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2025 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy