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

target.apidocs.com.google.api.services.sqladmin.model.User.html Maven / Gradle / Ivy

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






User (Cloud SQL Admin API v1-rev20240912-2.0.0)












com.google.api.services.sqladmin.model

Class User

    • Constructor Detail

      • User

        public User()
    • Method Detail

      • getDualPasswordType

        public String getDualPasswordType()
        Dual password status for the user.
        Returns:
        value or null for none
      • setDualPasswordType

        public User setDualPasswordType(String dualPasswordType)
        Dual password status for the user.
        Parameters:
        dualPasswordType - dualPasswordType or null for none
      • getEtag

        public String getEtag()
        This field is deprecated and will be removed from a future version of the API.
        Returns:
        value or null for none
      • setEtag

        public User setEtag(String etag)
        This field is deprecated and will be removed from a future version of the API.
        Parameters:
        etag - etag or null for none
      • getHost

        public String getHost()
        Optional. The host from which the user can connect. For `insert` operations, host defaults to an empty string. For `update` operations, host is specified as part of the request URL. The host name cannot be updated after insertion. For a MySQL instance, it's required; for a PostgreSQL or SQL Server instance, it's optional.
        Returns:
        value or null for none
      • setHost

        public User setHost(String host)
        Optional. The host from which the user can connect. For `insert` operations, host defaults to an empty string. For `update` operations, host is specified as part of the request URL. The host name cannot be updated after insertion. For a MySQL instance, it's required; for a PostgreSQL or SQL Server instance, it's optional.
        Parameters:
        host - host or null for none
      • getInstance

        public String getInstance()
        The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for `update` because it is already specified on the URL.
        Returns:
        value or null for none
      • setInstance

        public User setInstance(String instance)
        The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for `update` because it is already specified on the URL.
        Parameters:
        instance - instance or null for none
      • getKind

        public String getKind()
        This is always `sql#user`.
        Returns:
        value or null for none
      • setKind

        public User setKind(String kind)
        This is always `sql#user`.
        Parameters:
        kind - kind or null for none
      • getName

        public String getName()
        The name of the user in the Cloud SQL instance. Can be omitted for `update` because it is already specified in the URL.
        Returns:
        value or null for none
      • setName

        public User setName(String name)
        The name of the user in the Cloud SQL instance. Can be omitted for `update` because it is already specified in the URL.
        Parameters:
        name - name or null for none
      • getPassword

        public String getPassword()
        The password for the user.
        Returns:
        value or null for none
      • setPassword

        public User setPassword(String password)
        The password for the user.
        Parameters:
        password - password or null for none
      • getPasswordPolicy

        public UserPasswordValidationPolicy getPasswordPolicy()
        User level password validation policy.
        Returns:
        value or null for none
      • setPasswordPolicy

        public User setPasswordPolicy(UserPasswordValidationPolicy passwordPolicy)
        User level password validation policy.
        Parameters:
        passwordPolicy - passwordPolicy or null for none
      • getProject

        public String getProject()
        The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for `update` because it is already specified on the URL.
        Returns:
        value or null for none
      • setProject

        public User setProject(String project)
        The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for `update` because it is already specified on the URL.
        Parameters:
        project - project or null for none
      • getSqlserverUserDetails

        public SqlServerUserDetails getSqlserverUserDetails()
        Returns:
        value or null for none
      • setSqlserverUserDetails

        public User setSqlserverUserDetails(SqlServerUserDetails sqlserverUserDetails)
        Parameters:
        sqlserverUserDetails - sqlserverUserDetails or null for none
      • getType

        public String getType()
        The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type.
        Returns:
        value or null for none
      • setType

        public User setType(String type)
        The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type.
        Parameters:
        type - type or null for none
      • set

        public User set(String fieldName,
                        Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public User clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy