Cloud Security Compliance V1 API - Class Google::Cloud::CloudSecurityCompliance::V1::ParamValue (v0.1.0)

Reference documentation and code samples for the Cloud Security Compliance V1 API class Google::Cloud::CloudSecurityCompliance::V1::ParamValue.

Possible parameter value types.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bool_value

def bool_value() -> ::Boolean
Returns
  • (::Boolean) — Represents a boolean value.

    Note: The following fields are mutually exclusive: bool_value, string_value, string_list_value, number_value, oneof_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) -> ::Boolean
Parameter
  • value (::Boolean) — Represents a boolean value.

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

Returns
  • (::Boolean) — Represents a boolean value.

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

#number_value

def number_value() -> ::Float
Returns
  • (::Float) — Represents a double value.

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

#number_value=

def number_value=(value) -> ::Float
Parameter
  • value (::Float) — Represents a double value.

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

Returns
  • (::Float) — Represents a double value.

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

#oneof_value

def oneof_value() -> ::Google::Cloud::CloudSecurityCompliance::V1::Parameter
Returns
  • (::Google::Cloud::CloudSecurityCompliance::V1::Parameter) — Represents sub-parameter values.

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

#oneof_value=

def oneof_value=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::Parameter
Parameter
  • value (::Google::Cloud::CloudSecurityCompliance::V1::Parameter) — Represents sub-parameter values.

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

Returns
  • (::Google::Cloud::CloudSecurityCompliance::V1::Parameter) — Represents sub-parameter values.

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

#string_list_value

def string_list_value() -> ::Google::Cloud::CloudSecurityCompliance::V1::StringList
Returns
  • (::Google::Cloud::CloudSecurityCompliance::V1::StringList) — Represents a repeated string.

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

#string_list_value=

def string_list_value=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::StringList
Parameter
  • value (::Google::Cloud::CloudSecurityCompliance::V1::StringList) — Represents a repeated string.

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

Returns
  • (::Google::Cloud::CloudSecurityCompliance::V1::StringList) — Represents a repeated string.

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

#string_value

def string_value() -> ::String
Returns
  • (::String) — Represents a string value.

    Note: The following fields are mutually exclusive: string_value, bool_value, string_list_value, number_value, oneof_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) -> ::String
Parameter
  • value (::String) — Represents a string value.

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

Returns
  • (::String) — Represents a string value.

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