Class: Google::Apis::AnalyticsV3::FilterRef
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::FilterRef
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analytics_v3/classes.rb,
lib/google/apis/analytics_v3/representations.rb,
lib/google/apis/analytics_v3/representations.rb
Overview
JSON template for a profile filter link.
Instance Attribute Summary collapse
-
#account_id ⇒ String
Account ID to which this filter belongs.
-
#href ⇒ String
Link for this filter.
-
#id ⇒ String
Filter ID.
-
#kind ⇒ String
Kind value for filter reference.
-
#name ⇒ String
Name of this filter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FilterRef
constructor
A new instance of FilterRef.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FilterRef
Returns a new instance of FilterRef.
2415 2416 2417 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 2415 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_id ⇒ String
Account ID to which this filter belongs.
Corresponds to the JSON property accountId
2393 2394 2395 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 2393 def account_id @account_id end |
#href ⇒ String
Link for this filter.
Corresponds to the JSON property href
2398 2399 2400 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 2398 def href @href end |
#id ⇒ String
Filter ID.
Corresponds to the JSON property id
2403 2404 2405 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 2403 def id @id end |
#kind ⇒ String
Kind value for filter reference.
Corresponds to the JSON property kind
2408 2409 2410 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 2408 def kind @kind end |
#name ⇒ String
Name of this filter.
Corresponds to the JSON property name
2413 2414 2415 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 2413 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2420 2421 2422 2423 2424 2425 2426 |
# File 'lib/google/apis/analytics_v3/classes.rb', line 2420 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @href = args[:href] if args.key?(:href) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) end |