Class: Google::Apis::NetworkmanagementV1::GoogleServiceInfo

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

Overview

For display only. Details of a Google Service sending packets to a VPC network. Although the source IP might be a publicly routable address, some Google Services use special routes within Google production infrastructure to reach Compute Engine Instances. https://cloud.google.com/vpc/docs/routes# special_return_paths

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleServiceInfo

Returns a new instance of GoogleServiceInfo.



1188
1189
1190
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1188

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

Instance Attribute Details

#google_service_typeString

Recognized type of a Google Service. Corresponds to the JSON property googleServiceType

Returns:

  • (String)


1181
1182
1183
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1181

def google_service_type
  @google_service_type
end

#source_ipString

Source IP address. Corresponds to the JSON property sourceIp

Returns:

  • (String)


1186
1187
1188
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1186

def source_ip
  @source_ip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1193
1194
1195
1196
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1193

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