Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomerManagerLink

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

Overview

Represents customer-manager link relationship.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesCustomerManagerLink

Returns a new instance of GoogleAdsSearchads360V0ResourcesCustomerManagerLink.



3243
3244
3245
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3243

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)


3224
3225
3226
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3224

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)


3229
3230
3231
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3229

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)


3236
3237
3238
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3236

def resource_name
  @resource_name
end

#statusString

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

Returns:

  • (String)


3241
3242
3243
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3241

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3248
3249
3250
3251
3252
3253
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3248

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)
  @status = args[:status] if args.key?(:status)
end