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

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

There is a newer version: directory_v1-rev20240709-2.0.0
Show newest version






Channel (Admin SDK API directory_v1-rev20220125-1.32.1)












com.google.api.services.directory.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.
        Returns:
        value or null for none
      • setType

        public Channel setType(String type)
        The type of delivery mechanism used for this channel.
        Parameters:
        type - type or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy