Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCustomerManagerLinkOperation

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

Updates the status of a CustomerManagerLink. The following actions are possible: 1. Update operation with status ACTIVE accepts a pending invitation.

  1. Update operation with status REFUSED declines a pending invitation. 3. Update operation with status INACTIVE terminates link to manager.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesCustomerManagerLinkOperation

Returns a new instance of GoogleAdsSearchads360V23ServicesCustomerManagerLinkOperation.



40164
40165
40166
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40164

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

Instance Attribute Details

#updateGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerManagerLink

Represents customer-manager link relationship. Corresponds to the JSON property update



40157
40158
40159
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40157

def update
  @update
end

#update_maskString

FieldMask that determines which resource fields are modified in an update. Corresponds to the JSON property updateMask

Returns:

  • (String)


40162
40163
40164
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40162

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40169
40170
40171
40172
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40169

def update!(**args)
  @update = args[:update] if args.key?(:update)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end