Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AnalyticsConfig

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

Overview

Configuration for the Analytics add-on.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#enabledBoolean Also known as: enabled?

Whether the Analytics add-on is enabled. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


438
439
440
# File 'lib/google/apis/apigee_v1/classes.rb', line 438

def enabled
  @enabled
end

#expire_time_millisFixnum

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

Returns:

  • (Fixnum)


445
446
447
# File 'lib/google/apis/apigee_v1/classes.rb', line 445

def expire_time_millis
  @expire_time_millis
end

#stateString

Output only. The state of the Analytics add-on. Corresponds to the JSON property state

Returns:

  • (String)


450
451
452
# File 'lib/google/apis/apigee_v1/classes.rb', line 450

def state
  @state
end

#update_timeString

Output only. The latest update time. Corresponds to the JSON property updateTime

Returns:

  • (String)


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