Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ConnectorsPlatformConfig

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 Connectors Platform add-on.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ConnectorsPlatformConfig

Returns a new instance of GoogleCloudApigeeV1ConnectorsPlatformConfig.



2556
2557
2558
# File 'lib/google/apis/apigee_v1/classes.rb', line 2556

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Flag that specifies whether the Connectors Platform add-on is enabled. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


2547
2548
2549
# File 'lib/google/apis/apigee_v1/classes.rb', line 2547

def enabled
  @enabled
end

#expires_atFixnum

Output only. Time at which the Connectors Platform add-on expires in milliseconds since epoch. If unspecified, the add-on will never expire. Corresponds to the JSON property expiresAt

Returns:

  • (Fixnum)


2554
2555
2556
# File 'lib/google/apis/apigee_v1/classes.rb', line 2554

def expires_at
  @expires_at
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2561
2562
2563
2564
# File 'lib/google/apis/apigee_v1/classes.rb', line 2561

def update!(**args)
  @enabled = args[:enabled] if args.key?(:enabled)
  @expires_at = args[:expires_at] if args.key?(:expires_at)
end