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

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

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






Channel (Google Drive API v3-rev20240914-2.0.0)












com.google.api.services.drive.model

Class Channel

    • Constructor Detail

      • Channel

        public Channel()
    • Method Detail

      • getAddress

        public String getAddress()
        The address where notifications are delivered for this channel.
        Returns:
        value or null for none
      • setAddress

        public Channel setAddress(String address)
        The address where notifications are delivered for this channel.
        Parameters:
        address - address or null for none
      • getExpiration

        public Long getExpiration()
        Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
        Returns:
        value or null for none
      • setExpiration

        public Channel setExpiration(Long expiration)
        Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
        Parameters:
        expiration - expiration or null for none
      • getId

        public String getId()
        A UUID or similar unique string that identifies this channel.
        Returns:
        value or null for none
      • setId

        public Channel setId(String id)
        A UUID or similar unique string that identifies this channel.
        Parameters:
        id - id or null for none
      • getKind

        public String getKind()
        Identifies this as a notification channel used to watch for changes to a resource, which is `api#channel`.
        Returns:
        value or null for none
      • setKind

        public Channel setKind(String kind)
        Identifies this as a notification channel used to watch for changes to a resource, which is `api#channel`.
        Parameters:
        kind - kind or null for none
      • getParams

        public Map<String,String> getParams()
        Additional parameters controlling delivery channel behavior. Optional.
        Returns:
        value or null for none
      • setParams

        public Channel setParams(Map<String,String> params)
        Additional parameters controlling delivery channel behavior. Optional.
        Parameters:
        params - params or null for none
      • getPayload

        public Boolean getPayload()
        A Boolean value to indicate whether payload is wanted. Optional.
        Returns:
        value or null for none
      • setPayload

        public Channel setPayload(Boolean payload)
        A Boolean value to indicate whether payload is wanted. Optional.
        Parameters:
        payload - payload or null for none
      • getResourceId

        public String getResourceId()
        An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
        Returns:
        value or null for none
      • setResourceId

        public Channel setResourceId(String resourceId)
        An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
        Parameters:
        resourceId - resourceId or null for none
      • getResourceUri

        public String getResourceUri()
        A version-specific identifier for the watched resource.
        Returns:
        value or null for none
      • setResourceUri

        public Channel setResourceUri(String resourceUri)
        A version-specific identifier for the watched resource.
        Parameters:
        resourceUri - resourceUri or null for none
      • getToken

        public String getToken()
        An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
        Returns:
        value or null for none
      • setToken

        public Channel setToken(String token)
        An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
        Parameters:
        token - token or null for none
      • getType

        public String getType()
        The type of delivery mechanism used for this channel. Valid values are "web_hook" or "webhook".
        Returns:
        value or null for none
      • setType

        public Channel setType(String type)
        The type of delivery mechanism used for this channel. Valid values are "web_hook" or "webhook".
        Parameters:
        type - type or null for none
      • set

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

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

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy