Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResource
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResource
- 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
Resource for which we are computing security assessment.
Instance Attribute Summary collapse
-
#name ⇒ String
Required.
-
#resource_revision_id ⇒ String
The revision id for the resource.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityAssessmentResultResource
constructor
A new instance of GoogleCloudApigeeV1SecurityAssessmentResultResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityAssessmentResultResource
Returns a new instance of GoogleCloudApigeeV1SecurityAssessmentResultResource.
9901 9902 9903 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9901 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Required. Name of this resource.
Corresponds to the JSON property name
9889 9890 9891 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9889 def name @name end |
#resource_revision_id ⇒ String
The revision id for the resource. In case of Apigee, this is proxy revision id.
Corresponds to the JSON property resourceRevisionId
9894 9895 9896 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9894 def resource_revision_id @resource_revision_id end |
#type ⇒ String
Required. Type of this resource.
Corresponds to the JSON property type
9899 9900 9901 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9899 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9906 9907 9908 9909 9910 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9906 def update!(**args) @name = args[:name] if args.key?(:name) @resource_revision_id = args[:resource_revision_id] if args.key?(:resource_revision_id) @type = args[:type] if args.key?(:type) end |