Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField

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

Overview

Field metadata. Commonly understandable name and description for the field. Multiple such fields constitute the Insight.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField

Returns a new instance of GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField.



2613
2614
2615
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2613

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

Instance Attribute Details

#descriptionString

Output only. Description of the field. Corresponds to the JSON property description

Returns:

  • (String)


2582
2583
2584
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2582

def description
  @description
end

#display_nameString

Output only. Name of the field. Corresponds to the JSON property displayName

Returns:

  • (String)


2587
2588
2589
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2587

def display_name
  @display_name
end

#filter_aliasString

Output only. Field name to be used in filter while requesting configured insight filtered on this field. Corresponds to the JSON property filterAlias

Returns:

  • (String)


2593
2594
2595
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2593

def filter_alias
  @filter_alias
end

#filterableBoolean Also known as: filterable?

Output only. Indicates whether the field can be used for filtering. Corresponds to the JSON property filterable

Returns:

  • (Boolean)


2598
2599
2600
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2598

def filterable
  @filterable
end

#groupableBoolean Also known as: groupable?

Output only. Indicates whether the field can be used for grouping in custom grouping request. Corresponds to the JSON property groupable

Returns:

  • (Boolean)


2605
2606
2607
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2605

def groupable
  @groupable
end

#idString

Output only. Field id for which this is the metadata. Corresponds to the JSON property id

Returns:

  • (String)


2611
2612
2613
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2611

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2618
2619
2620
2621
2622
2623
2624
2625
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2618

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @filter_alias = args[:filter_alias] if args.key?(:filter_alias)
  @filterable = args[:filterable] if args.key?(:filterable)
  @groupable = args[:groupable] if args.key?(:groupable)
  @id = args[:id] if args.key?(:id)
end