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.
457 458 459 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 457 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
438 439 440 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 438 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
445 446 447 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 445 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
450 451 452 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 450 def state @state end |
#update_time ⇒ String
Output only. The latest update time.
Corresponds to the JSON property updateTime
455 456 457 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 455 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
462 463 464 465 466 467 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 462 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 |