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

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

The newest version!






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












com.google.api.services.compute

Class Compute.RegionInstantSnapshots

  • java.lang.Object
    • com.google.api.services.compute.Compute.RegionInstantSnapshots
  • Enclosing class:
    Compute


    public class Compute.RegionInstantSnapshots
    extends Object
    The "regionInstantSnapshots" collection of methods.
    • Constructor Detail

      • RegionInstantSnapshots

        public RegionInstantSnapshots()
    • Method Detail

      • delete

        public Compute.RegionInstantSnapshots.Delete delete(String project,
                                                            String region,
                                                            String instantSnapshot)
                                                     throws IOException
        Deletes the specified InstantSnapshot resource. Keep in mind that deleting a single instantSnapshot might not necessarily delete all the data on that instantSnapshot. If any data on the instantSnapshot that is marked for deletion is needed for subsequent instantSnapshots, the data will be moved to the next corresponding instantSnapshot. For more information, see Deleting instantSnapshots. Create a request for the method "regionInstantSnapshots.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.
        region - The name of the region for this request.
        instantSnapshot - Name of the InstantSnapshot resource to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Compute.RegionInstantSnapshots.Get get(String project,
                                                      String region,
                                                      String instantSnapshot)
                                               throws IOException
        Returns the specified InstantSnapshot resource in the specified region. Create a request for the method "regionInstantSnapshots.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.
        region - The name of the region for this request.
        instantSnapshot - Name of the InstantSnapshot resource to return.
        Returns:
        the request
        Throws:
        IOException
      • getIamPolicy

        public Compute.RegionInstantSnapshots.GetIamPolicy getIamPolicy(String project,
                                                                        String region,
                                                                        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 "regionInstantSnapshots.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.
        region - The name of the region for this request.
        resource - Name or id of the resource for this request.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Compute.RegionInstantSnapshots.Insert insert(String project,
                                                            String region,
                                                            InstantSnapshot content)
                                                     throws IOException
        Creates an instant snapshot in the specified region. Create a request for the method "regionInstantSnapshots.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.
        region - Name of the region for this request.
        content - the InstantSnapshot
        Returns:
        the request
        Throws:
        IOException
      • list

        public Compute.RegionInstantSnapshots.List list(String project,
                                                        String region)
                                                 throws IOException
        Retrieves the list of InstantSnapshot resources contained within the specified region. Create a request for the method "regionInstantSnapshots.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.
        region - The name of the region for this request.
        Returns:
        the request
        Throws:
        IOException
      • setIamPolicy

        public Compute.RegionInstantSnapshots.SetIamPolicy setIamPolicy(String project,
                                                                        String region,
                                                                        String resource,
                                                                        RegionSetPolicyRequest content)
                                                                 throws IOException
        Sets the access control policy on the specified resource. Replaces any existing policy. Create a request for the method "regionInstantSnapshots.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.
        region - The name of the region for this request.
        resource - Name or id of the resource for this request.
        content - the RegionSetPolicyRequest
        Returns:
        the request
        Throws:
        IOException
      • setLabels

        public Compute.RegionInstantSnapshots.SetLabels setLabels(String project,
                                                                  String region,
                                                                  String resource,
                                                                  RegionSetLabelsRequest content)
                                                           throws IOException
        Sets the labels on a instantSnapshot in the given region. To learn more about labels, read the Labeling Resources documentation. Create a request for the method "regionInstantSnapshots.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.
        region - The region for this request.
        resource - Name or id of the resource for this request.
        content - the RegionSetLabelsRequest
        Returns:
        the request
        Throws:
        IOException
      • testIamPermissions

        public Compute.RegionInstantSnapshots.TestIamPermissions testIamPermissions(String project,
                                                                                    String region,
                                                                                    String resource,
                                                                                    TestPermissionsRequest content)
                                                                             throws IOException
        Returns permissions that a caller has on the specified resource. Create a request for the method "regionInstantSnapshots.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.
        region - The name of the region for this request.
        resource - Name or id of the resource for this request.
        content - the TestPermissionsRequest
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2025 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy