App Topology V1 API - Class Google::Cloud::AppTopology::V1::Property (v0.1.0)

Reference documentation and code samples for the App Topology V1 API class Google::Cloud::AppTopology::V1::Property.

Property defines the schema of a property in the graph.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bool_value

def bool_value() -> ::Google::Cloud::AppTopology::V1::BoolValue
Returns
  • (::Google::Cloud::AppTopology::V1::BoolValue) — BoolValue represents a property that has a boolean value type.

    Note: The following fields are mutually exclusive: bool_value, string_value, int_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#bool_value=

def bool_value=(value) -> ::Google::Cloud::AppTopology::V1::BoolValue
Parameter
  • value (::Google::Cloud::AppTopology::V1::BoolValue) — BoolValue represents a property that has a boolean value type.

    Note: The following fields are mutually exclusive: bool_value, string_value, int_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::AppTopology::V1::BoolValue) — BoolValue represents a property that has a boolean value type.

    Note: The following fields are mutually exclusive: bool_value, string_value, int_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#description

def description() -> ::String
Returns
  • (::String) — A human-readable description of the PropertyType, explaining its meaning, purpose, and any constraints or expectations on its value.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — A human-readable description of the PropertyType, explaining its meaning, purpose, and any constraints or expectations on its value.
Returns
  • (::String) — A human-readable description of the PropertyType, explaining its meaning, purpose, and any constraints or expectations on its value.

#double_value

def double_value() -> ::Google::Cloud::AppTopology::V1::DoubleValue
Returns
  • (::Google::Cloud::AppTopology::V1::DoubleValue) — DoubleValue represents a property that has a double value type.

    Note: The following fields are mutually exclusive: double_value, string_value, int_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#double_value=

def double_value=(value) -> ::Google::Cloud::AppTopology::V1::DoubleValue
Parameter
  • value (::Google::Cloud::AppTopology::V1::DoubleValue) — DoubleValue represents a property that has a double value type.

    Note: The following fields are mutually exclusive: double_value, string_value, int_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::AppTopology::V1::DoubleValue) — DoubleValue represents a property that has a double value type.

    Note: The following fields are mutually exclusive: double_value, string_value, int_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#int_value

def int_value() -> ::Google::Cloud::AppTopology::V1::IntValue
Returns
  • (::Google::Cloud::AppTopology::V1::IntValue) — IntValue represents a property that has an integer value type.

    Note: The following fields are mutually exclusive: int_value, string_value, bool_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#int_value=

def int_value=(value) -> ::Google::Cloud::AppTopology::V1::IntValue
Parameter
  • value (::Google::Cloud::AppTopology::V1::IntValue) — IntValue represents a property that has an integer value type.

    Note: The following fields are mutually exclusive: int_value, string_value, bool_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::AppTopology::V1::IntValue) — IntValue represents a property that has an integer value type.

    Note: The following fields are mutually exclusive: int_value, string_value, bool_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#name

def name() -> ::String
Returns
  • (::String) — name is the key string to identify the property in Nodes & Edges. Examples: ProjectId, Base/displayName etc.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — name is the key string to identify the property in Nodes & Edges. Examples: ProjectId, Base/displayName etc.
Returns
  • (::String) — name is the key string to identify the property in Nodes & Edges. Examples: ProjectId, Base/displayName etc.

#string_value

def string_value() -> ::Google::Cloud::AppTopology::V1::StringValue
Returns
  • (::Google::Cloud::AppTopology::V1::StringValue) — StringValue represents a property that has a string value type.

    Note: The following fields are mutually exclusive: string_value, int_value, bool_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#string_value=

def string_value=(value) -> ::Google::Cloud::AppTopology::V1::StringValue
Parameter
  • value (::Google::Cloud::AppTopology::V1::StringValue) — StringValue represents a property that has a string value type.

    Note: The following fields are mutually exclusive: string_value, int_value, bool_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::AppTopology::V1::StringValue) — StringValue represents a property that has a string value type.

    Note: The following fields are mutually exclusive: string_value, int_value, bool_value, double_value. If a field in that set is populated, all other fields in the set will automatically be cleared.