target.apidocs.com.google.api.services.vmwareengine.v1.VMwareEngine.Projects.Locations.PrivateClouds.Subnets.html Maven / Gradle / Ivy
VMwareEngine.Projects.Locations.PrivateClouds.Subnets (VMware Engine API v1-rev20240412-2.0.0)
com.google.api.services.vmwareengine.v1
Class VMwareEngine.Projects.Locations.PrivateClouds.Subnets
- java.lang.Object
-
- com.google.api.services.vmwareengine.v1.VMwareEngine.Projects.Locations.PrivateClouds.Subnets
-
- Enclosing class:
- VMwareEngine.Projects.Locations.PrivateClouds
public class VMwareEngine.Projects.Locations.PrivateClouds.Subnets
extends Object
The "subnets" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
VMwareEngine.Projects.Locations.PrivateClouds.Subnets.Get
class
VMwareEngine.Projects.Locations.PrivateClouds.Subnets.List
class
VMwareEngine.Projects.Locations.PrivateClouds.Subnets.Patch
-
Constructor Summary
Constructors
Constructor and Description
Subnets()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
VMwareEngine.Projects.Locations.PrivateClouds.Subnets.Get
get(String name)
Gets details of a single subnet.
VMwareEngine.Projects.Locations.PrivateClouds.Subnets.List
list(String parent)
Lists subnets in a given private cloud.
VMwareEngine.Projects.Locations.PrivateClouds.Subnets.Patch
patch(String name,
Subnet content)
Updates the parameters of a single subnet.
-
-
Method Detail
-
get
public VMwareEngine.Projects.Locations.PrivateClouds.Subnets.Get get(String name)
throws IOException
Gets details of a single subnet.
Create a request for the method "subnets.get".
This request holds the parameters needed by the vmwareengine server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name of the subnet to retrieve. Resource names are schemeless URIs that
follow the conventions in https://cloud.google.com/apis/design/resource_names. For
example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-
subnet`
- Returns:
- the request
- Throws:
IOException
-
list
public VMwareEngine.Projects.Locations.PrivateClouds.Subnets.List list(String parent)
throws IOException
Lists subnets in a given private cloud.
Create a request for the method "subnets.list".
This request holds the parameters needed by the vmwareengine server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The resource name of the private cloud to be queried for subnets. Resource names are
schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names. For example: `projects/my-
project/locations/us-central1-a/privateClouds/my-cloud`
- Returns:
- the request
- Throws:
IOException
-
patch
public VMwareEngine.Projects.Locations.PrivateClouds.Subnets.Patch patch(String name,
Subnet content)
throws IOException
Updates the parameters of a single subnet. Only fields specified in `update_mask` are applied.
*Note*: This API is synchronous and always returns a successful `google.longrunning.Operation`
(LRO). The returned LRO will only have `done` and `response` fields.
Create a request for the method "subnets.patch".
This request holds the parameters needed by the vmwareengine server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Output only. The resource name of this subnet. Resource names are schemeless URIs that follow the
conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects
/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet`
content
- the Subnet
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy