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.



55074
55075
55076
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55074

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)


55067
55068
55069
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55067

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)


55072
55073
55074
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55072

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



55079
55080
55081
55082
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55079

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