Skip to content

Commit eaa1e37

Browse files
feat: Automated regeneration of analyticsadmin v1alpha client (#18717)
Auto-created at 2024-04-07 10:07:54 +0000 using the toys pull request generator.
1 parent dea1b61 commit eaa1e37

File tree

6 files changed

+389
-2
lines changed

6 files changed

+389
-2
lines changed

api_names_out.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22621,6 +22621,7 @@
2262122621
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccount/createTime": create_time
2262222622
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccount/deleted": deleted
2262322623
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccount/displayName": display_name
22624+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccount/gmpOrganization": gmp_organization
2262422625
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccount/name": name
2262522626
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccount/regionCode": region_code
2262622627
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaAccount/updateTime": update_time
@@ -23093,6 +23094,17 @@
2309323094
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaIosAppDataStream/firebaseAppId": firebase_app_id
2309423095
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaIosAppDataStream/name": name
2309523096
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaIosAppDataStream/updateTime": update_time
23097+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaKeyEvent": google_analytics_admin_v1alpha_key_event
23098+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaKeyEvent/countingMethod": counting_method
23099+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaKeyEvent/createTime": create_time
23100+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaKeyEvent/custom": custom
23101+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaKeyEvent/defaultValue": default_value
23102+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaKeyEvent/deletable": deletable
23103+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaKeyEvent/eventName": event_name
23104+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaKeyEvent/name": name
23105+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaKeyEventDefaultValue": google_analytics_admin_v1alpha_key_event_default_value
23106+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaKeyEventDefaultValue/currencyCode": currency_code
23107+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaKeyEventDefaultValue/numericValue": numeric_value
2309623108
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails": google_analytics_admin_v1alpha_link_proposal_status_details
2309723109
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails/linkProposalInitiatingProduct": link_proposal_initiating_product
2309823110
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails/linkProposalState": link_proposal_state
@@ -23189,6 +23201,10 @@
2318923201
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse/iosAppDataStreams": ios_app_data_streams
2319023202
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse/iosAppDataStreams/ios_app_data_stream": ios_app_data_stream
2319123203
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse/nextPageToken": next_page_token
23204+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListKeyEventsResponse": google_analytics_admin_v1alpha_list_key_events_response
23205+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListKeyEventsResponse/keyEvents": key_events
23206+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListKeyEventsResponse/keyEvents/key_event": key_event
23207+
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListKeyEventsResponse/nextPageToken": next_page_token
2319223208
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse": google_analytics_admin_v1alpha_list_measurement_protocol_secrets_response
2319323209
"/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse/measurementProtocolSecrets": measurement_protocol_secrets
2319423210
? "/analyticsadmin:v1alpha/GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse/measurementProtocolSecrets/measurement_protocol_secret"
@@ -23755,6 +23771,19 @@
2375523771
"/analyticsadmin:v1alpha/analyticsadmin.properties.iosAppDataStreams.patch": patch_property_ios_app_data_stream
2375623772
"/analyticsadmin:v1alpha/analyticsadmin.properties.iosAppDataStreams.patch/name": name
2375723773
"/analyticsadmin:v1alpha/analyticsadmin.properties.iosAppDataStreams.patch/updateMask": update_mask
23774+
"/analyticsadmin:v1alpha/analyticsadmin.properties.keyEvents.create": create_property_key_event
23775+
"/analyticsadmin:v1alpha/analyticsadmin.properties.keyEvents.create/parent": parent
23776+
"/analyticsadmin:v1alpha/analyticsadmin.properties.keyEvents.delete": delete_property_key_event
23777+
"/analyticsadmin:v1alpha/analyticsadmin.properties.keyEvents.delete/name": name
23778+
"/analyticsadmin:v1alpha/analyticsadmin.properties.keyEvents.get": get_property_key_event
23779+
"/analyticsadmin:v1alpha/analyticsadmin.properties.keyEvents.get/name": name
23780+
"/analyticsadmin:v1alpha/analyticsadmin.properties.keyEvents.list": list_property_key_events
23781+
"/analyticsadmin:v1alpha/analyticsadmin.properties.keyEvents.list/pageSize": page_size
23782+
"/analyticsadmin:v1alpha/analyticsadmin.properties.keyEvents.list/pageToken": page_token
23783+
"/analyticsadmin:v1alpha/analyticsadmin.properties.keyEvents.list/parent": parent
23784+
"/analyticsadmin:v1alpha/analyticsadmin.properties.keyEvents.patch": patch_property_key_event
23785+
"/analyticsadmin:v1alpha/analyticsadmin.properties.keyEvents.patch/name": name
23786+
"/analyticsadmin:v1alpha/analyticsadmin.properties.keyEvents.patch/updateMask": update_mask
2375823787
"/analyticsadmin:v1alpha/analyticsadmin.properties.list": list_properties
2375923788
"/analyticsadmin:v1alpha/analyticsadmin.properties.list/filter": filter
2376023789
"/analyticsadmin:v1alpha/analyticsadmin.properties.list/pageSize": page_size

generated/google-apis-analyticsadmin_v1alpha/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-analyticsadmin_v1alpha
22

3+
### v0.72.0 (2024-04-07)
4+
5+
* Regenerated from discovery document revision 20240402
6+
37
### v0.71.0 (2024-03-17)
48

59
* Regenerated from discovery document revision 20240312

generated/google-apis-analyticsadmin_v1alpha/lib/google/apis/analyticsadmin_v1alpha/classes.rb

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,13 @@ class GoogleAnalyticsAdminV1alphaAccount
627627
# @return [String]
628628
attr_accessor :display_name
629629

630+
# Output only. The URI for a Google Marketing Platform organization resource.
631+
# Only set when this account is connected to a GMP organization. Format:
632+
# marketingplatformadmin.googleapis.com/organizations/`org_id`
633+
# Corresponds to the JSON property `gmpOrganization`
634+
# @return [String]
635+
attr_accessor :gmp_organization
636+
630637
# Output only. Resource name of this account. Format: accounts/`account` Example:
631638
# "accounts/100"
632639
# Corresponds to the JSON property `name`
@@ -652,6 +659,7 @@ def update!(**args)
652659
@create_time = args[:create_time] if args.key?(:create_time)
653660
@deleted = args[:deleted] if args.key?(:deleted)
654661
@display_name = args[:display_name] if args.key?(:display_name)
662+
@gmp_organization = args[:gmp_organization] if args.key?(:gmp_organization)
655663
@name = args[:name] if args.key?(:name)
656664
@region_code = args[:region_code] if args.key?(:region_code)
657665
@update_time = args[:update_time] if args.key?(:update_time)
@@ -3782,6 +3790,100 @@ def update!(**args)
37823790
end
37833791
end
37843792

3793+
# A key event in a Google Analytics property.
3794+
class GoogleAnalyticsAdminV1alphaKeyEvent
3795+
include Google::Apis::Core::Hashable
3796+
3797+
# Required. The method by which Key Events will be counted across multiple
3798+
# events within a session.
3799+
# Corresponds to the JSON property `countingMethod`
3800+
# @return [String]
3801+
attr_accessor :counting_method
3802+
3803+
# Output only. Time when this key event was created in the property.
3804+
# Corresponds to the JSON property `createTime`
3805+
# @return [String]
3806+
attr_accessor :create_time
3807+
3808+
# Output only. If set to true, this key event refers to a custom event. If set
3809+
# to false, this key event refers to a default event in GA. Default events
3810+
# typically have special meaning in GA. Default events are usually created for
3811+
# you by the GA system, but in some cases can be created by property admins.
3812+
# Custom events count towards the maximum number of custom key events that may
3813+
# be created per property.
3814+
# Corresponds to the JSON property `custom`
3815+
# @return [Boolean]
3816+
attr_accessor :custom
3817+
alias_method :custom?, :custom
3818+
3819+
# Defines a default value/currency for a key event.
3820+
# Corresponds to the JSON property `defaultValue`
3821+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaKeyEventDefaultValue]
3822+
attr_accessor :default_value
3823+
3824+
# Output only. If set to true, this event can be deleted.
3825+
# Corresponds to the JSON property `deletable`
3826+
# @return [Boolean]
3827+
attr_accessor :deletable
3828+
alias_method :deletable?, :deletable
3829+
3830+
# Immutable. The event name for this key event. Examples: 'click', 'purchase'
3831+
# Corresponds to the JSON property `eventName`
3832+
# @return [String]
3833+
attr_accessor :event_name
3834+
3835+
# Output only. Resource name of this key event. Format: properties/`property`/
3836+
# keyEvents/`key_event`
3837+
# Corresponds to the JSON property `name`
3838+
# @return [String]
3839+
attr_accessor :name
3840+
3841+
def initialize(**args)
3842+
update!(**args)
3843+
end
3844+
3845+
# Update properties of this object
3846+
def update!(**args)
3847+
@counting_method = args[:counting_method] if args.key?(:counting_method)
3848+
@create_time = args[:create_time] if args.key?(:create_time)
3849+
@custom = args[:custom] if args.key?(:custom)
3850+
@default_value = args[:default_value] if args.key?(:default_value)
3851+
@deletable = args[:deletable] if args.key?(:deletable)
3852+
@event_name = args[:event_name] if args.key?(:event_name)
3853+
@name = args[:name] if args.key?(:name)
3854+
end
3855+
end
3856+
3857+
# Defines a default value/currency for a key event.
3858+
class GoogleAnalyticsAdminV1alphaKeyEventDefaultValue
3859+
include Google::Apis::Core::Hashable
3860+
3861+
# Required. When an occurrence of this Key Event (specified by event_name) has
3862+
# no set currency this currency will be applied as the default. Must be in ISO
3863+
# 4217 currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for more
3864+
# information.
3865+
# Corresponds to the JSON property `currencyCode`
3866+
# @return [String]
3867+
attr_accessor :currency_code
3868+
3869+
# Required. This will be used to populate the "value" parameter for all
3870+
# occurrences of this Key Event (specified by event_name) where that parameter
3871+
# is unset.
3872+
# Corresponds to the JSON property `numericValue`
3873+
# @return [Float]
3874+
attr_accessor :numeric_value
3875+
3876+
def initialize(**args)
3877+
update!(**args)
3878+
end
3879+
3880+
# Update properties of this object
3881+
def update!(**args)
3882+
@currency_code = args[:currency_code] if args.key?(:currency_code)
3883+
@numeric_value = args[:numeric_value] if args.key?(:numeric_value)
3884+
end
3885+
end
3886+
37853887
# Status information for a link proposal.
37863888
class GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails
37873889
include Google::Apis::Core::Hashable
@@ -4326,6 +4428,32 @@ def update!(**args)
43264428
end
43274429
end
43284430

