Class: Google::Apis::ComputeAlpha::InterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockers

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

Overview

[Output Only] Reasons why configuration.availabilitySLA.sla differs from intent.availabilitySLA. This list is empty if and only if those are the same.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockers

Returns a new instance of InterconnectAttachmentGroupConfiguredAvailabilitySlaIntendedSlaBlockers.



25064
25065
25066
# File 'lib/google/apis/compute_alpha/classes.rb', line 25064

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

Instance Attribute Details

#attachmentsArray<String>

[Output Only] URLs of any particular Attachments to explain this blocker in more detail. Corresponds to the JSON property attachments

Returns:

  • (Array<String>)


25024
25025
25026
# File 'lib/google/apis/compute_alpha/classes.rb', line 25024

def attachments
  @attachments
end

#blocker_typeString

Corresponds to the JSON property blockerType

Returns:

  • (String)


25029
25030
25031
# File 'lib/google/apis/compute_alpha/classes.rb', line 25029

def blocker_type
  @blocker_type
end

[Output Only] The url of Google Cloud public documentation explaining this requirement. This is set for every type of requirement. Corresponds to the JSON property documentationLink

Returns:

  • (String)


25035
25036
25037
# File 'lib/google/apis/compute_alpha/classes.rb', line 25035

def documentation_link
  @documentation_link
end

#explanationString

[Output Only] A human-readable explanation of this requirement and why it's not met. This is set for every type of requirement. Corresponds to the JSON property explanation

Returns:

  • (String)


25041
25042
25043
# File 'lib/google/apis/compute_alpha/classes.rb', line 25041

def explanation
  @explanation
end

#metrosArray<String>

[Output Only] Metros used to explain this blocker in more detail. These are three-letter lowercase strings like "iad". This will be set for some blockers ( like NO_ATTACHMENTS_IN_METRO_AND_ZONE) but does not apply to others. Corresponds to the JSON property metros

Returns:

  • (Array<String>)


25048
25049
25050
# File 'lib/google/apis/compute_alpha/classes.rb', line 25048

def metros
  @metros
end

#regionsArray<String>

[Output Only] Regions used to explain this blocker in more detail. These are region names formatted like "us-central1". This will be set for some blockers ( like INCOMPATIBLE_REGIONS) but does not apply to others. Corresponds to the JSON property regions

Returns:

  • (Array<String>)


25055
25056
25057
# File 'lib/google/apis/compute_alpha/classes.rb', line 25055

def regions
  @regions
end

#zonesArray<String>

[Output Only] Zones used to explain this blocker in more detail. Format is " zone1" and/or "zone2". This will be set for some blockers (like MISSING_ZONE) but does not apply to others. Corresponds to the JSON property zones

Returns:

  • (Array<String>)


25062
25063
25064
# File 'lib/google/apis/compute_alpha/classes.rb', line 25062

def zones
  @zones
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25069
25070
25071
25072
25073
25074
25075
25076
25077
# File 'lib/google/apis/compute_alpha/classes.rb', line 25069

def update!(**args)
  @attachments = args[:attachments] if args.key?(:attachments)
  @blocker_type = args[:blocker_type] if args.key?(:blocker_type)
  @documentation_link = args[:documentation_link] if args.key?(:documentation_link)
  @explanation = args[:explanation] if args.key?(:explanation)
  @metros = args[:metros] if args.key?(:metros)
  @regions = args[:regions] if args.key?(:regions)
  @zones = args[:zones] if args.key?(:zones)
end