Class: Google::Apis::NetappV1::LocationMetadata

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

Overview

Metadata for a given google.cloud.location.Location.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LocationMetadata

Returns a new instance of LocationMetadata.



2044
2045
2046
# File 'lib/google/apis/netapp_v1/classes.rb', line 2044

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

Instance Attribute Details

#flex_performance_tierString

Output only. Indicates the flex performance tier of this location. Corresponds to the JSON property flexPerformanceTier

Returns:

  • (String)


2020
2021
2022
# File 'lib/google/apis/netapp_v1/classes.rb', line 2020

def flex_performance_tier
  @flex_performance_tier
end

#has_ontap_proxyBoolean Also known as: has_ontap_proxy?

Output only. Indicates if the location has ONTAP Proxy support. Corresponds to the JSON property hasOntapProxy

Returns:

  • (Boolean)


2025
2026
2027
# File 'lib/google/apis/netapp_v1/classes.rb', line 2025

def has_ontap_proxy
  @has_ontap_proxy
end

#has_vcpBoolean Also known as: has_vcp?

Output only. Indicates if the location has VCP support. Corresponds to the JSON property hasVcp

Returns:

  • (Boolean)


2031
2032
2033
# File 'lib/google/apis/netapp_v1/classes.rb', line 2031

def has_vcp
  @has_vcp
end

#supported_flex_performanceArray<String>

Output only. Supported flex performance in a location. Corresponds to the JSON property supportedFlexPerformance

Returns:

  • (Array<String>)


2037
2038
2039
# File 'lib/google/apis/netapp_v1/classes.rb', line 2037

def supported_flex_performance
  @supported_flex_performance
end

#supported_service_levelsArray<String>

Output only. Supported service levels in a location. Corresponds to the JSON property supportedServiceLevels

Returns:

  • (Array<String>)


2042
2043
2044
# File 'lib/google/apis/netapp_v1/classes.rb', line 2042

def supported_service_levels
  @supported_service_levels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2049
2050
2051
2052
2053
2054
2055
# File 'lib/google/apis/netapp_v1/classes.rb', line 2049

def update!(**args)
  @flex_performance_tier = args[:flex_performance_tier] if args.key?(:flex_performance_tier)
  @has_ontap_proxy = args[:has_ontap_proxy] if args.key?(:has_ontap_proxy)
  @has_vcp = args[:has_vcp] if args.key?(:has_vcp)
  @supported_flex_performance = args[:supported_flex_performance] if args.key?(:supported_flex_performance)
  @supported_service_levels = args[:supported_service_levels] if args.key?(:supported_service_levels)
end