class Google::Apis::PolicyanalyzerV1::GoogleCloudPolicyanalyzerV1Activity

Attributes

activity[RW]

A struct of custom fields to explain the activity. Corresponds to the JSON property `activity` @return [Hash<String,Object>]

activity_type[RW]

The type of the activity. Corresponds to the JSON property `activityType` @return [String]

full_resource_name[RW]

The full resource name that identifies the resource. For examples of full resource names for Google Cloud services, see cloud.google.com/iam/ help/troubleshooter/full-resource-names. Corresponds to the JSON property `fullResourceName` @return [String]

observation_period[RW]

Represents data observation period. Corresponds to the JSON property `observationPeriod` @return [Google::Apis::PolicyanalyzerV1::GoogleCloudPolicyanalyzerV1ObservationPeriod]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/policyanalyzer_v1/classes.rb, line 51
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/policyanalyzer_v1/classes.rb, line 56
def update!(**args)
  @activity = args[:activity] if args.key?(:activity)
  @activity_type = args[:activity_type] if args.key?(:activity_type)
  @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
  @observation_period = args[:observation_period] if args.key?(:observation_period)
end