Class: Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRunV2ServiceMesh

Returns a new instance of GoogleCloudRunV2ServiceMesh.



2404
2405
2406
# File 'lib/google/apis/run_v2/classes.rb', line 2404

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

Instance Attribute Details

#meshString

The service mesh resource name. Format: projects/project_number/locations/ global/meshes/mesh. Corresponds to the JSON property mesh

Returns:

  • (String)


2402
2403
2404
# File 'lib/google/apis/run_v2/classes.rb', line 2402

def mesh
  @mesh
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2409
2410
2411
# File 'lib/google/apis/run_v2/classes.rb', line 2409

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