Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest

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

Request message for DataLinkService.UpdateDataLink.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest

Returns a new instance of GoogleAdsSearchads360V23ServicesUpdateDataLinkRequest.



56000
56001
56002
# File 'lib/google/apis/searchads360_v23/classes.rb', line 56000

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

Instance Attribute Details

Required. The data link status to be updated to. Corresponds to the JSON property dataLinkStatus

Returns:

  • (String)


55993
55994
55995
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55993

def data_link_status
  @data_link_status
end

#resource_nameString

Required. The data link is expected to have a valid resource name. Corresponds to the JSON property resourceName

Returns:

  • (String)


55998
55999
56000
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55998

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



56005
56006
56007
56008
# File 'lib/google/apis/searchads360_v23/classes.rb', line 56005

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