Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup
- 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 resource message representing a Channel Group.
Instance Attribute Summary collapse
-
#description ⇒ String
The description of the Channel Group.
-
#display_name ⇒ String
Required.
-
#grouping_rule ⇒ Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGroupingRule>
Required.
-
#name ⇒ String
Output only.
-
#system_defined ⇒ Boolean
(also: #system_defined?)
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaChannelGroup
constructor
A new instance of GoogleAnalyticsAdminV1alphaChannelGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaChannelGroup
Returns a new instance of GoogleAnalyticsAdminV1alphaChannelGroup.
2137 2138 2139 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
The description of the Channel Group. Max length of 256 characters.
Corresponds to the JSON property description
2113 2114 2115 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2113 def description @description end |
#display_name ⇒ String
Required. The display name of the Channel Group. Max length of 80 characters.
Corresponds to the JSON property displayName
2118 2119 2120 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2118 def display_name @display_name end |
#grouping_rule ⇒ Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGroupingRule>
Required. The grouping rules of channels. Maximum number of rules is 25.
Corresponds to the JSON property groupingRule
2123 2124 2125 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2123 def grouping_rule @grouping_rule end |
#name ⇒ String
Output only. The resource name for this Channel Group resource. Format:
properties/property/channelGroups/channel_group
Corresponds to the JSON property name
2129 2130 2131 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2129 def name @name end |
#system_defined ⇒ Boolean Also known as: system_defined?
Output only. Default Channel Group defined by Google, which cannot be updated.
Corresponds to the JSON property systemDefined
2134 2135 2136 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2134 def system_defined @system_defined end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2142 2143 2144 2145 2146 2147 2148 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2142 def update!(**args) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @grouping_rule = args[:grouping_rule] if args.key?(:grouping_rule) @name = args[:name] if args.key?(:name) @system_defined = args[:system_defined] if args.key?(:system_defined) end |