Class: Google::Apis::ObservabilityV1::View
- Inherits:
-
Object
- Object
- Google::Apis::ObservabilityV1::View
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/observability_v1/classes.rb,
lib/google/apis/observability_v1/representations.rb,
lib/google/apis/observability_v1/representations.rb
Overview
A view corresponds to a read-only representation of a subset of the data in a dataset.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#name ⇒ String
Identifier.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ View
constructor
A new instance of View.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ View
Returns a new instance of View.
805 806 807 |
# File 'lib/google/apis/observability_v1/classes.rb', line 805 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Create timestamp.
Corresponds to the JSON property createTime
782 783 784 |
# File 'lib/google/apis/observability_v1/classes.rb', line 782 def create_time @create_time end |
#description ⇒ String
Optional. Description of the view.
Corresponds to the JSON property description
787 788 789 |
# File 'lib/google/apis/observability_v1/classes.rb', line 787 def description @description end |
#display_name ⇒ String
Optional. User friendly display name.
Corresponds to the JSON property displayName
792 793 794 |
# File 'lib/google/apis/observability_v1/classes.rb', line 792 def display_name @display_name end |
#name ⇒ String
Identifier. Name of the view. The format is: projects/[PROJECT_ID]/locations/[
LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]/views/[VIEW_ID]
Corresponds to the JSON property name
798 799 800 |
# File 'lib/google/apis/observability_v1/classes.rb', line 798 def name @name end |
#update_time ⇒ String
Output only. Update timestamp.
Corresponds to the JSON property updateTime
803 804 805 |
# File 'lib/google/apis/observability_v1/classes.rb', line 803 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
810 811 812 813 814 815 816 |
# File 'lib/google/apis/observability_v1/classes.rb', line 810 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |