Class: Google::Apis::SecuritycenterV1beta2::AzureManagementGroup

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

Overview

Represents an Azure management group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AzureManagementGroup

Returns a new instance of AzureManagementGroup.



464
465
466
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 464

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)


456
457
458
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 456

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)


462
463
464
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 462

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



469
470
471
472
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 469

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