Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeAddonsConfig

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

RuntimeAddonsConfig defines the runtime configurations for add-ons in an environment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1RuntimeAddonsConfig

Returns a new instance of GoogleCloudApigeeV1RuntimeAddonsConfig.



9011
9012
9013
# File 'lib/google/apis/apigee_v1/classes.rb', line 9011

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

Instance Attribute Details

#analytics_configGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeAnalyticsConfig

Runtime configuration for the Analytics add-on. Corresponds to the JSON property analyticsConfig



8986
8987
8988
# File 'lib/google/apis/apigee_v1/classes.rb', line 8986

def analytics_config
  @analytics_config
end

#api_security_configGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeApiSecurityConfig

Runtime configuration for the API Security add-on. Corresponds to the JSON property apiSecurityConfig



8991
8992
8993
# File 'lib/google/apis/apigee_v1/classes.rb', line 8991

def api_security_config
  @api_security_config
end

#nameString

Name of the addons config in the format: organizations/org/environments/ env/addonsConfig Corresponds to the JSON property name

Returns:

  • (String)


8997
8998
8999
# File 'lib/google/apis/apigee_v1/classes.rb', line 8997

def name
  @name
end

#revision_idString

Revision number used by the runtime to detect config changes. Corresponds to the JSON property revisionId

Returns:

  • (String)


9002
9003
9004
# File 'lib/google/apis/apigee_v1/classes.rb', line 9002

def revision_id
  @revision_id
end

#uidString

UID is to detect if config is recreated after deletion. The add-on config will only be deleted when the environment itself gets deleted, thus it will always be the same as the UID of EnvironmentConfig. Corresponds to the JSON property uid

Returns:

  • (String)


9009
9010
9011
# File 'lib/google/apis/apigee_v1/classes.rb', line 9009

def uid
  @uid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9016
9017
9018
9019
9020
9021
9022
# File 'lib/google/apis/apigee_v1/classes.rb', line 9016

def update!(**args)
  @analytics_config = args[:analytics_config] if args.key?(:analytics_config)
  @api_security_config = args[:api_security_config] if args.key?(:api_security_config)
  @name = args[:name] if args.key?(:name)
  @revision_id = args[:revision_id] if args.key?(:revision_id)
  @uid = args[:uid] if args.key?(:uid)
end