Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation

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

Represents a SecurityProfileEnvironmentAssociation resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation

Returns a new instance of GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation.



7398
7399
7400
# File 'lib/google/apis/apigee_v1/classes.rb', line 7398

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

Instance Attribute Details

#attach_timeString

Output only. The time when environment was attached to the security profile. Corresponds to the JSON property attachTime

Returns:

  • (String)


7385
7386
7387
# File 'lib/google/apis/apigee_v1/classes.rb', line 7385

def attach_time
  @attach_time
end

#nameString

Immutable. Name of the profile-environment association resource. Format: organizations/org/securityProfiles/profile/environments/env Corresponds to the JSON property name

Returns:

  • (String)


7391
7392
7393
# File 'lib/google/apis/apigee_v1/classes.rb', line 7391

def name
  @name
end

#security_profile_revision_idFixnum

Revision ID of the security profile. Corresponds to the JSON property securityProfileRevisionId

Returns:

  • (Fixnum)


7396
7397
7398
# File 'lib/google/apis/apigee_v1/classes.rb', line 7396

def security_profile_revision_id
  @security_profile_revision_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7403
7404
7405
7406
7407
# File 'lib/google/apis/apigee_v1/classes.rb', line 7403

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