Class: Google::Apis::RunV1alpha1::EventTypeSpec
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::EventTypeSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/run_v1alpha1/classes.rb,
generated/google/apis/run_v1alpha1/representations.rb,
generated/google/apis/run_v1alpha1/representations.rb
Instance Attribute Summary collapse
-
#broker ⇒ String
Refers to the Broker that can provide the EventType.
-
#description ⇒ String
Description is a string describing what the EventType is about.
-
#importer ⇒ Google::Apis::RunV1alpha1::EventTypeImporter
The importer that provides this EventType to the eventing mesh.
-
#schema ⇒ String
Schema is a URI with the EventType schema.
-
#source ⇒ String
Source is a valid URI.
-
#type ⇒ String
Type is authoritative.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventTypeSpec
constructor
A new instance of EventTypeSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EventTypeSpec
Returns a new instance of EventTypeSpec
1327 1328 1329 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1327 def initialize(**args) update!(**args) end |
Instance Attribute Details
#broker ⇒ String
Refers to the Broker that can provide the EventType.
Corresponds to the JSON property broker
1295 1296 1297 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1295 def broker @broker end |
#description ⇒ String
Description is a string describing what the EventType is about.
+optional
Corresponds to the JSON property description
1301 1302 1303 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1301 def description @description end |
#importer ⇒ Google::Apis::RunV1alpha1::EventTypeImporter
The importer that provides this EventType to the eventing mesh.
Corresponds to the JSON property importer
1306 1307 1308 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1306 def importer @importer end |
#schema ⇒ String
Schema is a URI with the EventType schema. It may be a JSON schema, a
protobuf schema, etc.
+optional
Corresponds to the JSON property schema
1313 1314 1315 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1313 def schema @schema end |
#source ⇒ String
Source is a valid URI. Refers to the CloudEvent source as it enters into
the eventing mesh.
Corresponds to the JSON property source
1319 1320 1321 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1319 def source @source end |
#type ⇒ String
Type is authoritative. This refers to the CloudEvent type as it enters
into the eventing mesh.
Corresponds to the JSON property type
1325 1326 1327 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1325 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1332 1333 1334 1335 1336 1337 1338 1339 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 1332 def update!(**args) @broker = args[:broker] if args.key?(:broker) @description = args[:description] if args.key?(:description) @importer = args[:importer] if args.key?(:importer) @schema = args[:schema] if args.key?(:schema) @source = args[:source] if args.key?(:source) @type = args[:type] if args.key?(:type) end |