Show / Hide Table of Contents

Class Team

A Team defines a grouping of users and what entities they have access to.

Inheritance
object
Team
Implements
IMessage<Team>
IEquatable<Team>
IDeepCloneable<Team>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class Team : IMessage<Team>, IEquatable<Team>, IDeepCloneable<Team>, IBufferMessage, IMessage

Constructors

Team()

Declaration
public Team()

Team(Team)

Declaration
public Team(Team other)
Parameters
Type Name Description
Team other

Properties

AccessType

Optional. The default access to orders for users on this team.

Declaration
public TeamAccessTypeEnum.Types.TeamAccessType AccessType { get; set; }
Property Value
Type Description
TeamAccessTypeEnum.Types.TeamAccessType

AllCompaniesAccess

Optional. Whether or not users on this team have access to all companies. If this value is true, then an error will be thrown if an attempt is made to associate this team with a Company.

Declaration
public bool AllCompaniesAccess { get; set; }
Property Value
Type Description
bool

AllInventoryAccess

Optional. Whether or not users on this team have access to all inventory. If this value is true, then an error will be thrown if an attempt is made to associate this team with an AdUnit.

Declaration
public bool AllInventoryAccess { get; set; }
Property Value
Type Description
bool

Description

Optional. The description of the Team. This value has a maximum length of 255 characters.

Declaration
public string Description { get; set; }
Property Value
Type Description
string

DisplayName

Required. The name of the Team. This value has a maximum length of 127 characters.

Declaration
public string DisplayName { get; set; }
Property Value
Type Description
string

HasAccessType

Gets whether the "access_type" field is set

Declaration
public bool HasAccessType { get; }
Property Value
Type Description
bool

HasAllCompaniesAccess

Gets whether the "all_companies_access" field is set

Declaration
public bool HasAllCompaniesAccess { get; }
Property Value
Type Description
bool

HasAllInventoryAccess

Gets whether the "all_inventory_access" field is set

Declaration
public bool HasAllInventoryAccess { get; }
Property Value
Type Description
bool

HasDescription

Gets whether the "description" field is set

Declaration
public bool HasDescription { get; }
Property Value
Type Description
bool

HasDisplayName

Gets whether the "display_name" field is set

Declaration
public bool HasDisplayName { get; }
Property Value
Type Description
bool

HasStatus

Gets whether the "status" field is set

Declaration
public bool HasStatus { get; }
Property Value
Type Description
bool

Name

Identifier. The resource name of the Team. Format: networks/{network_code}/teams/{team_id}

Declaration
public string Name { get; set; }
Property Value
Type Description
string

Status

Output only. The status of the Team. This value determines the visibility of the team in the UI.

Declaration
public TeamStatusEnum.Types.TeamStatus Status { get; set; }
Property Value
Type Description
TeamStatusEnum.Types.TeamStatus

TeamName

TeamName-typed view over the Name resource name property.

Declaration
public TeamName TeamName { get; set; }
Property Value
Type Description
TeamName
In this article
Back to top Generated by DocFX