class Google::Apis::ComputeV1::Rule

This is deprecated and has no effect. Do not use.

Attributes

action[RW]

This is deprecated and has no effect. Do not use. Corresponds to the JSON property `action` @return [String]

conditions[RW]

This is deprecated and has no effect. Do not use. Corresponds to the JSON property `conditions` @return [Array<Google::Apis::ComputeV1::Condition>]

description[RW]

This is deprecated and has no effect. Do not use. Corresponds to the JSON property `description` @return [String]

ins[RW]

This is deprecated and has no effect. Do not use. Corresponds to the JSON property `ins` @return [Array<String>]

log_configs[RW]

This is deprecated and has no effect. Do not use. Corresponds to the JSON property `logConfigs` @return [Array<Google::Apis::ComputeV1::LogConfig>]

not_ins[RW]

This is deprecated and has no effect. Do not use. Corresponds to the JSON property `notIns` @return [Array<String>]

permissions[RW]

This is deprecated and has no effect. Do not use. Corresponds to the JSON property `permissions` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 31436
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 31441
def update!(**args)
  @action = args[:action] if args.key?(:action)
  @conditions = args[:conditions] if args.key?(:conditions)
  @description = args[:description] if args.key?(:description)
  @ins = args[:ins] if args.key?(:ins)
  @log_configs = args[:log_configs] if args.key?(:log_configs)
  @not_ins = args[:not_ins] if args.key?(:not_ins)
  @permissions = args[:permissions] if args.key?(:permissions)
end