<commit_before># frozen_string_literal: true

# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Auto-generated by gapic-generator-ruby. DO NOT EDIT!


module Google
  module Analytics
    module Data
      module V1beta
        # A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests
        # are allowed up to 4 date ranges.
        # @!attribute [rw] start_date
        #   @return [::String]
        #     The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
        #     be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
        #     accepted, and in that case, the date is inferred based on the property's
        #     reporting time zone.
        # @!attribute [rw] end_date
        #   @return [::String]
        #     The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
        #     be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
        #     also accepted, and in that case, the date is inferred based on the
        #     property's reporting time zone.
        # @!attribute [rw] name
        #   @return [::String]
        #     Assigns a name to this date range. The dimension `dateRange` is valued to
        #     this name in a report response. If set, cannot begin with `date_range_` or
        #     `RESERVED_`. If not set, date ranges are named by their zero based index in
        #     the request: `date_range_0`, `date_range_1`, etc.
        class DateRange
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end

        # A contiguous set of minutes: startMinutesAgo, startMinutesAgo + 1, ...,
        # endMinutesAgo. Requests are allowed up to 2 minute ranges.
        # @!attribute [rw] start_minutes_ago
        #   @return [::Integer]
        #     The inclusive start minute for the query as a number of minutes before now.
        #     For example, `"startMinutesAgo": 29` specifies the report should include
        #     event data from 29 minutes ago and after. Cannot be after `endMinutesAgo`.
        #
        #     If unspecified, `startMinutesAgo` is defaulted to 29. Standard Analytics
        #     properties can request up to the last 30 minutes of event data
        #     (`startMinutesAgo <= 29`), and 360 Analytics properties can request up to
        #     the last 60 minutes of event data (`startMinutesAgo <= 59`).
        # @!attribute [rw] end_minutes_ago
        #   @return [::Integer]
        #     The inclusive end minute for the query as a number of minutes before now.
        #     Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
        #     specifies the report should include event data from prior to 15 minutes
        #     ago.
        #
        #     If unspecified, `endMinutesAgo` is defaulted to 0. Standard Analytics
        #     properties can request any minute in the last 30 minutes of event data
        #     (`endMinutesAgo <= 29`), and 360 Analytics properties can request any
        #     minute in the last 60 minutes of event data (`endMinutesAgo <= 59`).
        # @!attribute [rw] name
        #   @return [::String]
        #     Assigns a name to this minute range. The dimension `dateRange` is valued to
        #     this name in a report response. If set, cannot begin with `date_range_` or
        #     `RESERVED_`. If not set, minute ranges are named by their zero based index
        #     in the request: `date_range_0`, `date_range_1`, etc.
        class MinuteRange
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end

        # Dimensions are attributes of your data. For example, the dimension city
        # indicates the city from which an event originates. Dimension values in report
        # responses are strings; for example, city could be "Paris" or "New York".
        # Requests are allowed up to 9 dimensions.
        # @!attribute [rw] name
        #   @return [::String]
        #     The name of the dimension. See the [API
        #     Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)<commit_msg>chore(analytics-data-v1beta): Minor docs update<commit_after># frozen_string_literal: true

# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Auto-generated by gapic-generator-ruby. DO NOT EDIT!


module Google
  module Analytics
    module Data
      module V1beta
        # A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests
        # are allowed up to 4 date ranges.
        # @!attribute [rw] start_date
        #   @return [::String]
        #     The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot
        #     be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
        #     accepted, and in that case, the date is inferred based on the property's
        #     reporting time zone.
        # @!attribute [rw] end_date
        #   @return [::String]
        #     The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot
        #     be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is
        #     also accepted, and in that case, the date is inferred based on the
        #     property's reporting time zone.
        # @!attribute [rw] name
        #   @return [::String]
        #     Assigns a name to this date range. The dimension `dateRange` is valued to
        #     this name in a report response. If set, cannot begin with `date_range_` or
        #     `RESERVED_`. If not set, date ranges are named by their zero based index in
        #     the request: `date_range_0`, `date_range_1`, etc.
        class DateRange
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end

        # A contiguous set of minutes: startMinutesAgo, startMinutesAgo + 1, ...,
        # endMinutesAgo. Requests are allowed up to 2 minute ranges.
        # @!attribute [rw] start_minutes_ago
        #   @return [::Integer]
        #     The inclusive start minute for the query as a number of minutes before now.
        #     For example, `"startMinutesAgo": 29` specifies the report should include
        #     event data from 29 minutes ago and after. Cannot be after `endMinutesAgo`.
        #
        #     If unspecified, `startMinutesAgo` is defaulted to 29. Standard Analytics
        #     properties can request up to the last 30 minutes of event data
        #     (`startMinutesAgo <= 29`), and Google Analytics 360 properties can request
        #     up to the last 60 minutes of event data (`startMinutesAgo <= 59`).
        # @!attribute [rw] end_minutes_ago
        #   @return [::Integer]
        #     The inclusive end minute for the query as a number of minutes before now.
        #     Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15`
        #     specifies the report should include event data from prior to 15 minutes
        #     ago.
        #
        #     If unspecified, `endMinutesAgo` is defaulted to 0. Standard Analytics
        #     properties can request any minute in the last 30 minutes of event data
        #     (`endMinutesAgo <= 29`), and Google Analytics 360 properties can request
        #     any minute in the last 60 minutes of event data (`endMinutesAgo <= 59`).
        # @!attribute [rw] name
        #   @return [::String]
        #     Assigns a name to this minute range. The dimension `dateRange` is valued to
        #     this name in a report response. If set, cannot begin with `date_range_` or
        #     `RESERVED_`. If not set, minute ranges are named by their zero based index
        #     in the request: `date_range_0`, `date_range_1`, etc.
        class MinuteRange
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end

        # Dimensions are attributes of your data. For example, the dimension city
        # indicates the city from which an event originates. Dimension values in report
        # responses are strings; for example, city could be "Paris" or "New York".
        # Requests are allowed up to 9 dimensions.
        # @!attribute [rw] name
        #   @return [::String]
        #     The name of the dimension. See the [API
        #     Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
{'fraction_non_alphanumeric': 0.07972972972972973, 'fraction_numerical': 0.010914760914760915, 'mean_word_length': 2.4336188436830835, 'pattern_counts': {'":': 4, '<': 11, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4629705', 'n_tokens_mistral': 2704, 'n_tokens_neox': 2535, 'n_words': 1122}