Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityReportResultMetadata

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

Contains informations about the security report results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityReportResultMetadata

Returns a new instance of GoogleCloudApigeeV1SecurityReportResultMetadata.



10430
10431
10432
# File 'lib/google/apis/apigee_v1/classes.rb', line 10430

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

Instance Attribute Details

#expiresString

Output only. Expire_time is set to 7 days after report creation. Query result will be unaccessable after this time. Example: "2021-05-04T13:38:52-07:00" Corresponds to the JSON property expires

Returns:

  • (String)


10420
10421
10422
# File 'lib/google/apis/apigee_v1/classes.rb', line 10420

def expires
  @expires
end

#selfString

Self link of the query results. Example: /organizations/myorg/environments/ myenv/securityReports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd/result or following format if query is running at host level: /organizations/myorg/ hostSecurityReports/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd/result Corresponds to the JSON property self

Returns:

  • (String)


10428
10429
10430
# File 'lib/google/apis/apigee_v1/classes.rb', line 10428

def self
  @self
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10435
10436
10437
10438
# File 'lib/google/apis/apigee_v1/classes.rb', line 10435

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