4431+
# Response message for ListKeyEvents RPC.
4432+
class GoogleAnalyticsAdminV1alphaListKeyEventsResponse
4433+
include Google::Apis::Core::Hashable
4434+
4435+
# The requested Key Events
4436+
# Corresponds to the JSON property `keyEvents`
4437+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaKeyEvent>]
4438+
attr_accessor :key_events
4439+
4440+
# A token, which can be sent as `page_token` to retrieve the next page. If this
4441+
# field is omitted, there are no subsequent pages.
4442+
# Corresponds to the JSON property `nextPageToken`
4443+
# @return [String]
4444+
attr_accessor :next_page_token
4445+
4446+
def initialize(**args)
4447+
update!(**args)
4448+
end
4449+
4450+
# Update properties of this object
4451+
def update!(**args)
4452+
@key_events = args[:key_events] if args.key?(:key_events)
4453+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4454+
end
4455+
end
4456+
43294457
# Response message for ListMeasurementProtocolSecret RPC
43304458
class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
43314459
include Google::Apis::Core::Hashable

generated/google-apis-analyticsadmin_v1alpha/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AnalyticsadminV1alpha
1818
# Version of the google-apis-analyticsadmin_v1alpha gem
19-
GEM_VERSION = "0.71.0"
19+
GEM_VERSION = "0.72.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.14.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240312"
25+
REVISION = "20240402"
2626
end
2727
end
2828
end

