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

target.apidocs.com.google.api.services.backupdr.v1.Backupdr.Projects.Locations.ManagementServers.html Maven / Gradle / Ivy

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






Backupdr.Projects.Locations.ManagementServers (Backup and DR Service API v1-rev20240731-2.0.0)












com.google.api.services.backupdr.v1

Class Backupdr.Projects.Locations.ManagementServers

  • java.lang.Object
    • com.google.api.services.backupdr.v1.Backupdr.Projects.Locations.ManagementServers
  • Enclosing class:
    Backupdr.Projects.Locations


    public class Backupdr.Projects.Locations.ManagementServers
    extends Object
    The "managementServers" collection of methods.
    • Constructor Detail

      • ManagementServers

        public ManagementServers()
    • Method Detail

      • create

        public Backupdr.Projects.Locations.ManagementServers.Create create(String parent,
                                                                           ManagementServer content)
                                                                    throws IOException
        Creates a new ManagementServer in a given project and location. Create a request for the method "managementServers.create". This request holds the parameters needed by the backupdr server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The management server project and location in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR locations map to Google Cloud regions, for example **us-central1**.
        content - the ManagementServer
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Backupdr.Projects.Locations.ManagementServers.Delete delete(String name)
                                                                    throws IOException
        Deletes a single ManagementServer. Create a request for the method "managementServers.delete". This request holds the parameters needed by the backupdr server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. Name of the resource
        Returns:
        the request
        Throws:
        IOException
      • get

        public Backupdr.Projects.Locations.ManagementServers.Get get(String name)
                                                              throws IOException
        Gets details of a single ManagementServer. Create a request for the method "managementServers.get". This request holds the parameters needed by the backupdr server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. Name of the management server resource name, in the format 'projects/{project_id}/locations/{location}/managementServers/{resource_name}'
        Returns:
        the request
        Throws:
        IOException
      • getIamPolicy

        public Backupdr.Projects.Locations.ManagementServers.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 "managementServers.getIamPolicy". This request holds the parameters needed by the backupdr 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 Backupdr.Projects.Locations.ManagementServers.List list(String parent)
                                                                throws IOException
        Lists ManagementServers in a given project and location. Create a request for the method "managementServers.list". This request holds the parameters needed by the backupdr server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The project and location for which to retrieve management servers information, in the format 'projects/{project_id}/locations/{location}'. In Cloud BackupDR, locations map to Google Cloud regions, for example **us-central1**. To retrieve management servers for all locations, use "-" for the '{location}' value.
        Returns:
        the request
        Throws:
        IOException
      • setIamPolicy

        public Backupdr.Projects.Locations.ManagementServers.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 "managementServers.setIamPolicy". This request holds the parameters needed by the backupdr 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 Backupdr.Projects.Locations.ManagementServers.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 "managementServers.testIamPermissions". This request holds the parameters needed by the backupdr 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 - 2024 Weber Informatics LLC | Privacy Policy