
target.apidocs.com.google.api.services.analytics.model.EntityUserLink.html Maven / Gradle / Ivy
EntityUserLink (Google Analytics API v3-rev20190604-1.30.1)
com.google.api.services.analytics.model
Class EntityUserLink
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.analytics.model.EntityUserLink
-
public final class EntityUserLink
extends GenericJson
JSON template for an Analytics Entity-User Link. Returns permissions that a user has for an
entity.
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 Google Analytics API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static class
EntityUserLink.Entity
Entity for this link.
static class
EntityUserLink.Permissions
Permissions the user has for this entity.
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
EntityUserLink()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
EntityUserLink
clone()
EntityUserLink.Entity
getEntity()
Entity for this link.
String
getId()
Entity user link ID
String
getKind()
Resource type for entity user link.
EntityUserLink.Permissions
getPermissions()
Permissions the user has for this entity.
String
getSelfLink()
Self link for this resource.
UserRef
getUserRef()
User reference.
EntityUserLink
set(String fieldName,
Object value)
EntityUserLink
setEntity(EntityUserLink.Entity entity)
Entity for this link.
EntityUserLink
setId(String id)
Entity user link ID
EntityUserLink
setKind(String kind)
Resource type for entity user link.
EntityUserLink
setPermissions(EntityUserLink.Permissions permissions)
Permissions the user has for this entity.
EntityUserLink
setSelfLink(String selfLink)
Self link for this resource.
EntityUserLink
setUserRef(UserRef userRef)
User reference.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getEntity
public EntityUserLink.Entity getEntity()
Entity for this link. It can be an account, a web property, or a view (profile).
- Returns:
- value or
null
for none
-
setEntity
public EntityUserLink setEntity(EntityUserLink.Entity entity)
Entity for this link. It can be an account, a web property, or a view (profile).
- Parameters:
entity
- entity or null
for none
-
getId
public String getId()
Entity user link ID
- Returns:
- value or
null
for none
-
setId
public EntityUserLink setId(String id)
Entity user link ID
- Parameters:
id
- id or null
for none
-
getKind
public String getKind()
Resource type for entity user link.
- Returns:
- value or
null
for none
-
setKind
public EntityUserLink setKind(String kind)
Resource type for entity user link.
- Parameters:
kind
- kind or null
for none
-
getPermissions
public EntityUserLink.Permissions getPermissions()
Permissions the user has for this entity.
- Returns:
- value or
null
for none
-
setPermissions
public EntityUserLink setPermissions(EntityUserLink.Permissions permissions)
Permissions the user has for this entity.
- Parameters:
permissions
- permissions or null
for none
-
getSelfLink
public String getSelfLink()
Self link for this resource.
- Returns:
- value or
null
for none
-
setSelfLink
public EntityUserLink setSelfLink(String selfLink)
Self link for this resource.
- Parameters:
selfLink
- selfLink or null
for none
-
getUserRef
public UserRef getUserRef()
User reference.
- Returns:
- value or
null
for none
-
setUserRef
public EntityUserLink setUserRef(UserRef userRef)
User reference.
- Parameters:
userRef
- userRef or null
for none
-
set
public EntityUserLink set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public EntityUserLink clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy