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

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

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






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












com.google.api.services.compute

Class Compute.GlobalForwardingRules

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


    public class Compute.GlobalForwardingRules
    extends Object
    The "globalForwardingRules" collection of methods.
    • Constructor Detail

      • GlobalForwardingRules

        public GlobalForwardingRules()
    • Method Detail

      • delete

        public Compute.GlobalForwardingRules.Delete delete(String project,
                                                           String forwardingRule)
                                                    throws IOException
        Deletes the specified GlobalForwardingRule resource. Create a request for the method "globalForwardingRules.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.
        forwardingRule - Name of the ForwardingRule resource to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Compute.GlobalForwardingRules.Get get(String project,
                                                     String forwardingRule)
                                              throws IOException
        Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request. Create a request for the method "globalForwardingRules.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.
        forwardingRule - Name of the ForwardingRule resource to return.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Compute.GlobalForwardingRules.List list(String project)
                                                throws IOException
        Retrieves a list of GlobalForwardingRule resources available to the specified project. Create a request for the method "globalForwardingRules.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.GlobalForwardingRules.Patch patch(String project,
                                                         String forwardingRule,
                                                         ForwardingRule content)
                                                  throws IOException
        Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field. Create a request for the method "globalForwardingRules.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.
        forwardingRule - Name of the ForwardingRule resource to patch.
        content - the ForwardingRule
        Returns:
        the request
        Throws:
        IOException
      • setTarget

        public Compute.GlobalForwardingRules.SetTarget setTarget(String project,
                                                                 String forwardingRule,
                                                                 TargetReference content)
                                                          throws IOException
        Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target. Create a request for the method "globalForwardingRules.setTarget". 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.
        forwardingRule - Name of the ForwardingRule resource in which target is to be set.
        content - the TargetReference
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy