Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureManagementGroup

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

Overview

Represents an Azure management group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2AzureManagementGroup

Returns a new instance of GoogleCloudSecuritycenterV2AzureManagementGroup.



4421
4422
4423
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4421

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

Instance Attribute Details

#display_nameString

The display name of the Azure management group. Corresponds to the JSON property displayName

Returns:

  • (String)


4413
4414
4415
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4413

def display_name
  @display_name
end

#idString

The UUID of the Azure management group, for example, 20000000-0001-0000-0000- 000000000000. Corresponds to the JSON property id

Returns:

  • (String)


4419
4420
4421
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4419

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4426
4427
4428
4429
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4426

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