All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.Compute.Interconnects.html Maven / Gradle / Ivy

The newest version!






Compute.Interconnects (Compute Engine API v1-rev20250320-2.0.0)












com.google.api.services.compute

Class Compute.Interconnects

  • Enclosing class:
    Compute


    public class Compute.Interconnects
    extends Object
    The "interconnects" collection of methods.
    • Constructor Detail

      • Interconnects

        public Interconnects()
    • 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