Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SetAddonEnablementRequest

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

Request for SetAddonEnablement.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SetAddonEnablementRequest

Returns a new instance of GoogleCloudApigeeV1SetAddonEnablementRequest.



10579
10580
10581
# File 'lib/google/apis/apigee_v1/classes.rb', line 10579

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

Instance Attribute Details

#analytics_enabledBoolean Also known as: analytics_enabled?

If the Analytics should be enabled in the environment. Corresponds to the JSON property analyticsEnabled

Returns:

  • (Boolean)


10570
10571
10572
# File 'lib/google/apis/apigee_v1/classes.rb', line 10570

def analytics_enabled
  @analytics_enabled
end

#api_security_enabledBoolean Also known as: api_security_enabled?

If the API Security should be enabled in the environment. Corresponds to the JSON property apiSecurityEnabled

Returns:

  • (Boolean)


10576
10577
10578
# File 'lib/google/apis/apigee_v1/classes.rb', line 10576

def api_security_enabled
  @api_security_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10584
10585
10586
10587
# File 'lib/google/apis/apigee_v1/classes.rb', line 10584

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