Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig

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

Overview

Configuration to receive notifications of telemetry data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1TelemetryNotificationConfig

Returns a new instance of GoogleChromeManagementV1TelemetryNotificationConfig.



3619
3620
3621
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3619

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

Instance Attribute Details

#customerString

Output only. Google Workspace customer that owns the resource. Corresponds to the JSON property customer

Returns:

  • (String)


3602
3603
3604
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3602

def customer
  @customer
end

#filterGoogle::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationFilter

Configures how the telemetry data should be filtered. Corresponds to the JSON property filter



3607
3608
3609
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3607

def filter
  @filter
end

#google_cloud_pubsub_topicString

The pubsub topic to which notifications are published to. Corresponds to the JSON property googleCloudPubsubTopic

Returns:

  • (String)


3612
3613
3614
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3612

def google_cloud_pubsub_topic
  @google_cloud_pubsub_topic
end

#nameString

Output only. Resource name of the notification configuration. Corresponds to the JSON property name

Returns:

  • (String)


3617
3618
3619
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3617

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3624
3625
3626
3627
3628
3629
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3624

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