Class: Google::Apis::EventarcV1::GoogleApiSource
- Inherits:
-
Object
- Object
- Google::Apis::EventarcV1::GoogleApiSource
- 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 GoogleApiSource represents a subscription of 1P events from a MessageBus.
Instance Attribute Summary collapse
-
#annotations ⇒ Hash<String,String>
Optional.
-
#create_time ⇒ String
Output only.
-
#crypto_key_name ⇒ String
Optional.
-
#destination ⇒ String
Required.
-
#display_name ⇒ String
Optional.
-
#etag ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
Optional.
-
#logging_config ⇒ Google::Apis::EventarcV1::LoggingConfig
The configuration for Platform Telemetry logging for Eventarc Avdvanced resources.
-
#name ⇒ String
Identifier.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleApiSource
constructor
A new instance of GoogleApiSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleApiSource
Returns a new instance of GoogleApiSource.
832 833 834 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 832 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annotations ⇒ Hash<String,String>
Optional. Resource annotations.
Corresponds to the JSON property annotations
770 771 772 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 770 def annotations @annotations end |
#create_time ⇒ String
Output only. The creation time.
Corresponds to the JSON property createTime
775 776 777 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 775 def create_time @create_time end |
#crypto_key_name ⇒ String
Optional. Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt their event data. It must match the pattern projects/*/
locations/*/keyRings/*/cryptoKeys/*
.
Corresponds to the JSON property cryptoKeyName
782 783 784 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 782 def crypto_key_name @crypto_key_name end |
#destination ⇒ String
Required. Destination is the message bus that the GoogleApiSource is
delivering to. It must be point to the full resource name of a MessageBus.
Format: "projects/PROJECT_ID
/locations/region
/messagesBuses/
MESSAGE_BUS_ID)
Corresponds to the JSON property
destination`
790 791 792 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 790 def destination @destination end |
#display_name ⇒ String
Optional. Resource display name.
Corresponds to the JSON property displayName
795 796 797 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 795 def display_name @display_name end |
#etag ⇒ String
Output only. This checksum is computed by the server based on the value of
other fields, and might be sent only on update and delete requests to ensure
that the client has an up-to-date value before proceeding.
Corresponds to the JSON property etag
802 803 804 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 802 def etag @etag end |
#labels ⇒ Hash<String,String>
Optional. Resource labels.
Corresponds to the JSON property labels
807 808 809 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 807 def labels @labels end |
#logging_config ⇒ Google::Apis::EventarcV1::LoggingConfig
The configuration for Platform Telemetry logging for Eventarc Avdvanced
resources.
Corresponds to the JSON property loggingConfig
813 814 815 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 813 def logging_config @logging_config end |
#name ⇒ String
Identifier. Resource name of the form projects/project
/locations/location
/
googleApiSources/google_api_source
Corresponds to the JSON property name
819 820 821 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 819 def name @name end |
#uid ⇒ String
Output only. Server assigned unique identifier for the channel. The value is a
UUID4 string and guaranteed to remain unchanged until the resource is deleted.
Corresponds to the JSON property uid
825 826 827 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 825 def uid @uid end |
#update_time ⇒ String
Output only. The last-modified time.
Corresponds to the JSON property updateTime
830 831 832 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 830 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
837 838 839 840 841 842 843 844 845 846 847 848 849 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 837 def update!(**args) @annotations = args[:annotations] if args.key?(:annotations) @create_time = args[:create_time] if args.key?(:create_time) @crypto_key_name = args[:crypto_key_name] if args.key?(:crypto_key_name) @destination = args[:destination] if args.key?(:destination) @display_name = args[:display_name] if args.key?(:display_name) @etag = args[:etag] if args.key?(:etag) @labels = args[:labels] if args.key?(:labels) @logging_config = args[:logging_config] if args.key?(:logging_config) @name = args[:name] if args.key?(:name) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) end |