Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1CustomReport

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1CustomReport

Returns a new instance of GoogleCloudApigeeV1CustomReport.



1909
1910
1911
# File 'lib/google/apis/apigee_v1/classes.rb', line 1909

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

Instance Attribute Details

#chart_typeString

This field contains the chart type for the report Corresponds to the JSON property chartType

Returns:

  • (String)


1797
1798
1799
# File 'lib/google/apis/apigee_v1/classes.rb', line 1797

def chart_type
  @chart_type
end

#commentsArray<String>

Legacy field: not used. This field contains a list of comments associated with custom report Corresponds to the JSON property comments

Returns:

  • (Array<String>)


1803
1804
1805
# File 'lib/google/apis/apigee_v1/classes.rb', line 1803

def comments
  @comments
end

#created_atFixnum

Output only. Unix time when the app was created json key: createdAt Corresponds to the JSON property createdAt

Returns:

  • (Fixnum)


1808
1809
1810
# File 'lib/google/apis/apigee_v1/classes.rb', line 1808

def created_at
  @created_at
end

#dimensionsArray<String>

This contains the list of dimensions for the report Corresponds to the JSON property dimensions

Returns:

  • (Array<String>)


1813
1814
1815
# File 'lib/google/apis/apigee_v1/classes.rb', line 1813

def dimensions
  @dimensions
end

#display_nameString

This is the display name for the report Corresponds to the JSON property displayName

Returns:

  • (String)


1818
1819
1820
# File 'lib/google/apis/apigee_v1/classes.rb', line 1818

def display_name
  @display_name
end

#environmentString

Output only. Environment name Corresponds to the JSON property environment

Returns:

  • (String)


1823
1824
1825
# File 'lib/google/apis/apigee_v1/classes.rb', line 1823

def environment
  @environment
end

#filterString

This field contains the filter expression Corresponds to the JSON property filter

Returns:

  • (String)


1828
1829
1830
# File 'lib/google/apis/apigee_v1/classes.rb', line 1828

def filter
  @filter
end

#from_timeString

Legacy field: not used. Contains the from time for the report Corresponds to the JSON property fromTime

Returns:

  • (String)


1833
1834
1835
# File 'lib/google/apis/apigee_v1/classes.rb', line 1833

def from_time
  @from_time
end

#last_modified_atFixnum

Output only. Modified time of this entity as milliseconds since epoch. json key: lastModifiedAt Corresponds to the JSON property lastModifiedAt

Returns:

  • (Fixnum)


1839
1840
1841
# File 'lib/google/apis/apigee_v1/classes.rb', line 1839

def last_modified_at
  @last_modified_at
end

#last_viewed_atFixnum

Output only. Last viewed time of this entity as milliseconds since epoch Corresponds to the JSON property lastViewedAt

Returns:

  • (Fixnum)


1844
1845
1846
# File 'lib/google/apis/apigee_v1/classes.rb', line 1844

def last_viewed_at
  @last_viewed_at
end

#limitString

Legacy field: not used This field contains the limit for the result retrieved Corresponds to the JSON property limit

Returns:

  • (String)


1849
1850
1851
# File 'lib/google/apis/apigee_v1/classes.rb', line 1849

def limit
  @limit
end

#metricsArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1CustomReportMetric>

Required. This contains the list of metrics Corresponds to the JSON property metrics



1854
1855
1856
# File 'lib/google/apis/apigee_v1/classes.rb', line 1854

def metrics
  @metrics
end

#nameString

Required. Unique identifier for the report T his is a legacy field used to encode custom report unique id Corresponds to the JSON property name

Returns:

  • (String)


1860
1861
1862
# File 'lib/google/apis/apigee_v1/classes.rb', line 1860

def name
  @name
end

#offsetString

Legacy field: not used. This field contains the offset for the data Corresponds to the JSON property offset

Returns:

  • (String)


1865
1866
1867
# File 'lib/google/apis/apigee_v1/classes.rb', line 1865

def offset
  @offset
end

#organizationString

Output only. Organization name Corresponds to the JSON property organization

Returns:

  • (String)


1870
1871
1872
# File 'lib/google/apis/apigee_v1/classes.rb', line 1870

def organization
  @organization
end

#propertiesArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportProperty>

This field contains report properties such as ui metadata etc. Corresponds to the JSON property properties



1875
1876
1877
# File 'lib/google/apis/apigee_v1/classes.rb', line 1875

def properties
  @properties
end

#sort_by_colsArray<String>

Legacy field: not used much. Contains the list of sort by columns Corresponds to the JSON property sortByCols

Returns:

  • (Array<String>)


1880
1881
1882
# File 'lib/google/apis/apigee_v1/classes.rb', line 1880

def sort_by_cols
  @sort_by_cols
end

#sort_orderString

Legacy field: not used much. Contains the sort order for the sort columns Corresponds to the JSON property sortOrder

Returns:

  • (String)


1885
1886
1887
# File 'lib/google/apis/apigee_v1/classes.rb', line 1885

def sort_order
  @sort_order
end

#tagsArray<String>

Legacy field: not used. This field contains a list of tags associated with custom report Corresponds to the JSON property tags

Returns:

  • (Array<String>)


1891
1892
1893
# File 'lib/google/apis/apigee_v1/classes.rb', line 1891

def tags
  @tags
end

#time_unitString

This field contains the time unit of aggregation for the report Corresponds to the JSON property timeUnit

Returns:

  • (String)


1896
1897
1898
# File 'lib/google/apis/apigee_v1/classes.rb', line 1896

def time_unit
  @time_unit
end

#to_timeString

Legacy field: not used. Contains the end time for the report Corresponds to the JSON property toTime

Returns:

  • (String)


1901
1902
1903
# File 'lib/google/apis/apigee_v1/classes.rb', line 1901

def to_time
  @to_time
end

#topkString

Legacy field: not used. This field contains the top k parameter value for restricting the result Corresponds to the JSON property topk

Returns:

  • (String)


1907
1908
1909
# File 'lib/google/apis/apigee_v1/classes.rb', line 1907

def topk
  @topk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
# File 'lib/google/apis/apigee_v1/classes.rb', line 1914

def update!(**args)
  @chart_type = args[:chart_type] if args.key?(:chart_type)
  @comments = args[:comments] if args.key?(:comments)
  @created_at = args[:created_at] if args.key?(:created_at)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
  @display_name = args[:display_name] if args.key?(:display_name)
  @environment = args[:environment] if args.key?(:environment)
  @filter = args[:filter] if args.key?(:filter)
  @from_time = args[:from_time] if args.key?(:from_time)
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
  @last_viewed_at = args[:last_viewed_at] if args.key?(:last_viewed_at)
  @limit = args[:limit] if args.key?(:limit)
  @metrics = args[:metrics] if args.key?(:metrics)
  @name = args[:name] if args.key?(:name)
  @offset = args[:offset] if args.key?(:offset)
  @organization = args[:organization] if args.key?(:organization)
  @properties = args[:properties] if args.key?(:properties)
  @sort_by_cols = args[:sort_by_cols] if args.key?(:sort_by_cols)
  @sort_order = args[:sort_order] if args.key?(:sort_order)
  @tags = args[:tags] if args.key?(:tags)
  @time_unit = args[:time_unit] if args.key?(:time_unit)
  @to_time = args[:to_time] if args.key?(:to_time)
  @topk = args[:topk] if args.key?(:topk)
end