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

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

Overview

[Output Only] A consumer forwarding rule connected to this service attachment. [Deprecated] Do not use.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceAttachmentConsumerForwardingRule

Returns a new instance of ServiceAttachmentConsumerForwardingRule.



37531
37532
37533
# File 'lib/google/apis/compute_alpha/classes.rb', line 37531

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)


37519
37520
37521
# File 'lib/google/apis/compute_alpha/classes.rb', line 37519

def forwarding_rule
  @forwarding_rule
end

#psc_connection_idFixnum

The PSC connection id of the PSC Forwarding Rule. Corresponds to the JSON property pscConnectionId

Returns:

  • (Fixnum)


37524
37525
37526
# File 'lib/google/apis/compute_alpha/classes.rb', line 37524

def psc_connection_id
  @psc_connection_id
end

#statusString

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

Returns:

  • (String)


37529
37530
37531
# File 'lib/google/apis/compute_alpha/classes.rb', line 37529

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37536
37537
37538
37539
37540
# File 'lib/google/apis/compute_alpha/classes.rb', line 37536

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