Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation
- 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
Represents a SecurityProfileEnvironmentAssociation resource.
Instance Attribute Summary collapse
-
#attach_time ⇒ String
Output only.
-
#name ⇒ String
Immutable.
-
#security_profile_revision_id ⇒ Fixnum
Revision ID of the security profile.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation
constructor
A new instance of GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation
Returns a new instance of GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation.
8701 8702 8703 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 8701 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attach_time ⇒ String
Output only. The time when environment was attached to the security profile.
Corresponds to the JSON property attachTime
8688 8689 8690 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 8688 def attach_time @attach_time end |
#name ⇒ String
Immutable. Name of the profile-environment association resource. Format:
organizations/org/securityProfiles/profile/environments/env
Corresponds to the JSON property name
8694 8695 8696 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 8694 def name @name end |
#security_profile_revision_id ⇒ Fixnum
Revision ID of the security profile.
Corresponds to the JSON property securityProfileRevisionId
8699 8700 8701 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 8699 def security_profile_revision_id @security_profile_revision_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8706 8707 8708 8709 8710 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 8706 def update!(**args) @attach_time = args[:attach_time] if args.key?(:attach_time) @name = args[:name] if args.key?(:name) @security_profile_revision_id = args[:security_profile_revision_id] if args.key?(:security_profile_revision_id) end |