Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileEnvironment
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileEnvironment
- 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
Environment information of attached environments. Scoring an environment is enabled only if it is attached to a security profile.
Instance Attribute Summary collapse
-
#attach_time ⇒ String
Output only.
-
#environment ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityProfileEnvironment
constructor
A new instance of GoogleCloudApigeeV1SecurityProfileEnvironment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityProfileEnvironment
Returns a new instance of GoogleCloudApigeeV1SecurityProfileEnvironment.
10050 10051 10052 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10050 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attach_time ⇒ String
Output only. Time at which environment was attached to the security profile.
Corresponds to the JSON property attachTime
10043 10044 10045 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10043 def attach_time @attach_time end |
#environment ⇒ String
Output only. Name of the environment.
Corresponds to the JSON property environment
10048 10049 10050 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10048 def environment @environment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10055 10056 10057 10058 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10055 def update!(**args) @attach_time = args[:attach_time] if args.key?(:attach_time) @environment = args[:environment] if args.key?(:environment) end |