Class: Google::Apis::AnalyticsreportingV4::SegmentDefinition
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AnalyticsreportingV4::SegmentDefinition
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsreporting_v4/classes.rb,
 generated/google/apis/analyticsreporting_v4/representations.rb,
 generated/google/apis/analyticsreporting_v4/representations.rb
Overview
SegmentDefinition defines the segment to be a set of SegmentFilters which
are combined together with a logical AND operation.
Instance Attribute Summary collapse
- 
  
    
      #segment_filters  ⇒ Array<Google::Apis::AnalyticsreportingV4::SegmentFilter> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A segment is defined by a set of segment filters which are combined together with a logical ANDoperation.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SegmentDefinition 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SegmentDefinition. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SegmentDefinition
Returns a new instance of SegmentDefinition
| 1201 1202 1203 | # File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1201 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#segment_filters ⇒ Array<Google::Apis::AnalyticsreportingV4::SegmentFilter>
A segment is defined by a set of segment filters which are combined
together with a logical AND operation.
Corresponds to the JSON property segmentFilters
| 1199 1200 1201 | # File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1199 def segment_filters @segment_filters end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1206 1207 1208 | # File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1206 def update!(**args) @segment_filters = args[:segment_filters] if args.key?(:segment_filters) end |