generated/google-apis-analyticsadmin_v1alpha/lib/google/apis/analyticsadmin_v1alpha/representations.rb

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
658658
include Google::Apis::Core::JsonObjectSupport
659659
end
660660

661+
class GoogleAnalyticsAdminV1alphaKeyEvent
662+
class Representation < Google::Apis::Core::JsonRepresentation; end
663+
664+
include Google::Apis::Core::JsonObjectSupport
665+
end
666+
667+
class GoogleAnalyticsAdminV1alphaKeyEventDefaultValue
668+
class Representation < Google::Apis::Core::JsonRepresentation; end
669+
670+
include Google::Apis::Core::JsonObjectSupport
671+
end
672+
661673
class GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails
662674
class Representation < Google::Apis::Core::JsonRepresentation; end
663675

@@ -784,6 +796,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
784796
include Google::Apis::Core::JsonObjectSupport
785797
end
786798

799+
class GoogleAnalyticsAdminV1alphaListKeyEventsResponse
800+
class Representation < Google::Apis::Core::JsonRepresentation; end
801+
802+
include Google::Apis::Core::JsonObjectSupport
803+
end
804+
787805
class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
788806
class Representation < Google::Apis::Core::JsonRepresentation; end
789807

@@ -1174,6 +1192,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
11741192
property :create_time, as: 'createTime'
11751193
property :deleted, as: 'deleted'
11761194
property :display_name, as: 'displayName'
1195+
property :gmp_organization, as: 'gmpOrganization'
11771196
property :name, as: 'name'
11781197
property :region_code, as: 'regionCode'
11791198
property :update_time, as: 'updateTime'
@@ -2057,6 +2076,28 @@ class Representation < Google::Apis::Core::JsonRepresentation
20572076
end
20582077
end
20592078

2079+
class GoogleAnalyticsAdminV1alphaKeyEvent
2080+
# @private
2081+
class Representation < Google::Apis::Core::JsonRepresentation
2082+
property :counting_method, as: 'countingMethod'
2083+
property :create_time, as: 'createTime'
2084+
property :custom, as: 'custom'
2085+
property :default_value, as: 'defaultValue', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaKeyEventDefaultValue, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaKeyEventDefaultValue::Representation
2086+
2087+
property :deletable, as: 'deletable'
2088+
property :event_name, as: 'eventName'
2089+
property :name, as: 'name'
2090+
end
2091+
end
2092+
2093+
class GoogleAnalyticsAdminV1alphaKeyEventDefaultValue
2094+
# @private
2095+
class Representation < Google::Apis::Core::JsonRepresentation
2096+
property :currency_code, as: 'currencyCode'
2097+
property :numeric_value, as: 'numericValue'
2098+
end
2099+
end
2100+
20602101
class GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails
20612102
# @private
20622103
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2243,6 +2284,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
22432284
end
22442285
end
22452286

2287+
class GoogleAnalyticsAdminV1alphaListKeyEventsResponse
2288+
# @private
2289+
class Representation < Google::Apis::Core::JsonRepresentation
2290+
collection :key_events, as: 'keyEvents', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaKeyEvent, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaKeyEvent::Representation
2291+
2292+
property :next_page_token, as: 'nextPageToken'
2293+
end
2294+
end
2295+
22462296
class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
22472297
# @private
22482298
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)