Class: Google::Apis::CloudassetV1::GoogleCloudAssetV1BooleanConstraint

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

Overview

A Constraint that is either enforced or not. For example a constraint constraints/compute.disableSerialPortAccess. If it is enforced on a VM instance, serial port connections will not be opened to that instance.

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssetV1BooleanConstraint

Returns a new instance of GoogleCloudAssetV1BooleanConstraint.



1686
1687
1688
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1686

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

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1691
1692
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1691

def update!(**args)
end