Class: Google::Apis::NetworkmanagementV1beta1::DeliverInfo

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

Overview

Details of the final state "deliver" and associated resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeliverInfo

Returns a new instance of DeliverInfo.



602
603
604
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 602

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

Instance Attribute Details

#ip_addressString

IP address of the target (if applicable). Corresponds to the JSON property ipAddress

Returns:

  • (String)


580
581
582
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 580

def ip_address
  @ip_address
end

#psc_google_api_targetString

PSC Google API target the packet is delivered to (if applicable). Corresponds to the JSON property pscGoogleApiTarget

Returns:

  • (String)


585
586
587
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 585

def psc_google_api_target
  @psc_google_api_target
end

#resource_uriString

URI of the resource that the packet is delivered to. Corresponds to the JSON property resourceUri

Returns:

  • (String)


590
591
592
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 590

def resource_uri
  @resource_uri
end

#storage_bucketString

Name of the Cloud Storage Bucket the packet is delivered to (if applicable). Corresponds to the JSON property storageBucket

Returns:

  • (String)


595
596
597
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 595

def storage_bucket
  @storage_bucket
end

#targetString

Target type where the packet is delivered to. Corresponds to the JSON property target

Returns:

  • (String)


600
601
602
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 600

def target
  @target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



607
608
609
610
611
612
613
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 607

def update!(**args)
  @ip_address = args[:ip_address] if args.key?(:ip_address)
  @psc_google_api_target = args[:psc_google_api_target] if args.key?(:psc_google_api_target)
  @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
  @storage_bucket = args[:storage_bucket] if args.key?(:storage_bucket)
  @target = args[:target] if args.key?(:target)
end