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.



5258
5259
5260
# File 'lib/google/apis/networkservices_v1/classes.rb', line 5258

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)


5256
5257
5258
# File 'lib/google/apis/networkservices_v1/classes.rb', line 5256

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5263
5264
5265
# File 'lib/google/apis/networkservices_v1/classes.rb', line 5263

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