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.



55928
55929
55930
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55928

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)


55921
55922
55923
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55921

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)


55926
55927
55928
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55926

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



55933
55934
55935
55936
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55933

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