Class: Google::Apis::NetworkservicesV1::WasmPluginUsedBy

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkservices_v1/classes.rb,
lib/google/apis/networkservices_v1/representations.rb,
lib/google/apis/networkservices_v1/representations.rb

Overview

Defines a resource that uses the WasmPlugin resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WasmPluginUsedBy

Returns a new instance of WasmPluginUsedBy.



4296
4297
4298
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4296

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

Instance Attribute Details

#nameString

Output only. Full name of the resource https://google.aip.dev/122#full- resource-names, for example //networkservices.googleapis.com/projects/ project/locations/location/lbRouteExtensions/extension` Corresponds to the JSON propertyname`

Returns:

  • (String)


4294
4295
4296
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4294

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4301
4302
4303
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4301

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