Class: Google::Apis::MarketingplatformadminV1alpha::ClientData

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

Overview

Contains the client data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClientData

Returns a new instance of ClientData.



140
141
142
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 140

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

Instance Attribute Details

#end_dateGoogle::Apis::MarketingplatformadminV1alpha::Date

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type. TimeOfDay * google.type.DateTime * google.protobuf.Timestamp Corresponds to the JSON property endDate



121
122
123
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 121

def end_date
  @end_date
end

#organizationGoogle::Apis::MarketingplatformadminV1alpha::Organization

A resource message representing a Google Marketing Platform organization. Corresponds to the JSON property organization



126
127
128
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 126

def organization
  @organization
end

#start_dateGoogle::Apis::MarketingplatformadminV1alpha::Date

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type. TimeOfDay * google.type.DateTime * google.protobuf.Timestamp Corresponds to the JSON property startDate



138
139
140
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 138

def start_date
  @start_date
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



145
146
147
148
149
# File 'lib/google/apis/marketingplatformadmin_v1alpha/classes.rb', line 145

def update!(**args)
  @end_date = args[:end_date] if args.key?(:end_date)
  @organization = args[:organization] if args.key?(:organization)
  @start_date = args[:start_date] if args.key?(:start_date)
end