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.



29111
29112
29113
# File 'lib/google/apis/compute_alpha/classes.rb', line 29111

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>)


29071
29072
29073
# File 'lib/google/apis/compute_alpha/classes.rb', line 29071

def attachments
  @attachments
end

#blocker_typeString

Corresponds to the JSON property blockerType

Returns:

  • (String)


29076
29077
29078
# File 'lib/google/apis/compute_alpha/classes.rb', line 29076

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)


29082
29083
29084
# File 'lib/google/apis/compute_alpha/classes.rb', line 29082

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)


29088
29089
29090
# File 'lib/google/apis/compute_alpha/classes.rb', line 29088

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>)


29095
29096
29097
# File 'lib/google/apis/compute_alpha/classes.rb', line 29095

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>)


29102
29103
29104
# File 'lib/google/apis/compute_alpha/classes.rb', line 29102

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>)


29109
29110
29111
# File 'lib/google/apis/compute_alpha/classes.rb', line 29109

def zones
  @zones
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29116
29117
29118
29119
29120
29121
29122
29123
29124
# File 'lib/google/apis/compute_alpha/classes.rb', line 29116

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