Class: Google::Apis::EventarcV1::Provider
- Inherits:
-
Object
- Object
- Google::Apis::EventarcV1::Provider
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/eventarc_v1/classes.rb,
lib/google/apis/eventarc_v1/representations.rb,
lib/google/apis/eventarc_v1/representations.rb
Overview
A representation of the Provider resource.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Output only.
-
#event_types ⇒ Array<Google::Apis::EventarcV1::EventType>
Output only.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Provider
constructor
A new instance of Provider.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Provider
Returns a new instance of Provider.
2331 2332 2333 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2331 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Output only. Human friendly name for the Provider. For example "Cloud Storage".
Corresponds to the JSON property displayName
2318 2319 2320 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2318 def display_name @display_name end |
#event_types ⇒ Array<Google::Apis::EventarcV1::EventType>
Output only. Event types for this provider.
Corresponds to the JSON property eventTypes
2323 2324 2325 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2323 def event_types @event_types end |
#name ⇒ String
Output only. In projects/
project/locations/
location/providers/
provider_id`format.
Corresponds to the JSON property
name`
2329 2330 2331 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2329 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2336 2337 2338 2339 2340 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2336 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @event_types = args[:event_types] if args.key?(:event_types) @name = args[:name] if args.key?(:name) end |