Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AnalyticsConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1AnalyticsConfig
- 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
Overview
Configuration for the Analytics add-on.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Whether the Analytics add-on is enabled.
-
#expire_time_millis ⇒ Fixnum
Output only.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1AnalyticsConfig
constructor
A new instance of GoogleCloudApigeeV1AnalyticsConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1AnalyticsConfig
Returns a new instance of GoogleCloudApigeeV1AnalyticsConfig.
491 492 493 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 491 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Whether the Analytics add-on is enabled.
Corresponds to the JSON property enabled
472 473 474 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 472 def enabled @enabled end |
#expire_time_millis ⇒ Fixnum
Output only. Time at which the Analytics add-on expires in milliseconds since
epoch. If unspecified, the add-on will never expire.
Corresponds to the JSON property expireTimeMillis
479 480 481 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 479 def expire_time_millis @expire_time_millis end |
#state ⇒ String
Output only. The state of the Analytics add-on.
Corresponds to the JSON property state
484 485 486 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 484 def state @state end |
#update_time ⇒ String
Output only. The latest update time.
Corresponds to the JSON property updateTime
489 490 491 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 489 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
496 497 498 499 500 501 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 496 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @expire_time_millis = args[:expire_time_millis] if args.key?(:expire_time_millis) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |