Class: Google::Apis::NetworkmanagementV1::GoogleServiceInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1::GoogleServiceInfo
- 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
-
#google_service_type ⇒ String
Recognized type of a Google Service.
-
#source_ip ⇒ String
Source IP address.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleServiceInfo
constructor
A new instance of GoogleServiceInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_type ⇒ String
Recognized type of a Google Service.
Corresponds to the JSON property googleServiceType
1181 1182 1183 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1181 def google_service_type @google_service_type end |
#source_ip ⇒ String
Source IP address.
Corresponds to the JSON property sourceIp
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 |