
target.apidocs.com.google.api.services.compute.Compute.Interconnects.html Maven / Gradle / Ivy
Compute.Interconnects (Compute Engine API alpha-rev20200526-1.30.9)
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.GetIamPolicy
class
Compute.Interconnects.Insert
class
Compute.Interconnects.List
class
Compute.Interconnects.Patch
class
Compute.Interconnects.SetIamPolicy
class
Compute.Interconnects.SetLabels
class
Compute.Interconnects.TestIamPermissions
-
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.GetIamPolicy
getIamPolicy(String project,
String resource)
Gets the access control policy for a resource.
Compute.Interconnects.Insert
insert(String project,
Interconnect content)
Creates a Interconnect in the specified project using the data included in the request.
Compute.Interconnects.List
list(String project)
Retrieves the list of interconnect 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.SetIamPolicy
setIamPolicy(String project,
String resource,
GlobalSetPolicyRequest content)
Sets the access control policy on the specified resource.
Compute.Interconnects.SetLabels
setLabels(String project,
String resource,
GlobalSetLabelsRequest content)
Sets the labels on an Interconnect.
Compute.Interconnects.TestIamPermissions
testIamPermissions(String project,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
-
-
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.
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
-
getIamPolicy
public Compute.Interconnects.GetIamPolicy getIamPolicy(String project,
String resource)
throws IOException
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Create a request for the method "interconnects.getIamPolicy".
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.
- Returns:
- the request
- Throws:
IOException
-
insert
public Compute.Interconnects.Insert insert(String project,
Interconnect content)
throws IOException
Creates a 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 interconnect 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
-
setIamPolicy
public Compute.Interconnects.SetIamPolicy setIamPolicy(String project,
String resource,
GlobalSetPolicyRequest content)
throws IOException
Sets the access control policy on the specified resource. Replaces any existing policy.
Create a request for the method "interconnects.setIamPolicy".
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 GlobalSetPolicyRequest
- 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
-
testIamPermissions
public Compute.Interconnects.TestIamPermissions testIamPermissions(String project,
String resource,
TestPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified resource.
Create a request for the method "interconnects.testIamPermissions".
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 TestPermissionsRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy