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

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

There is a newer version: v1-rev20250107-2.0.0
Show newest version






Compute.ServiceAttachments (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute

Class Compute.ServiceAttachments

  • Enclosing class:
    Compute


    public class Compute.ServiceAttachments
    extends Object
    The "serviceAttachments" collection of methods.
    • Constructor Detail

      • ServiceAttachments

        public ServiceAttachments()
    • Method Detail

      • delete

        public Compute.ServiceAttachments.Delete delete(String project,
                                                        String region,
                                                        String serviceAttachment)
                                                 throws IOException
        Deletes the specified ServiceAttachment in the given scope Create a request for the method "serviceAttachments.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 - Name of the region of this request.
        serviceAttachment - Name of the ServiceAttachment resource to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Compute.ServiceAttachments.Get get(String project,
                                                  String region,
                                                  String serviceAttachment)
                                           throws IOException
        Returns the specified ServiceAttachment resource in the given scope. Create a request for the method "serviceAttachments.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 - Name of the region of this request.
        serviceAttachment - Name of the ServiceAttachment resource to return.
        Returns:
        the request
        Throws:
        IOException
      • getIamPolicy

        public Compute.ServiceAttachments.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 "serviceAttachments.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
      • list

        public Compute.ServiceAttachments.List list(String project,
                                                    String region)
                                             throws IOException
        Lists the ServiceAttachments for a project in the given scope. Create a request for the method "serviceAttachments.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 - Name of the region of this request.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy