Class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata

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

Overview

Defines Medata structure.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata

Returns a new instance of GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata.



253
254
255
# File 'lib/google/apis/orgpolicy_v2/classes.rb', line 253

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

Instance Attribute Details

#descriptionString

Detailed description of what this parameter is and use of it. Mutable. Corresponds to the JSON property description

Returns:

  • (String)


251
252
253
# File 'lib/google/apis/orgpolicy_v2/classes.rb', line 251

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



258
259
260
# File 'lib/google/apis/orgpolicy_v2/classes.rb', line 258

def update!(**args)
  @description = args[:description] if args.key?(:description)
end