Class: Google::Apis::GkehubV1beta::ComplianceStandard

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ComplianceStandard

Returns a new instance of ComplianceStandard.



926
927
928
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 926

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

Instance Attribute Details

#standardString

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

Returns:

  • (String)


924
925
926
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 924

def standard
  @standard
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



931
932
933
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 931

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