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.
1176 1177 1178 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1176 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
1169 1170 1171 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1169 def google_service_type @google_service_type end |
#source_ip ⇒ String
Source IP address.
Corresponds to the JSON property sourceIp
1174 1175 1176 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1174 def source_ip @source_ip end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1181 1182 1183 1184 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1181 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 |