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.



491
492
493
# File 'lib/google/apis/apigee_v1/classes.rb', line 491

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)


472
473
474
# File 'lib/google/apis/apigee_v1/classes.rb', line 472

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)


479
480
481
# File 'lib/google/apis/apigee_v1/classes.rb', line 479

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)


484
485
486
# File 'lib/google/apis/apigee_v1/classes.rb', line 484

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


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