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

target.apidocs.com.google.api.services.drive.model.Property.html Maven / Gradle / Ivy

There is a newer version: v3-rev20240903-2.0.0
Show newest version






Property (Drive API v2-rev20180830-1.26.0)












com.google.api.services.drive.model

Class Property

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class Property
    extends com.google.api.client.json.GenericJson
    A key-value pair attached to a file that is either public or private to an application. The following limits apply to file properties: - Maximum of 100 properties total per file - Maximum of 30 private properties per app - Maximum of 30 public properties - Maximum of 124 bytes size limit on (key + value) string in UTF-8 encoding for a single property.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Drive API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • Property

        public Property()
    • Method Detail

      • getEtag

        public String getEtag()
        ETag of the property.
        Returns:
        value or null for none
      • setEtag

        public Property setEtag(String etag)
        ETag of the property.
        Parameters:
        etag - etag or null for none
      • getKey

        public String getKey()
        The key of this property.
        Returns:
        value or null for none
      • setKey

        public Property setKey(String key)
        The key of this property.
        Parameters:
        key - key or null for none
      • getKind

        public String getKind()
        This is always drive#property.
        Returns:
        value or null for none
      • setKind

        public Property setKind(String kind)
        This is always drive#property.
        Parameters:
        kind - kind or null for none
      • getSelfLink

        public String getSelfLink()
        The link back to this property.
        Returns:
        value or null for none
      • setSelfLink

        public Property setSelfLink(String selfLink)
        The link back to this property.
        Parameters:
        selfLink - selfLink or null for none
      • getValue

        public String getValue()
        The value of this property.
        Returns:
        value or null for none
      • setValue

        public Property setValue(String value)
        The value of this property.
        Parameters:
        value - value or null for none
      • getVisibility

        public String getVisibility()
        The visibility of this property. Allowed values are PRIVATE and PUBLIC. (Default: PRIVATE)
        Returns:
        value or null for none
      • setVisibility

        public Property setVisibility(String visibility)
        The visibility of this property. Allowed values are PRIVATE and PUBLIC. (Default: PRIVATE)
        Parameters:
        visibility - visibility or null for none
      • set

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

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

Copyright © 2011–2018 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy