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

Settings for Cloud Service Mesh. For more information see https://cloud.google. com/service-mesh/docs/overview.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRunV2ServiceMesh

Returns a new instance of GoogleCloudRunV2ServiceMesh.



3289
3290
3291
# File 'lib/google/apis/run_v2/classes.rb', line 3289

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

Instance Attribute Details

#meshString

The Mesh resource name. Format: projects/project/locations/global/meshes/ mesh, whereproject`can be project id or number. Corresponds to the JSON propertymesh`

Returns:

  • (String)


3287
3288
3289
# File 'lib/google/apis/run_v2/classes.rb', line 3287

def mesh
  @mesh
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3294
3295
3296
# File 'lib/google/apis/run_v2/classes.rb', line 3294

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