Class: Google::Apis::ComputeAlpha::ServiceAttachmentConsumerForwardingRule

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

Overview

[Output Only] A consumer forwarding rule connected to this service attachment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceAttachmentConsumerForwardingRule

Returns a new instance of ServiceAttachmentConsumerForwardingRule.



34191
34192
34193
# File 'generated/google/apis/compute_alpha/classes.rb', line 34191

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

Instance Attribute Details

#forwarding_ruleString

The url of a consumer forwarding rule. Corresponds to the JSON property forwardingRule

Returns:

  • (String)


34184
34185
34186
# File 'generated/google/apis/compute_alpha/classes.rb', line 34184

def forwarding_rule
  @forwarding_rule
end

#statusString

The status of the forwarding rule. Corresponds to the JSON property status

Returns:

  • (String)


34189
34190
34191
# File 'generated/google/apis/compute_alpha/classes.rb', line 34189

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34196
34197
34198
34199
# File 'generated/google/apis/compute_alpha/classes.rb', line 34196

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