Class: Google::Apis::ComputeV1::Rule

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Rule

Returns a new instance of Rule.



35972
35973
35974
# File 'lib/google/apis/compute_v1/classes.rb', line 35972

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

Instance Attribute Details

#actionString

This is deprecated and has no effect. Do not use. Corresponds to the JSON property action

Returns:

  • (String)


35940
35941
35942
# File 'lib/google/apis/compute_v1/classes.rb', line 35940

def action
  @action
end

#conditionsArray<Google::Apis::ComputeV1::Condition>

This is deprecated and has no effect. Do not use. Corresponds to the JSON property conditions



35945
35946
35947
# File 'lib/google/apis/compute_v1/classes.rb', line 35945

def conditions
  @conditions
end

#descriptionString

This is deprecated and has no effect. Do not use. Corresponds to the JSON property description

Returns:

  • (String)


35950
35951
35952
# File 'lib/google/apis/compute_v1/classes.rb', line 35950

def description
  @description
end

#insArray<String>

This is deprecated and has no effect. Do not use. Corresponds to the JSON property ins

Returns:

  • (Array<String>)


35955
35956
35957
# File 'lib/google/apis/compute_v1/classes.rb', line 35955

def ins
  @ins
end

#log_configsArray<Google::Apis::ComputeV1::LogConfig>

This is deprecated and has no effect. Do not use. Corresponds to the JSON property logConfigs



35960
35961
35962
# File 'lib/google/apis/compute_v1/classes.rb', line 35960

def log_configs
  @log_configs
end

#not_insArray<String>

This is deprecated and has no effect. Do not use. Corresponds to the JSON property notIns

Returns:

  • (Array<String>)


35965
35966
35967
# File 'lib/google/apis/compute_v1/classes.rb', line 35965

def not_ins
  @not_ins
end

#permissionsArray<String>

This is deprecated and has no effect. Do not use. Corresponds to the JSON property permissions

Returns:

  • (Array<String>)


35970
35971
35972
# File 'lib/google/apis/compute_v1/classes.rb', line 35970

def permissions
  @permissions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35977
35978
35979
35980
35981
35982
35983
35984
35985
# File 'lib/google/apis/compute_v1/classes.rb', line 35977

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