Skip to content

Commit

Permalink
feat: Automated regeneration of analyticsdata v1alpha client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Nov 17, 2020
1 parent 5a5fc28 commit cd015a8
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 2 deletions.
2 changes: 2 additions & 0 deletions api_names_out.yaml
Expand Up @@ -6978,6 +6978,7 @@
"/analyticsdata:v1alpha/DimensionHeader/name": name
"/analyticsdata:v1alpha/DimensionMetadata": dimension_metadata
"/analyticsdata:v1alpha/DimensionMetadata/apiName": api_name
"/analyticsdata:v1alpha/DimensionMetadata/customDefinition": custom_definition
"/analyticsdata:v1alpha/DimensionMetadata/deprecatedApiNames": deprecated_api_names
"/analyticsdata:v1alpha/DimensionMetadata/deprecatedApiNames/deprecated_api_name": deprecated_api_name
"/analyticsdata:v1alpha/DimensionMetadata/description": description
Expand Down Expand Up @@ -7023,6 +7024,7 @@
"/analyticsdata:v1alpha/MetricHeader/type": type
"/analyticsdata:v1alpha/MetricMetadata": metric_metadata
"/analyticsdata:v1alpha/MetricMetadata/apiName": api_name
"/analyticsdata:v1alpha/MetricMetadata/customDefinition": custom_definition
"/analyticsdata:v1alpha/MetricMetadata/deprecatedApiNames": deprecated_api_names
"/analyticsdata:v1alpha/MetricMetadata/deprecatedApiNames/deprecated_api_name": deprecated_api_name
"/analyticsdata:v1alpha/MetricMetadata/description": description
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/analyticsdata_v1alpha.rb
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/analytics/trusted-testing/analytics-data/
module AnalyticsdataV1alpha
VERSION = 'V1alpha'
REVISION = '20201110'
REVISION = '20201112'

# View and manage your Google Analytics data
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
Expand Down
14 changes: 14 additions & 0 deletions generated/google/apis/analyticsdata_v1alpha/classes.rb
Expand Up @@ -452,6 +452,12 @@ class DimensionMetadata
# @return [String]
attr_accessor :api_name

# True if the dimension is a custom dimension for this property.
# Corresponds to the JSON property `customDefinition`
# @return [Boolean]
attr_accessor :custom_definition
alias_method :custom_definition?, :custom_definition

# Still usable but deprecated names for this dimension. If populated, this
# dimension is available by either `apiName` or one of `deprecatedApiNames` for
# a period of time. After the deprecation period, the dimension will be
Expand All @@ -478,6 +484,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@api_name = args[:api_name] if args.key?(:api_name)
@custom_definition = args[:custom_definition] if args.key?(:custom_definition)
@deprecated_api_names = args[:deprecated_api_names] if args.key?(:deprecated_api_names)
@description = args[:description] if args.key?(:description)
@ui_name = args[:ui_name] if args.key?(:ui_name)
Expand Down Expand Up @@ -797,6 +804,12 @@ class MetricMetadata
# @return [String]
attr_accessor :api_name

# True if the metric is a custom metric for this property.
# Corresponds to the JSON property `customDefinition`
# @return [Boolean]
attr_accessor :custom_definition
alias_method :custom_definition?, :custom_definition

# Still usable but deprecated names for this metric. If populated, this metric
# is available by either `apiName` or one of `deprecatedApiNames` for a period
# of time. After the deprecation period, the metric will be available only by `
Expand Down Expand Up @@ -835,6 +848,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@api_name = args[:api_name] if args.key?(:api_name)
@custom_definition = args[:custom_definition] if args.key?(:custom_definition)
@deprecated_api_names = args[:deprecated_api_names] if args.key?(:deprecated_api_names)
@description = args[:description] if args.key?(:description)
@expression = args[:expression] if args.key?(:expression)
Expand Down
Expand Up @@ -450,6 +450,7 @@ class DimensionMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_name, as: 'apiName'
property :custom_definition, as: 'customDefinition'
collection :deprecated_api_names, as: 'deprecatedApiNames'
property :description, as: 'description'
property :ui_name, as: 'uiName'
Expand Down Expand Up @@ -556,6 +557,7 @@ class MetricMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_name, as: 'apiName'
property :custom_definition, as: 'customDefinition'
collection :deprecated_api_names, as: 'deprecatedApiNames'
property :description, as: 'description'
property :expression, as: 'expression'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/analyticsdata_v1alpha/synth.metadata
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "f98e8cc384534befb2581970289d37af2f501cc2"
"sha": "5a5fc28c514f8c35b017cae0c2a86d8c0dceb8dd"
}
}
]
Expand Down

0 comments on commit cd015a8

Please sign in to comment.