Class: Google::Apis::AnalyticsV3::FilterRef
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsV3::FilterRef
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analytics_v3/classes.rb,
generated/google/apis/analytics_v3/representations.rb,
generated/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FilterRef
Returns a new instance of FilterRef
2509 2510 2511 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2509 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
2487 2488 2489 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2487 def account_id @account_id end |
#href ⇒ String
Link for this filter.
Corresponds to the JSON property href
2492 2493 2494 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2492 def href @href end |
#id ⇒ String
Filter ID.
Corresponds to the JSON property id
2497 2498 2499 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2497 def id @id end |
#kind ⇒ String
Kind value for filter reference.
Corresponds to the JSON property kind
2502 2503 2504 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2502 def kind @kind end |
#name ⇒ String
Name of this filter.
Corresponds to the JSON property name
2507 2508 2509 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2507 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2514 2515 2516 2517 2518 2519 2520 |
# File 'generated/google/apis/analytics_v3/classes.rb', line 2514 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 |