Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerManagerLink

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb

Overview

Represents customer-manager link relationship.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCustomerManagerLink

Returns a new instance of GoogleAdsSearchads360V23ResourcesCustomerManagerLink.



28197
28198
28199
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28197

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#manager_customerString

Output only. The manager customer linked to the customer. Corresponds to the JSON property managerCustomer

Returns:

  • (String)


28172
28173
28174
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28172

def manager_customer
  @manager_customer
end

Output only. ID of the customer-manager link. This field is read only. Corresponds to the JSON property managerLinkId

Returns:

  • (Fixnum)


28177
28178
28179
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28177

def manager_link_id
  @manager_link_id
end

#resource_nameString

Immutable. Name of the resource. CustomerManagerLink resource names have the form: customers/customer_id/customerManagerLinks/manager_customer_id~ manager_link_id` Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


28184
28185
28186
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28184

def resource_name
  @resource_name
end

#start_timeString

Output only. The timestamp when the CustomerManagerLink was created. The timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. Corresponds to the JSON property startTime

Returns:

  • (String)


28190
28191
28192
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28190

def start_time
  @start_time
end

#statusString

Status of the link between the customer and the manager. Corresponds to the JSON property status

Returns:

  • (String)


28195
28196
28197
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28195

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28202
28203
28204
28205
28206
28207
28208
# File 'lib/google/apis/searchads360_v23/classes.rb', line 28202

def update!(**args)
  @manager_customer = args[:manager_customer] if args.key?(:manager_customer)
  @manager_link_id = args[:manager_link_id] if args.key?(:manager_link_id)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
  @start_time = args[:start_time] if args.key?(:start_time)
  @status = args[:status] if args.key?(:status)
end