Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse

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

Response message for CreateCustomerClient mutate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse

Returns a new instance of GoogleAdsSearchads360V23ServicesCreateCustomerClientResponse.



39626
39627
39628
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39626

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

Instance Attribute Details

Link for inviting user to access the created customer. Accessible to allowlisted customers only. Corresponds to the JSON property invitationLink

Returns:

  • (String)


39618
39619
39620
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39618

def invitation_link
  @invitation_link
end

#resource_nameString

The resource name of the newly created customer. Customer resource names have the form: customers/customer_id`. Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


39624
39625
39626
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39624

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39631
39632
39633
39634
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39631

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