Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRollupPropertySourceLink

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb

Overview

A link that references a source property under the parent rollup property.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaRollupPropertySourceLink

Returns a new instance of GoogleAnalyticsAdminV1alphaRollupPropertySourceLink.



5109
5110
5111
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5109

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

Instance Attribute Details

#nameString

Output only. Resource name of this RollupPropertySourceLink. Format: ' properties/property_id/rollupPropertySourceLinks/ rollup_property_source_link' Format: 'properties/123/ rollupPropertySourceLinks/456' Corresponds to the JSON property name

Returns:

  • (String)


5101
5102
5103
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5101

def name
  @name
end

#source_propertyString

Immutable. Resource name of the source property. Format: properties/ property_id Example: "properties/789" Corresponds to the JSON property sourceProperty

Returns:

  • (String)


5107
5108
5109
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5107

def source_property
  @source_property
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5114
5115
5116
5117
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 5114

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