class Google::Apis::AuthorizedbuyersmarketplaceV1::Client

A client represents an agency, a brand, or an advertiser customer of the buyer. Based on the client’s role, its client users will have varying levels of restricted access to the Marketplace and certain other sections of the Authorized Buyers UI.

Attributes

display_name[RW]

Required. Display name shown to publishers. Must be unique for clients without partnerClientId specified. Maximum length of 255 characters is allowed. Corresponds to the JSON property ‘displayName` @return [String]

name[RW]

Output only. The resource name of the client. Format: ‘buyers/`accountId`/ clients/`clientAccountId“ Corresponds to the JSON property `name` @return [String]

partner_client_id[RW]

Arbitrary unique identifier provided by the buyer. This field can be used to associate a client with an identifier in the namespace of the buyer, lookup clients by that identifier and verify whether an Authorized Buyers account of the client already exists. If present, must be unique across all the clients. Corresponds to the JSON property ‘partnerClientId` @return [String]

role[RW]

Required. The role assigned to the client. Each role implies a set of permissions granted to the client. Corresponds to the JSON property ‘role` @return [String]

seller_visible[RW]

Whether the client will be visible to sellers. Corresponds to the JSON property ‘sellerVisible` @return [Boolean]

seller_visible?[RW]

Whether the client will be visible to sellers. Corresponds to the JSON property ‘sellerVisible` @return [Boolean]

state[RW]

Output only. The state of the client. Corresponds to the JSON property ‘state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 303
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 308
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @partner_client_id = args[:partner_client_id] if args.key?(:partner_client_id)
  @role = args[:role] if args.key?(:role)
  @seller_visible = args[:seller_visible] if args.key?(:seller_visible)
  @state = args[:state] if args.key?(:state)
end