Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest

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

Overview

Request message for SearchChangeHistoryEvents RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest

Returns a new instance of GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest.



2070
2071
2072
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2070

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

Instance Attribute Details

#actionArray<String>

Optional. If set, only return changes that match one or more of these types of actions. Corresponds to the JSON property action

Returns:

  • (Array<String>)


2025
2026
2027
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2025

def action
  @action
end

#actor_emailArray<String>

Optional. If set, only return changes if they are made by a user in this list. Corresponds to the JSON property actorEmail

Returns:

  • (Array<String>)


2030
2031
2032
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2030

def actor_email
  @actor_email
end

#earliest_change_timeString

Optional. If set, only return changes made after this time (inclusive). Corresponds to the JSON property earliestChangeTime

Returns:

  • (String)


2035
2036
2037
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2035

def earliest_change_time
  @earliest_change_time
end

#latest_change_timeString

Optional. If set, only return changes made before this time (inclusive). Corresponds to the JSON property latestChangeTime

Returns:

  • (String)


2040
2041
2042
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2040

def latest_change_time
  @latest_change_time
end

#page_sizeFixnum

Optional. The maximum number of ChangeHistoryEvent items to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 items will be returned. The maximum value is 200 ( higher values will be coerced to the maximum). Corresponds to the JSON property pageSize

Returns:

  • (Fixnum)


2048
2049
2050
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2048

def page_size
  @page_size
end

#page_tokenString

Optional. A page token, received from a previous SearchChangeHistoryEvents call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchChangeHistoryEvents must match the call that provided the page token. Corresponds to the JSON property pageToken

Returns:

  • (String)


2056
2057
2058
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2056

def page_token
  @page_token
end

#propertyString

Optional. Resource name for a child property. If set, only return changes made to this property or its child resources. Corresponds to the JSON property property

Returns:

  • (String)


2062
2063
2064
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2062

def property
  @property
end

#resource_typeArray<String>

Optional. If set, only return changes if they are for a resource that matches at least one of these types. Corresponds to the JSON property resourceType

Returns:

  • (Array<String>)


2068
2069
2070
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2068

def resource_type
  @resource_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2075

def update!(**args)
  @action = args[:action] if args.key?(:action)
  @actor_email = args[:actor_email] if args.key?(:actor_email)
  @earliest_change_time = args[:earliest_change_time] if args.key?(:earliest_change_time)
  @latest_change_time = args[:latest_change_time] if args.key?(:latest_change_time)
  @page_size = args[:page_size] if args.key?(:page_size)
  @page_token = args[:page_token] if args.key?(:page_token)
  @property = args[:property] if args.key?(:property)
  @resource_type = args[:resource_type] if args.key?(:resource_type)
end