Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb

Overview

The Azure metadata of a resource associated with an issue.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2IssueResourceAzureMetadata

Returns a new instance of GoogleCloudSecuritycenterV2IssueResourceAzureMetadata.



6688
6689
6690
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6688

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

Instance Attribute Details

#subscriptionGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription

The Azure subscription of the resource associated with the issue. Corresponds to the JSON property subscription



6686
6687
6688
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6686

def subscription
  @subscription
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6693
6694
6695
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6693

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