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

target.apidocs.com.google.api.services.eventarc.v1.Eventarc.Projects.Locations.Triggers.html Maven / Gradle / Ivy

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






Eventarc.Projects.Locations.Triggers (Eventarc API v1-rev20240102-2.0.0)












com.google.api.services.eventarc.v1

Class Eventarc.Projects.Locations.Triggers

  • java.lang.Object
    • com.google.api.services.eventarc.v1.Eventarc.Projects.Locations.Triggers
    • Constructor Detail

      • Triggers

        public Triggers()
    • Method Detail

      • create

        public Eventarc.Projects.Locations.Triggers.Create create(String parent,
                                                                  Trigger content)
                                                           throws IOException
        Create a new trigger in a particular project and location. Create a request for the method "triggers.create". This request holds the parameters needed by the eventarc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The parent collection in which to add this trigger.
        content - the Trigger
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Eventarc.Projects.Locations.Triggers.Delete delete(String name)
                                                           throws IOException
        Delete a single trigger. Create a request for the method "triggers.delete". This request holds the parameters needed by the eventarc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the trigger to be deleted.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Eventarc.Projects.Locations.Triggers.Get get(String name)
                                                     throws IOException
        Get a single trigger. Create a request for the method "triggers.get". This request holds the parameters needed by the eventarc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The name of the trigger to get.
        Returns:
        the request
        Throws:
        IOException
      • getIamPolicy

        public Eventarc.Projects.Locations.Triggers.GetIamPolicy getIamPolicy(String resource)
                                                                       throws IOException
        Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. Create a request for the method "triggers.getIamPolicy". This request holds the parameters needed by the eventarc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        resource - REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Eventarc.Projects.Locations.Triggers.List list(String parent)
                                                       throws IOException
        List triggers. Create a request for the method "triggers.list". This request holds the parameters needed by the eventarc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The parent collection to list triggers on.
        Returns:
        the request
        Throws:
        IOException
      • patch

        public Eventarc.Projects.Locations.Triggers.Patch patch(String name,
                                                                Trigger content)
                                                         throws IOException
        Update a single trigger. Create a request for the method "triggers.patch". This request holds the parameters needed by the eventarc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format.
        content - the Trigger
        Returns:
        the request
        Throws:
        IOException
      • setIamPolicy

        public Eventarc.Projects.Locations.Triggers.SetIamPolicy setIamPolicy(String resource,
                                                                              SetIamPolicyRequest content)
                                                                       throws IOException
        Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. Create a request for the method "triggers.setIamPolicy". This request holds the parameters needed by the eventarc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        resource - REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
        content - the SetIamPolicyRequest
        Returns:
        the request
        Throws:
        IOException
      • testIamPermissions

        public Eventarc.Projects.Locations.Triggers.TestIamPermissions testIamPermissions(String resource,
                                                                                          TestIamPermissionsRequest content)
                                                                                   throws IOException
        Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. Create a request for the method "triggers.testIamPermissions". This request holds the parameters needed by the eventarc server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        resource - REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
        content - the TestIamPermissionsRequest
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy