Class: Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation

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

Overview

Message describing Association object

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FirewallEndpointAssociation

Returns a new instance of FirewallEndpointAssociation.



1115
1116
1117
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1115

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

Instance Attribute Details

#create_timeString

Output only. Create time stamp Corresponds to the JSON property createTime

Returns:

  • (String)


1064
1065
1066
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1064

def create_time
  @create_time
end

#disabledBoolean Also known as: disabled?

Optional. Whether the association is disabled. True indicates that traffic won' t be intercepted Corresponds to the JSON property disabled

Returns:

  • (Boolean)


1070
1071
1072
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1070

def disabled
  @disabled
end

#firewall_endpointString

Required. The URL of the FirewallEndpoint that is being associated. Corresponds to the JSON property firewallEndpoint

Returns:

  • (String)


1076
1077
1078
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1076

def firewall_endpoint
  @firewall_endpoint
end

#labelsHash<String,String>

Optional. Labels as key value pairs Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


1081
1082
1083
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1081

def labels
  @labels
end

#nameString

Immutable. Identifier. name of resource Corresponds to the JSON property name

Returns:

  • (String)


1086
1087
1088
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1086

def name
  @name
end

#networkString

Required. The URL of the network that is being associated. Corresponds to the JSON property network

Returns:

  • (String)


1091
1092
1093
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1091

def network
  @network
end

#reconcilingBoolean Also known as: reconciling?

Output only. Whether reconciling is in progress, recommended per https:// google.aip.dev/128. Corresponds to the JSON property reconciling

Returns:

  • (Boolean)


1097
1098
1099
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1097

def reconciling
  @reconciling
end

#stateString

Output only. Current state of the association. Corresponds to the JSON property state

Returns:

  • (String)


1103
1104
1105
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1103

def state
  @state
end

#tls_inspection_policyString

Optional. The URL of the TlsInspectionPolicy that is being associated. Corresponds to the JSON property tlsInspectionPolicy

Returns:

  • (String)


1108
1109
1110
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1108

def tls_inspection_policy
  @tls_inspection_policy
end

#update_timeString

Output only. Update time stamp Corresponds to the JSON property updateTime

Returns:

  • (String)


1113
1114
1115
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1113

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1120

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @disabled = args[:disabled] if args.key?(:disabled)
  @firewall_endpoint = args[:firewall_endpoint] if args.key?(:firewall_endpoint)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @network = args[:network] if args.key?(:network)
  @reconciling = args[:reconciling] if args.key?(:reconciling)
  @state = args[:state] if args.key?(:state)
  @tls_inspection_policy = args[:tls_inspection_policy] if args.key?(:tls_inspection_policy)
  @update_time = args[:update_time] if args.key?(:update_time)
end