Class: Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh
- Inherits:
-
Object
- Object
- Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/representations.rb
Overview
Service mesh configuration.
Instance Attribute Summary collapse
-
#mesh ⇒ String
The service mesh resource name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRunV2ServiceMesh
constructor
A new instance of GoogleCloudRunV2ServiceMesh.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRunV2ServiceMesh
Returns a new instance of GoogleCloudRunV2ServiceMesh.
2469 2470 2471 |
# File 'lib/google/apis/run_v2/classes.rb', line 2469 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mesh ⇒ String
The service mesh resource name. Format: projects/project_number/locations/
global/meshes/mesh.
Corresponds to the JSON property mesh
2467 2468 2469 |
# File 'lib/google/apis/run_v2/classes.rb', line 2467 def mesh @mesh end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2474 2475 2476 |
# File 'lib/google/apis/run_v2/classes.rb', line 2474 def update!(**args) @mesh = args[:mesh] if args.key?(:mesh) end |