Class: Google::Apis::GkehubV1::ComplianceStandard

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ComplianceStandard

Returns a new instance of ComplianceStandard.



894
895
896
# File 'lib/google/apis/gkehub_v1/classes.rb', line 894

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

Instance Attribute Details

#standardString

Name of the compliance standard. Corresponds to the JSON property standard

Returns:

  • (String)


892
893
894
# File 'lib/google/apis/gkehub_v1/classes.rb', line 892

def standard
  @standard
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



899
900
901
# File 'lib/google/apis/gkehub_v1/classes.rb', line 899

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