Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResource

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

Resource for which we are computing security assessment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityAssessmentResultResource

Returns a new instance of GoogleCloudApigeeV1SecurityAssessmentResultResource.



9721
9722
9723
# File 'lib/google/apis/apigee_v1/classes.rb', line 9721

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

Instance Attribute Details

#nameString

Required. Name of this resource. Corresponds to the JSON property name

Returns:

  • (String)


9709
9710
9711
# File 'lib/google/apis/apigee_v1/classes.rb', line 9709

def name
  @name
end

#resource_revision_idString

The revision id for the resource. In case of Apigee, this is proxy revision id. Corresponds to the JSON property resourceRevisionId

Returns:

  • (String)


9714
9715
9716
# File 'lib/google/apis/apigee_v1/classes.rb', line 9714

def resource_revision_id
  @resource_revision_id
end

#typeString

Required. Type of this resource. Corresponds to the JSON property type

Returns:

  • (String)


9719
9720
9721
# File 'lib/google/apis/apigee_v1/classes.rb', line 9719

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9726
9727
9728
9729
9730
# File 'lib/google/apis/apigee_v1/classes.rb', line 9726

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