Autogenerated update (2019-03-20)

Update:
- analyticsreporting_v4
- androidenterprise_v1
- appengine_v1
- cloudresourcemanager_v2beta1
- cloudtrace_v2
- containeranalysis_v1alpha1
- content_v2
- content_v2_1
- runtimeconfig_v1beta1
This commit is contained in:
Google APIs 2019-03-20 00:37:12 +00:00
parent dc4c35b313
commit 234837d8a2
27 changed files with 1491 additions and 43 deletions

View File

@ -5888,6 +5888,23 @@
"/analytics:v3/key": key
"/analytics:v3/quotaUser": quota_user
"/analytics:v3/userIp": user_ip
"/analyticsreporting:v4/Activity": activity
"/analyticsreporting:v4/Activity/activityTime": activity_time
"/analyticsreporting:v4/Activity/activityType": activity_type
"/analyticsreporting:v4/Activity/appview": appview
"/analyticsreporting:v4/Activity/campaign": campaign
"/analyticsreporting:v4/Activity/channelGrouping": channel_grouping
"/analyticsreporting:v4/Activity/customDimension": custom_dimension
"/analyticsreporting:v4/Activity/customDimension/custom_dimension": custom_dimension
"/analyticsreporting:v4/Activity/ecommerce": ecommerce
"/analyticsreporting:v4/Activity/event": event
"/analyticsreporting:v4/Activity/goals": goals
"/analyticsreporting:v4/Activity/hostname": hostname
"/analyticsreporting:v4/Activity/keyword": keyword
"/analyticsreporting:v4/Activity/landingPagePath": landing_page_path
"/analyticsreporting:v4/Activity/medium": medium
"/analyticsreporting:v4/Activity/pageview": pageview
"/analyticsreporting:v4/Activity/source": source
"/analyticsreporting:v4/Cohort": cohort
"/analyticsreporting:v4/Cohort/dateRange": date_range
"/analyticsreporting:v4/Cohort/name": name
@ -5900,6 +5917,9 @@
"/analyticsreporting:v4/ColumnHeader/dimensions": dimensions
"/analyticsreporting:v4/ColumnHeader/dimensions/dimension": dimension
"/analyticsreporting:v4/ColumnHeader/metricHeader": metric_header
"/analyticsreporting:v4/CustomDimension": custom_dimension
"/analyticsreporting:v4/CustomDimension/index": index
"/analyticsreporting:v4/CustomDimension/value": value
"/analyticsreporting:v4/DateRange": date_range
"/analyticsreporting:v4/DateRange/endDate": end_date
"/analyticsreporting:v4/DateRange/startDate": start_date
@ -5927,6 +5947,18 @@
"/analyticsreporting:v4/DynamicSegment/name": name
"/analyticsreporting:v4/DynamicSegment/sessionSegment": session_segment
"/analyticsreporting:v4/DynamicSegment/userSegment": user_segment
"/analyticsreporting:v4/EcommerceData": ecommerce_data
"/analyticsreporting:v4/EcommerceData/actionType": action_type
"/analyticsreporting:v4/EcommerceData/ecommerceType": ecommerce_type
"/analyticsreporting:v4/EcommerceData/products": products
"/analyticsreporting:v4/EcommerceData/products/product": product
"/analyticsreporting:v4/EcommerceData/transaction": transaction
"/analyticsreporting:v4/EventData": event_data
"/analyticsreporting:v4/EventData/eventAction": event_action
"/analyticsreporting:v4/EventData/eventCategory": event_category
"/analyticsreporting:v4/EventData/eventCount": event_count
"/analyticsreporting:v4/EventData/eventLabel": event_label
"/analyticsreporting:v4/EventData/eventValue": event_value
"/analyticsreporting:v4/GetReportsRequest": get_reports_request
"/analyticsreporting:v4/GetReportsRequest/reportRequests": report_requests
"/analyticsreporting:v4/GetReportsRequest/reportRequests/report_request": report_request
@ -5936,6 +5968,18 @@
"/analyticsreporting:v4/GetReportsResponse/reports": reports
"/analyticsreporting:v4/GetReportsResponse/reports/report": report
"/analyticsreporting:v4/GetReportsResponse/resourceQuotasRemaining": resource_quotas_remaining
"/analyticsreporting:v4/GoalData": goal_data
"/analyticsreporting:v4/GoalData/goalCompletionLocation": goal_completion_location
"/analyticsreporting:v4/GoalData/goalCompletions": goal_completions
"/analyticsreporting:v4/GoalData/goalIndex": goal_index
"/analyticsreporting:v4/GoalData/goalName": goal_name
"/analyticsreporting:v4/GoalData/goalPreviousStep1": goal_previous_step1
"/analyticsreporting:v4/GoalData/goalPreviousStep2": goal_previous_step2
"/analyticsreporting:v4/GoalData/goalPreviousStep3": goal_previous_step3
"/analyticsreporting:v4/GoalData/goalValue": goal_value
"/analyticsreporting:v4/GoalSetData": goal_set_data
"/analyticsreporting:v4/GoalSetData/goals": goals
"/analyticsreporting:v4/GoalSetData/goals/goal": goal
"/analyticsreporting:v4/Metric": metric
"/analyticsreporting:v4/Metric/alias": alias
"/analyticsreporting:v4/Metric/expression": expression
@ -5964,6 +6008,9 @@
"/analyticsreporting:v4/OrderBy/fieldName": field_name
"/analyticsreporting:v4/OrderBy/orderType": order_type
"/analyticsreporting:v4/OrderBy/sortOrder": sort_order
"/analyticsreporting:v4/PageviewData": pageview_data
"/analyticsreporting:v4/PageviewData/pagePath": page_path
"/analyticsreporting:v4/PageviewData/pageTitle": page_title
"/analyticsreporting:v4/Pivot": pivot
"/analyticsreporting:v4/Pivot/dimensionFilterClauses": dimension_filter_clauses
"/analyticsreporting:v4/Pivot/dimensionFilterClauses/dimension_filter_clause": dimension_filter_clause
@ -5986,6 +6033,11 @@
"/analyticsreporting:v4/PivotValueRegion": pivot_value_region
"/analyticsreporting:v4/PivotValueRegion/values": values
"/analyticsreporting:v4/PivotValueRegion/values/value": value
"/analyticsreporting:v4/ProductData": product_data
"/analyticsreporting:v4/ProductData/itemRevenue": item_revenue
"/analyticsreporting:v4/ProductData/productName": product_name
"/analyticsreporting:v4/ProductData/productQuantity": product_quantity
"/analyticsreporting:v4/ProductData/productSku": product_sku
"/analyticsreporting:v4/Report": report
"/analyticsreporting:v4/Report/columnHeader": column_header
"/analyticsreporting:v4/Report/data": data
@ -6040,6 +6092,25 @@
"/analyticsreporting:v4/ResourceQuotasRemaining": resource_quotas_remaining
"/analyticsreporting:v4/ResourceQuotasRemaining/dailyQuotaTokensRemaining": daily_quota_tokens_remaining
"/analyticsreporting:v4/ResourceQuotasRemaining/hourlyQuotaTokensRemaining": hourly_quota_tokens_remaining
"/analyticsreporting:v4/ScreenviewData": screenview_data
"/analyticsreporting:v4/ScreenviewData/appName": app_name
"/analyticsreporting:v4/ScreenviewData/mobileDeviceBranding": mobile_device_branding
"/analyticsreporting:v4/ScreenviewData/mobileDeviceModel": mobile_device_model
"/analyticsreporting:v4/ScreenviewData/screenName": screen_name
"/analyticsreporting:v4/SearchUserActivityRequest": search_user_activity_request
"/analyticsreporting:v4/SearchUserActivityRequest/activityTypes": activity_types
"/analyticsreporting:v4/SearchUserActivityRequest/activityTypes/activity_type": activity_type
"/analyticsreporting:v4/SearchUserActivityRequest/dateRange": date_range
"/analyticsreporting:v4/SearchUserActivityRequest/pageSize": page_size
"/analyticsreporting:v4/SearchUserActivityRequest/pageToken": page_token
"/analyticsreporting:v4/SearchUserActivityRequest/user": user
"/analyticsreporting:v4/SearchUserActivityRequest/viewId": view_id
"/analyticsreporting:v4/SearchUserActivityResponse": search_user_activity_response
"/analyticsreporting:v4/SearchUserActivityResponse/nextPageToken": next_page_token
"/analyticsreporting:v4/SearchUserActivityResponse/sampleRate": sample_rate
"/analyticsreporting:v4/SearchUserActivityResponse/sessions": sessions
"/analyticsreporting:v4/SearchUserActivityResponse/sessions/session": session
"/analyticsreporting:v4/SearchUserActivityResponse/totalRows": total_rows
"/analyticsreporting:v4/Segment": segment
"/analyticsreporting:v4/Segment/dynamicSegment": dynamic_segment
"/analyticsreporting:v4/Segment/segmentId": segment_id
@ -6079,7 +6150,24 @@
"/analyticsreporting:v4/SimpleSegment": simple_segment
"/analyticsreporting:v4/SimpleSegment/orFiltersForSegment": or_filters_for_segment
"/analyticsreporting:v4/SimpleSegment/orFiltersForSegment/or_filters_for_segment": or_filters_for_segment
"/analyticsreporting:v4/TransactionData": transaction_data
"/analyticsreporting:v4/TransactionData/transactionId": transaction_id
"/analyticsreporting:v4/TransactionData/transactionRevenue": transaction_revenue
"/analyticsreporting:v4/TransactionData/transactionShipping": transaction_shipping
"/analyticsreporting:v4/TransactionData/transactionTax": transaction_tax
"/analyticsreporting:v4/User": user
"/analyticsreporting:v4/User/type": type
"/analyticsreporting:v4/User/userId": user_id
"/analyticsreporting:v4/UserActivitySession": user_activity_session
"/analyticsreporting:v4/UserActivitySession/activities": activities
"/analyticsreporting:v4/UserActivitySession/activities/activity": activity
"/analyticsreporting:v4/UserActivitySession/dataSource": data_source
"/analyticsreporting:v4/UserActivitySession/deviceCategory": device_category
"/analyticsreporting:v4/UserActivitySession/platform": platform
"/analyticsreporting:v4/UserActivitySession/sessionDate": session_date
"/analyticsreporting:v4/UserActivitySession/sessionId": session_id
"/analyticsreporting:v4/analyticsreporting.reports.batchGet": batch_get_reports
"/analyticsreporting:v4/analyticsreporting.userActivity.search": search_user_activity
"/analyticsreporting:v4/fields": fields
"/analyticsreporting:v4/key": key
"/analyticsreporting:v4/quotaUser": quota_user
@ -6611,6 +6699,7 @@
"/androidenterprise:v1/ProductPermissions/productId": product_id
"/androidenterprise:v1/ProductPolicy": product_policy
"/androidenterprise:v1/ProductPolicy/autoInstallPolicy": auto_install_policy
"/androidenterprise:v1/ProductPolicy/managedConfiguration": managed_configuration
"/androidenterprise:v1/ProductPolicy/productId": product_id
"/androidenterprise:v1/ProductPolicy/trackIds": track_ids
"/androidenterprise:v1/ProductPolicy/trackIds/track_id": track_id
@ -8673,6 +8762,7 @@
"/appengine:v1/ErrorHandler/staticFile": static_file
"/appengine:v1/FeatureSettings": feature_settings
"/appengine:v1/FeatureSettings/splitHealthChecks": split_health_checks
"/appengine:v1/FeatureSettings/useContainerOptimizedOs": use_container_optimized_os
"/appengine:v1/FileInfo": file_info
"/appengine:v1/FileInfo/mimeType": mime_type
"/appengine:v1/FileInfo/sha1Sum": sha1_sum
@ -8955,12 +9045,15 @@
"/appengine:v1/Version/threadsafe": threadsafe
"/appengine:v1/Version/versionUrl": version_url
"/appengine:v1/Version/vm": vm
"/appengine:v1/Version/vpcAccessConnector": vpc_access_connector
"/appengine:v1/Version/zones": zones
"/appengine:v1/Version/zones/zone": zone
"/appengine:v1/Volume": volume
"/appengine:v1/Volume/name": name
"/appengine:v1/Volume/sizeGb": size_gb
"/appengine:v1/Volume/volumeType": volume_type
"/appengine:v1/VpcAccessConnector": vpc_access_connector
"/appengine:v1/VpcAccessConnector/name": name
"/appengine:v1/ZipInfo": zip_info
"/appengine:v1/ZipInfo/filesCount": files_count
"/appengine:v1/ZipInfo/sourceUrl": source_url
@ -18906,6 +18999,28 @@
"/cloudshell:v1alpha1/fields": fields
"/cloudshell:v1alpha1/key": key
"/cloudshell:v1alpha1/quotaUser": quota_user
"/cloudtasks:v2/ListLocationsResponse": list_locations_response
"/cloudtasks:v2/ListLocationsResponse/locations": locations
"/cloudtasks:v2/ListLocationsResponse/locations/location": location
"/cloudtasks:v2/ListLocationsResponse/nextPageToken": next_page_token
"/cloudtasks:v2/Location": location
"/cloudtasks:v2/Location/displayName": display_name
"/cloudtasks:v2/Location/labels": labels
"/cloudtasks:v2/Location/labels/label": label
"/cloudtasks:v2/Location/locationId": location_id
"/cloudtasks:v2/Location/metadata": metadata
"/cloudtasks:v2/Location/metadata/metadatum": metadatum
"/cloudtasks:v2/Location/name": name
"/cloudtasks:v2/cloudtasks.projects.locations.get": get_project_location
"/cloudtasks:v2/cloudtasks.projects.locations.get/name": name
"/cloudtasks:v2/cloudtasks.projects.locations.list": list_project_locations
"/cloudtasks:v2/cloudtasks.projects.locations.list/filter": filter
"/cloudtasks:v2/cloudtasks.projects.locations.list/name": name
"/cloudtasks:v2/cloudtasks.projects.locations.list/pageSize": page_size
"/cloudtasks:v2/cloudtasks.projects.locations.list/pageToken": page_token
"/cloudtasks:v2/fields": fields
"/cloudtasks:v2/key": key
"/cloudtasks:v2/quotaUser": quota_user
"/cloudtasks:v2beta2/AcknowledgeTaskRequest": acknowledge_task_request
"/cloudtasks:v2beta2/AcknowledgeTaskRequest/scheduleTime": schedule_time
"/cloudtasks:v2beta2/AppEngineHttpRequest": app_engine_http_request

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/analytics/devguides/reporting/core/v4/
module AnalyticsreportingV4
VERSION = 'V4'
REVISION = '20190313'
REVISION = '20190318'
# View and manage your Google Analytics data
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'

View File

@ -22,6 +22,135 @@ module Google
module Apis
module AnalyticsreportingV4
# An Activity represents data for an activity of a user. Note that an
# Activity is different from a hit.
# A hit might result in multiple Activity's. For example, if a hit
# includes a transaction and a goal completion, there will be two
# Activity protos for this hit, one for ECOMMERCE and one for GOAL.
# Conversely, multiple hits can also construct one Activity. In classic
# e-commerce, data for one transaction might be sent through multiple hits.
# These hits will be merged into one ECOMMERCE Activity.
class Activity
include Google::Apis::Core::Hashable
# Timestamp of the activity.
# Corresponds to the JSON property `activityTime`
# @return [String]
attr_accessor :activity_time
# Type of this activity.
# Corresponds to the JSON property `activityType`
# @return [String]
attr_accessor :activity_type
# This will be set if `activity_type` equals `SCREEN_VIEW`.
# Corresponds to the JSON property `appview`
# @return [Google::Apis::AnalyticsreportingV4::ScreenviewData]
attr_accessor :appview
# For manual campaign tracking, it is the value of the utm_campaign campaign
# tracking parameter. For AdWords autotagging, it is the name(s) of the
# online ad campaign(s) you use for the property. If you use neither, its
# value is (not set).
# Corresponds to the JSON property `campaign`
# @return [String]
attr_accessor :campaign
# The Channel Group associated with an end user's session for this View
# (defined by the View's Channel Groupings).
# Corresponds to the JSON property `channelGrouping`
# @return [String]
attr_accessor :channel_grouping
# A list of all custom dimensions associated with this activity.
# Corresponds to the JSON property `customDimension`
# @return [Array<Google::Apis::AnalyticsreportingV4::CustomDimension>]
attr_accessor :custom_dimension
# E-commerce details associated with the user activity.
# Corresponds to the JSON property `ecommerce`
# @return [Google::Apis::AnalyticsreportingV4::EcommerceData]
attr_accessor :ecommerce
# Represents all the details pertaining to an event.
# Corresponds to the JSON property `event`
# @return [Google::Apis::AnalyticsreportingV4::EventData]
attr_accessor :event
# Represents a set of goals that were reached in an activity.
# Corresponds to the JSON property `goals`
# @return [Google::Apis::AnalyticsreportingV4::GoalSetData]
attr_accessor :goals
# The hostname from which the tracking request was made.
# Corresponds to the JSON property `hostname`
# @return [String]
attr_accessor :hostname
# For manual campaign tracking, it is the value of the utm_term campaign
# tracking parameter. For AdWords traffic, it contains the best matching
# targeting criteria. For the display network, where multiple targeting
# criteria could have caused the ad to show up, it returns the best matching
# targeting criteria as selected by Ads. This could be display_keyword, site
# placement, boomuserlist, user_interest, age, or gender. Otherwise its value
# is (not set).
# Corresponds to the JSON property `keyword`
# @return [String]
attr_accessor :keyword
# The first page in users' sessions, or the landing page.
# Corresponds to the JSON property `landingPagePath`
# @return [String]
attr_accessor :landing_page_path
# The type of referrals. For manual campaign tracking, it is the value of the
# utm_medium campaign tracking parameter. For AdWords autotagging, it is cpc.
# If users came from a search engine detected by Google Analytics, it is
# organic. If the referrer is not a search engine, it is referral. If users
# came directly to the property and document.referrer is empty, its value is
# (none).
# Corresponds to the JSON property `medium`
# @return [String]
attr_accessor :medium
# Represents details collected when the visitor views a page.
# Corresponds to the JSON property `pageview`
# @return [Google::Apis::AnalyticsreportingV4::PageviewData]
attr_accessor :pageview
# The source of referrals. For manual campaign tracking, it is the value of
# the utm_source campaign tracking parameter. For AdWords autotagging, it is
# google. If you use neither, it is the domain of the source
# (e.g., document.referrer) referring the users. It may also contain a port
# address. If users arrived without a referrer, its value is (direct).
# Corresponds to the JSON property `source`
# @return [String]
attr_accessor :source
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@activity_time = args[:activity_time] if args.key?(:activity_time)
@activity_type = args[:activity_type] if args.key?(:activity_type)
@appview = args[:appview] if args.key?(:appview)
@campaign = args[:campaign] if args.key?(:campaign)
@channel_grouping = args[:channel_grouping] if args.key?(:channel_grouping)
@custom_dimension = args[:custom_dimension] if args.key?(:custom_dimension)
@ecommerce = args[:ecommerce] if args.key?(:ecommerce)
@event = args[:event] if args.key?(:event)
@goals = args[:goals] if args.key?(:goals)
@hostname = args[:hostname] if args.key?(:hostname)
@keyword = args[:keyword] if args.key?(:keyword)
@landing_page_path = args[:landing_page_path] if args.key?(:landing_page_path)
@medium = args[:medium] if args.key?(:medium)
@pageview = args[:pageview] if args.key?(:pageview)
@source = args[:source] if args.key?(:source)
end
end
# Defines a cohort. A cohort is a group of users who share a common
# characteristic. For example, all users with the same acquisition date
# belong to the same cohort.
@ -149,6 +278,32 @@ module Google
end
end
# Custom dimension.
class CustomDimension
include Google::Apis::Core::Hashable
# Slot number of custom dimension.
# Corresponds to the JSON property `index`
# @return [Fixnum]
attr_accessor :index
# Value of the custom dimension. Default value (i.e. empty string) indicates
# clearing sesion/visitor scope custom dimension value.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@index = args[:index] if args.key?(:index)
@value = args[:value] if args.key?(:value)
end
end
# A contiguous set of days: startDate, startDate + 1 day, ..., endDate.
# The start and end dates are specified in
# [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) date format `YYYY-MM-DD`.
@ -365,6 +520,87 @@ module Google
end
end
# E-commerce details associated with the user activity.
class EcommerceData
include Google::Apis::Core::Hashable
# Action associated with this e-commerce action.
# Corresponds to the JSON property `actionType`
# @return [String]
attr_accessor :action_type
# The type of this e-commerce activity.
# Corresponds to the JSON property `ecommerceType`
# @return [String]
attr_accessor :ecommerce_type
# Details of the products in this transaction.
# Corresponds to the JSON property `products`
# @return [Array<Google::Apis::AnalyticsreportingV4::ProductData>]
attr_accessor :products
# Represents details collected when the visitor performs a transaction on the
# page.
# Corresponds to the JSON property `transaction`
# @return [Google::Apis::AnalyticsreportingV4::TransactionData]
attr_accessor :transaction
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@action_type = args[:action_type] if args.key?(:action_type)
@ecommerce_type = args[:ecommerce_type] if args.key?(:ecommerce_type)
@products = args[:products] if args.key?(:products)
@transaction = args[:transaction] if args.key?(:transaction)
end
end
# Represents all the details pertaining to an event.
class EventData
include Google::Apis::Core::Hashable
# Type of interaction with the object. Eg: 'play'.
# Corresponds to the JSON property `eventAction`
# @return [String]
attr_accessor :event_action
# The object on the page that was interacted with. Eg: 'Video'.
# Corresponds to the JSON property `eventCategory`
# @return [String]
attr_accessor :event_category
# Number of such events in this activity.
# Corresponds to the JSON property `eventCount`
# @return [Fixnum]
attr_accessor :event_count
# Label attached with the event.
# Corresponds to the JSON property `eventLabel`
# @return [String]
attr_accessor :event_label
# Numeric value associated with the event.
# Corresponds to the JSON property `eventValue`
# @return [Fixnum]
attr_accessor :event_value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@event_action = args[:event_action] if args.key?(:event_action)
@event_category = args[:event_category] if args.key?(:event_category)
@event_count = args[:event_count] if args.key?(:event_count)
@event_label = args[:event_label] if args.key?(:event_label)
@event_value = args[:event_value] if args.key?(:event_value)
end
end
# The batch request containing multiple report request.
class GetReportsRequest
include Google::Apis::Core::Hashable
@ -436,6 +672,86 @@ module Google
end
end
# Represents all the details pertaining to a goal.
class GoalData
include Google::Apis::Core::Hashable
# URL of the page where this goal was completed.
# Corresponds to the JSON property `goalCompletionLocation`
# @return [String]
attr_accessor :goal_completion_location
# Total number of goal completions in this activity.
# Corresponds to the JSON property `goalCompletions`
# @return [Fixnum]
attr_accessor :goal_completions
# This identifies the goal as configured for the profile.
# Corresponds to the JSON property `goalIndex`
# @return [Fixnum]
attr_accessor :goal_index
# Name of the goal.
# Corresponds to the JSON property `goalName`
# @return [String]
attr_accessor :goal_name
# URL of the page one step prior to the goal completion.
# Corresponds to the JSON property `goalPreviousStep1`
# @return [String]
attr_accessor :goal_previous_step1
# URL of the page two steps prior to the goal completion.
# Corresponds to the JSON property `goalPreviousStep2`
# @return [String]
attr_accessor :goal_previous_step2
# URL of the page three steps prior to the goal completion.
# Corresponds to the JSON property `goalPreviousStep3`
# @return [String]
attr_accessor :goal_previous_step3
# Value in this goal.
# Corresponds to the JSON property `goalValue`
# @return [Float]
attr_accessor :goal_value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@goal_completion_location = args[:goal_completion_location] if args.key?(:goal_completion_location)
@goal_completions = args[:goal_completions] if args.key?(:goal_completions)
@goal_index = args[:goal_index] if args.key?(:goal_index)
@goal_name = args[:goal_name] if args.key?(:goal_name)
@goal_previous_step1 = args[:goal_previous_step1] if args.key?(:goal_previous_step1)
@goal_previous_step2 = args[:goal_previous_step2] if args.key?(:goal_previous_step2)
@goal_previous_step3 = args[:goal_previous_step3] if args.key?(:goal_previous_step3)
@goal_value = args[:goal_value] if args.key?(:goal_value)
end
end
# Represents a set of goals that were reached in an activity.
class GoalSetData
include Google::Apis::Core::Hashable
# All the goals that were reached in the current activity.
# Corresponds to the JSON property `goals`
# @return [Array<Google::Apis::AnalyticsreportingV4::GoalData>]
attr_accessor :goals
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@goals = args[:goals] if args.key?(:goals)
end
end
# [Metrics](https://support.google.com/analytics/answer/1033861)
# are the quantitative measurements. For example, the metric `ga:users`
# indicates the total number of users for the requested time period.
@ -657,6 +973,31 @@ module Google
end
end
# Represents details collected when the visitor views a page.
class PageviewData
include Google::Apis::Core::Hashable
# The URL of the page that the visitor viewed.
# Corresponds to the JSON property `pagePath`
# @return [String]
attr_accessor :page_path
# The title of the page that the visitor viewed.
# Corresponds to the JSON property `pageTitle`
# @return [String]
attr_accessor :page_title
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@page_path = args[:page_path] if args.key?(:page_path)
@page_title = args[:page_title] if args.key?(:page_title)
end
end
# The Pivot describes the pivot section in the request.
# The Pivot helps rearrange the information in the table for certain reports
# by pivoting your data on a second dimension.
@ -799,6 +1140,44 @@ module Google
end
end
# Details of the products in an e-commerce transaction.
class ProductData
include Google::Apis::Core::Hashable
# The total revenue from purchased product items.
# Corresponds to the JSON property `itemRevenue`
# @return [Float]
attr_accessor :item_revenue
# The product name, supplied by the e-commerce tracking application, for
# the purchased items.
# Corresponds to the JSON property `productName`
# @return [String]
attr_accessor :product_name
# Total number of this product units in the transaction.
# Corresponds to the JSON property `productQuantity`
# @return [Fixnum]
attr_accessor :product_quantity
# Unique code that represents the product.
# Corresponds to the JSON property `productSku`
# @return [String]
attr_accessor :product_sku
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@item_revenue = args[:item_revenue] if args.key?(:item_revenue)
@product_name = args[:product_name] if args.key?(:product_name)
@product_quantity = args[:product_quantity] if args.key?(:product_quantity)
@product_sku = args[:product_sku] if args.key?(:product_sku)
end
end
# The data response corresponding to the request.
class Report
include Google::Apis::Core::Hashable
@ -1159,6 +1538,148 @@ module Google
end
end
#
class ScreenviewData
include Google::Apis::Core::Hashable
# The application name.
# Corresponds to the JSON property `appName`
# @return [String]
attr_accessor :app_name
# Mobile manufacturer or branded name. Eg: "Google", "Apple" etc.
# Corresponds to the JSON property `mobileDeviceBranding`
# @return [String]
attr_accessor :mobile_device_branding
# Mobile device model. Eg: "Pixel", "iPhone" etc.
# Corresponds to the JSON property `mobileDeviceModel`
# @return [String]
attr_accessor :mobile_device_model
# The name of the screen.
# Corresponds to the JSON property `screenName`
# @return [String]
attr_accessor :screen_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@app_name = args[:app_name] if args.key?(:app_name)
@mobile_device_branding = args[:mobile_device_branding] if args.key?(:mobile_device_branding)
@mobile_device_model = args[:mobile_device_model] if args.key?(:mobile_device_model)
@screen_name = args[:screen_name] if args.key?(:screen_name)
end
end
# The request to fetch User Report from Reporting API `userActivity:get` call.
class SearchUserActivityRequest
include Google::Apis::Core::Hashable
# Set of all activity types being requested. Only acvities matching these
# types will be returned in the response. If empty, all activies will be
# returned.
# Corresponds to the JSON property `activityTypes`
# @return [Array<String>]
attr_accessor :activity_types
# A contiguous set of days: startDate, startDate + 1 day, ..., endDate.
# The start and end dates are specified in
# [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) date format `YYYY-MM-DD`.
# Corresponds to the JSON property `dateRange`
# @return [Google::Apis::AnalyticsreportingV4::DateRange]
attr_accessor :date_range
# Page size is for paging and specifies the maximum number of returned rows.
# Page size should be > 0. If the value is 0 or if the field isn't specified,
# the request returns the default of 1000 rows per page.
# Corresponds to the JSON property `pageSize`
# @return [Fixnum]
attr_accessor :page_size
# A continuation token to get the next page of the results. Adding this to
# the request will return the rows after the pageToken. The pageToken should
# be the value returned in the nextPageToken parameter in the response to
# the [SearchUserActivityRequest](#SearchUserActivityRequest) request.
# Corresponds to the JSON property `pageToken`
# @return [String]
attr_accessor :page_token
# Contains information to identify a particular user uniquely.
# Corresponds to the JSON property `user`
# @return [Google::Apis::AnalyticsreportingV4::User]
attr_accessor :user
# Required. The Analytics
# [view ID](https://support.google.com/analytics/answer/1009618)
# from which to retrieve data. Every
# [SearchUserActivityRequest](#SearchUserActivityRequest) must contain the
# `viewId`.
# Corresponds to the JSON property `viewId`
# @return [String]
attr_accessor :view_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@activity_types = args[:activity_types] if args.key?(:activity_types)
@date_range = args[:date_range] if args.key?(:date_range)
@page_size = args[:page_size] if args.key?(:page_size)
@page_token = args[:page_token] if args.key?(:page_token)
@user = args[:user] if args.key?(:user)
@view_id = args[:view_id] if args.key?(:view_id)
end
end
# The response from `userActivity:get` call.
class SearchUserActivityResponse
include Google::Apis::Core::Hashable
# This token should be passed to
# [SearchUserActivityRequest](#SearchUserActivityRequest) to retrieve the
# next page.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# This field represents the
# [sampling rate](https://support.google.com/analytics/answer/2637192) for
# the given request and is a number between 0.0 to 1.0. See
# [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)
# for details.
# Corresponds to the JSON property `sampleRate`
# @return [Float]
attr_accessor :sample_rate
# Each record represents a session (device details, duration, etc).
# Corresponds to the JSON property `sessions`
# @return [Array<Google::Apis::AnalyticsreportingV4::UserActivitySession>]
attr_accessor :sessions
# Total rows returned by this query (across different pages).
# Corresponds to the JSON property `totalRows`
# @return [Fixnum]
attr_accessor :total_rows
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@sample_rate = args[:sample_rate] if args.key?(:sample_rate)
@sessions = args[:sessions] if args.key?(:sessions)
@total_rows = args[:total_rows] if args.key?(:total_rows)
end
end
# The segment definition, if the report needs to be segmented.
# A Segment is a subset of the Analytics data. For example, of the entire
# set of users, one Segment might be users from a particular country or city.
@ -1471,6 +1992,123 @@ module Google
@or_filters_for_segment = args[:or_filters_for_segment] if args.key?(:or_filters_for_segment)
end
end
# Represents details collected when the visitor performs a transaction on the
# page.
class TransactionData
include Google::Apis::Core::Hashable
# The transaction ID, supplied by the e-commerce tracking method, for the
# purchase in the shopping cart.
# Corresponds to the JSON property `transactionId`
# @return [String]
attr_accessor :transaction_id
# The total sale revenue (excluding shipping and tax) of the transaction.
# Corresponds to the JSON property `transactionRevenue`
# @return [Float]
attr_accessor :transaction_revenue
# Total cost of shipping.
# Corresponds to the JSON property `transactionShipping`
# @return [Float]
attr_accessor :transaction_shipping
# Total tax for the transaction.
# Corresponds to the JSON property `transactionTax`
# @return [Float]
attr_accessor :transaction_tax
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@transaction_id = args[:transaction_id] if args.key?(:transaction_id)
@transaction_revenue = args[:transaction_revenue] if args.key?(:transaction_revenue)
@transaction_shipping = args[:transaction_shipping] if args.key?(:transaction_shipping)
@transaction_tax = args[:transaction_tax] if args.key?(:transaction_tax)
end
end
# Contains information to identify a particular user uniquely.
class User
include Google::Apis::Core::Hashable
# Type of the user in the request. The field `userId` is associated with this
# type.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
# Unique Id of the user for which the data is being requested.
# Corresponds to the JSON property `userId`
# @return [String]
attr_accessor :user_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@type = args[:type] if args.key?(:type)
@user_id = args[:user_id] if args.key?(:user_id)
end
end
# This represents a user session performed on a specific device at a certain
# time over a period of time.
class UserActivitySession
include Google::Apis::Core::Hashable
# Represents a detailed view into each of the activity in this session.
# Corresponds to the JSON property `activities`
# @return [Array<Google::Apis::AnalyticsreportingV4::Activity>]
attr_accessor :activities
# The data source of a hit. By default, hits sent from analytics.js are
# reported as "web" and hits sent from the mobile SDKs are reported as "app".
# These values can be overridden in the Measurement Protocol.
# Corresponds to the JSON property `dataSource`
# @return [String]
attr_accessor :data_source
# The type of device used: "mobile", "tablet" etc.
# Corresponds to the JSON property `deviceCategory`
# @return [String]
attr_accessor :device_category
# Platform on which the activity happened: "android", "ios" etc.
# Corresponds to the JSON property `platform`
# @return [String]
attr_accessor :platform
# Date of this session in ISO-8601 format.
# Corresponds to the JSON property `sessionDate`
# @return [String]
attr_accessor :session_date
# Unique ID of the session.
# Corresponds to the JSON property `sessionId`
# @return [String]
attr_accessor :session_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@activities = args[:activities] if args.key?(:activities)
@data_source = args[:data_source] if args.key?(:data_source)
@device_category = args[:device_category] if args.key?(:device_category)
@platform = args[:platform] if args.key?(:platform)
@session_date = args[:session_date] if args.key?(:session_date)
@session_id = args[:session_id] if args.key?(:session_id)
end
end
end
end
end

View File

@ -22,6 +22,12 @@ module Google
module Apis
module AnalyticsreportingV4
class Activity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Cohort
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -40,6 +46,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class CustomDimension
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DateRange
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -76,6 +88,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class EcommerceData
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class EventData
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GetReportsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -88,6 +112,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoalData
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoalSetData
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Metric
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -130,6 +166,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PageviewData
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Pivot
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -154,6 +196,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ProductData
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Report
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -184,6 +232,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ScreenviewData
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SearchUserActivityRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SearchUserActivityResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Segment
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -238,6 +304,51 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class TransactionData
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class User
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UserActivitySession
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Activity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :activity_time, as: 'activityTime'
property :activity_type, as: 'activityType'
property :appview, as: 'appview', class: Google::Apis::AnalyticsreportingV4::ScreenviewData, decorator: Google::Apis::AnalyticsreportingV4::ScreenviewData::Representation
property :campaign, as: 'campaign'
property :channel_grouping, as: 'channelGrouping'
collection :custom_dimension, as: 'customDimension', class: Google::Apis::AnalyticsreportingV4::CustomDimension, decorator: Google::Apis::AnalyticsreportingV4::CustomDimension::Representation
property :ecommerce, as: 'ecommerce', class: Google::Apis::AnalyticsreportingV4::EcommerceData, decorator: Google::Apis::AnalyticsreportingV4::EcommerceData::Representation
property :event, as: 'event', class: Google::Apis::AnalyticsreportingV4::EventData, decorator: Google::Apis::AnalyticsreportingV4::EventData::Representation
property :goals, as: 'goals', class: Google::Apis::AnalyticsreportingV4::GoalSetData, decorator: Google::Apis::AnalyticsreportingV4::GoalSetData::Representation
property :hostname, as: 'hostname'
property :keyword, as: 'keyword'
property :landing_page_path, as: 'landingPagePath'
property :medium, as: 'medium'
property :pageview, as: 'pageview', class: Google::Apis::AnalyticsreportingV4::PageviewData, decorator: Google::Apis::AnalyticsreportingV4::PageviewData::Representation
property :source, as: 'source'
end
end
class Cohort
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -266,6 +377,14 @@ module Google
end
end
class CustomDimension
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :index, as: 'index'
property :value, as: 'value'
end
end
class DateRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -322,6 +441,29 @@ module Google
end
end
class EcommerceData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action_type, as: 'actionType'
property :ecommerce_type, as: 'ecommerceType'
collection :products, as: 'products', class: Google::Apis::AnalyticsreportingV4::ProductData, decorator: Google::Apis::AnalyticsreportingV4::ProductData::Representation
property :transaction, as: 'transaction', class: Google::Apis::AnalyticsreportingV4::TransactionData, decorator: Google::Apis::AnalyticsreportingV4::TransactionData::Representation
end
end
class EventData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :event_action, as: 'eventAction'
property :event_category, as: 'eventCategory'
property :event_count, :numeric_string => true, as: 'eventCount'
property :event_label, as: 'eventLabel'
property :event_value, :numeric_string => true, as: 'eventValue'
end
end
class GetReportsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -342,6 +484,28 @@ module Google
end
end
class GoalData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :goal_completion_location, as: 'goalCompletionLocation'
property :goal_completions, :numeric_string => true, as: 'goalCompletions'
property :goal_index, as: 'goalIndex'
property :goal_name, as: 'goalName'
property :goal_previous_step1, as: 'goalPreviousStep1'
property :goal_previous_step2, as: 'goalPreviousStep2'
property :goal_previous_step3, as: 'goalPreviousStep3'
property :goal_value, as: 'goalValue'
end
end
class GoalSetData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :goals, as: 'goals', class: Google::Apis::AnalyticsreportingV4::GoalData, decorator: Google::Apis::AnalyticsreportingV4::GoalData::Representation
end
end
class Metric
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -405,6 +569,14 @@ module Google
end
end
class PageviewData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :page_path, as: 'pagePath'
property :page_title, as: 'pageTitle'
end
end
class Pivot
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -445,6 +617,16 @@ module Google
end
end
class ProductData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :item_revenue, as: 'itemRevenue'
property :product_name, as: 'productName'
property :product_quantity, :numeric_string => true, as: 'productQuantity'
property :product_sku, as: 'productSku'
end
end
class Report
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -524,6 +706,41 @@ module Google
end
end
class ScreenviewData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :app_name, as: 'appName'
property :mobile_device_branding, as: 'mobileDeviceBranding'
property :mobile_device_model, as: 'mobileDeviceModel'
property :screen_name, as: 'screenName'
end
end
class SearchUserActivityRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :activity_types, as: 'activityTypes'
property :date_range, as: 'dateRange', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation
property :page_size, as: 'pageSize'
property :page_token, as: 'pageToken'
property :user, as: 'user', class: Google::Apis::AnalyticsreportingV4::User, decorator: Google::Apis::AnalyticsreportingV4::User::Representation
property :view_id, as: 'viewId'
end
end
class SearchUserActivityResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
property :sample_rate, as: 'sampleRate'
collection :sessions, as: 'sessions', class: Google::Apis::AnalyticsreportingV4::UserActivitySession, decorator: Google::Apis::AnalyticsreportingV4::UserActivitySession::Representation
property :total_rows, as: 'totalRows'
end
end
class Segment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -611,6 +828,37 @@ module Google
end
end
class TransactionData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :transaction_id, as: 'transactionId'
property :transaction_revenue, as: 'transactionRevenue'
property :transaction_shipping, as: 'transactionShipping'
property :transaction_tax, as: 'transactionTax'
end
end
class User
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :type, as: 'type'
property :user_id, as: 'userId'
end
end
class UserActivitySession
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :activities, as: 'activities', class: Google::Apis::AnalyticsreportingV4::Activity, decorator: Google::Apis::AnalyticsreportingV4::Activity::Representation
property :data_source, as: 'dataSource'
property :device_category, as: 'deviceCategory'
property :platform, as: 'platform'
property :session_date, as: 'sessionDate'
property :session_id, as: 'sessionId'
end
end
end
end
end

View File

@ -76,6 +76,36 @@ module Google
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns User Activity data.
# @param [Google::Apis::AnalyticsreportingV4::SearchUserActivityRequest] search_user_activity_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AnalyticsreportingV4::SearchUserActivityResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AnalyticsreportingV4::SearchUserActivityResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def search_user_activity(search_user_activity_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v4/userActivity:search', options)
command.request_representation = Google::Apis::AnalyticsreportingV4::SearchUserActivityRequest::Representation
command.request_object = search_user_activity_request_object
command.response_representation = Google::Apis::AnalyticsreportingV4::SearchUserActivityResponse::Representation
command.response_class = Google::Apis::AnalyticsreportingV4::SearchUserActivityResponse
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
protected

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android/work/play/emm-api
module AndroidenterpriseV1
VERSION = 'V1'
REVISION = '20190130'
REVISION = '20190313'
# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'

View File

@ -2182,6 +2182,13 @@ module Google
# @return [Google::Apis::AndroidenterpriseV1::AutoInstallPolicy]
attr_accessor :auto_install_policy
# A managed configuration resource contains the set of managed properties
# defined by the app developer in the app's managed configurations schema, as
# well as any configuration variables defined for the user.
# Corresponds to the JSON property `managedConfiguration`
# @return [Google::Apis::AndroidenterpriseV1::ManagedConfiguration]
attr_accessor :managed_configuration
# The ID of the product. For example, "app:com.google.android.gm".
# Corresponds to the JSON property `productId`
# @return [String]
@ -2206,6 +2213,7 @@ module Google
# Update properties of this object
def update!(**args)
@auto_install_policy = args[:auto_install_policy] if args.key?(:auto_install_policy)
@managed_configuration = args[:managed_configuration] if args.key?(:managed_configuration)
@product_id = args[:product_id] if args.key?(:product_id)
@track_ids = args[:track_ids] if args.key?(:track_ids)
@tracks = args[:tracks] if args.key?(:tracks)

View File

@ -1083,6 +1083,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_install_policy, as: 'autoInstallPolicy', class: Google::Apis::AndroidenterpriseV1::AutoInstallPolicy, decorator: Google::Apis::AndroidenterpriseV1::AutoInstallPolicy::Representation
property :managed_configuration, as: 'managedConfiguration', class: Google::Apis::AndroidenterpriseV1::ManagedConfiguration, decorator: Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
property :product_id, as: 'productId'
collection :track_ids, as: 'trackIds'
collection :tracks, as: 'tracks'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1
VERSION = 'V1'
REVISION = '20190214'
REVISION = '20190315'
# View and manage your applications deployed on Google App Engine
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'

View File

@ -928,6 +928,13 @@ module Google
attr_accessor :split_health_checks
alias_method :split_health_checks?, :split_health_checks
# If true, use Container-Optimized OS (https://cloud.google.com/container-
# optimized-os/) base image for VMs, rather than a base Debian image.
# Corresponds to the JSON property `useContainerOptimizedOs`
# @return [Boolean]
attr_accessor :use_container_optimized_os
alias_method :use_container_optimized_os?, :use_container_optimized_os
def initialize(**args)
update!(**args)
end
@ -935,6 +942,7 @@ module Google
# Update properties of this object
def update!(**args)
@split_health_checks = args[:split_health_checks] if args.key?(:split_health_checks)
@use_container_optimized_os = args[:use_container_optimized_os] if args.key?(:use_container_optimized_os)
end
end
@ -2864,6 +2872,11 @@ module Google
attr_accessor :vm
alias_method :vm?, :vm
# VPC access connector specification.
# Corresponds to the JSON property `vpcAccessConnector`
# @return [Google::Apis::AppengineV1::VpcAccessConnector]
attr_accessor :vpc_access_connector
# The Google Compute Engine zones that are supported by this version in the App
# Engine flexible environment. Deprecated.
# Corresponds to the JSON property `zones`
@ -2911,6 +2924,7 @@ module Google
@threadsafe = args[:threadsafe] if args.key?(:threadsafe)
@version_url = args[:version_url] if args.key?(:version_url)
@vm = args[:vm] if args.key?(:vm)
@vpc_access_connector = args[:vpc_access_connector] if args.key?(:vpc_access_connector)
@zones = args[:zones] if args.key?(:zones)
end
end
@ -2947,6 +2961,26 @@ module Google
end
end
# VPC access connector specification.
class VpcAccessConnector
include Google::Apis::Core::Hashable
# Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/
# us-central1/connectors/c1.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
end
end
# The zip file information for a zip deployment.
class ZipInfo
include Google::Apis::Core::Hashable

View File

@ -424,6 +424,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class VpcAccessConnector
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ZipInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -674,6 +680,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :split_health_checks, as: 'splitHealthChecks'
property :use_container_optimized_os, as: 'useContainerOptimizedOs'
end
end
@ -1147,6 +1154,8 @@ module Google
property :threadsafe, as: 'threadsafe'
property :version_url, as: 'versionUrl'
property :vm, as: 'vm'
property :vpc_access_connector, as: 'vpcAccessConnector', class: Google::Apis::AppengineV1::VpcAccessConnector, decorator: Google::Apis::AppengineV1::VpcAccessConnector::Representation
collection :zones, as: 'zones'
end
end
@ -1160,6 +1169,13 @@ module Google
end
end
class VpcAccessConnector
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
end
end
class ZipInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV2beta1
VERSION = 'V2beta1'
REVISION = '20190227'
REVISION = '20190318'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -422,14 +422,14 @@ module Google
attr_accessor :done
alias_method :done?, :done
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@ -657,10 +657,9 @@ module Google
# |displayName=Test* | Folders whose display name starts with "Test".|
# |lifecycleState=ACTIVE | Folders whose lifecycleState is ACTIVE.|
# |parent=folders/123 | Folders whose parent is "folders/123".|
# |parent=folders/123 AND lifecycleState=ACTIVE | Active folders whose parent is
# "folders/123".|
# |displayName=\\"Test String\\"|Folders whose display name includes both "Test"
# and "String".|
# |parent=folders/123 AND lifecycleState=ACTIVE | Active folders whose parent
# is "folders/123".| |displayName=\\"Test String\\"|Folders whose display
# name includes both "Test" and "String".|
# Corresponds to the JSON property `query`
# @return [String]
attr_accessor :query
@ -770,14 +769,14 @@ module Google
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing

View File

@ -0,0 +1,34 @@
# Copyright 2015 Google Inc.
#
# 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
#
# http://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.
require 'google/apis/cloudtasks_v2/service.rb'
require 'google/apis/cloudtasks_v2/classes.rb'
require 'google/apis/cloudtasks_v2/representations.rb'
module Google
module Apis
# Cloud Tasks API
#
# Manages the execution of large numbers of distributed requests.
#
# @see https://cloud.google.com/tasks/
module CloudtasksV2
VERSION = 'V2'
REVISION = '20190228'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
end
end
end

View File

@ -0,0 +1,98 @@
# Copyright 2015 Google Inc.
#
# 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
#
# http://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.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module CloudtasksV2
# The response message for Locations.ListLocations.
class ListLocationsResponse
include Google::Apis::Core::Hashable
# A list of locations that matches the specified filter in the request.
# Corresponds to the JSON property `locations`
# @return [Array<Google::Apis::CloudtasksV2::Location>]
attr_accessor :locations
# The standard List next-page token.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@locations = args[:locations] if args.key?(:locations)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# A resource that represents Google Cloud Platform location.
class Location
include Google::Apis::Core::Hashable
# The friendly name for this location, typically a nearby city name.
# For example, "Tokyo".
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# Cross-service attributes for the location. For example
# `"cloud.googleapis.com/region": "us-east1"`
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
# The canonical id for this location. For example: `"us-east1"`.
# Corresponds to the JSON property `locationId`
# @return [String]
attr_accessor :location_id
# Service-specific metadata. For example the available capacity at the given
# location.
# Corresponds to the JSON property `metadata`
# @return [Hash<String,Object>]
attr_accessor :metadata
# Resource name for the location, which may vary between implementations.
# For example: `"projects/example-project/locations/us-east1"`
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@display_name = args[:display_name] if args.key?(:display_name)
@labels = args[:labels] if args.key?(:labels)
@location_id = args[:location_id] if args.key?(:location_id)
@metadata = args[:metadata] if args.key?(:metadata)
@name = args[:name] if args.key?(:name)
end
end
end
end
end

View File

@ -0,0 +1,58 @@
# Copyright 2015 Google Inc.
#
# 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
#
# http://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.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module CloudtasksV2
class ListLocationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Location
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListLocationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :locations, as: 'locations', class: Google::Apis::CloudtasksV2::Location, decorator: Google::Apis::CloudtasksV2::Location::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class Location
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
hash :labels, as: 'labels'
property :location_id, as: 'locationId'
hash :metadata, as: 'metadata'
property :name, as: 'name'
end
end
end
end
end

View File

@ -0,0 +1,128 @@
# Copyright 2015 Google Inc.
#
# 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
#
# http://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.
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module CloudtasksV2
# Cloud Tasks API
#
# Manages the execution of large numbers of distributed requests.
#
# @example
# require 'google/apis/cloudtasks_v2'
#
# Cloudtasks = Google::Apis::CloudtasksV2 # Alias the module
# service = Cloudtasks::CloudTasksService.new
#
# @see https://cloud.google.com/tasks/
class CloudTasksService < Google::Apis::Core::BaseService
# @return [String]
# API key. Your API key identifies your project and provides you with API access,
# quota, and reports. Required unless you provide an OAuth 2.0 token.
attr_accessor :key
# @return [String]
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
attr_accessor :quota_user
def initialize
super('https://cloudtasks.googleapis.com/', '')
@batch_path = 'batch'
end
# Gets information about a location.
# @param [String] name
# Resource name for the location.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::CloudtasksV2::Location] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudtasksV2::Location]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
command.response_representation = Google::Apis::CloudtasksV2::Location::Representation
command.response_class = Google::Apis::CloudtasksV2::Location
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists information about the supported locations for this service.
# @param [String] name
# The resource that owns the locations collection, if applicable.
# @param [String] filter
# The standard list filter.
# @param [Fixnum] page_size
# The standard list page size.
# @param [String] page_token
# The standard list page token.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::CloudtasksV2::ListLocationsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::CloudtasksV2::ListLocationsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}/locations', options)
command.response_representation = Google::Apis::CloudtasksV2::ListLocationsResponse::Representation
command.response_class = Google::Apis::CloudtasksV2::ListLocationsResponse
command.params['name'] = name unless name.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
protected
def apply_command_defaults(command)
command.query['key'] = key unless key.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
end
end
end
end
end

View File

@ -29,7 +29,7 @@ module Google
# @see https://cloud.google.com/trace
module CloudtraceV2
VERSION = 'V2'
REVISION = '20190102'
REVISION = '20190312'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -364,14 +364,14 @@ module Google
# @return [String]
attr_accessor :start_time
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
@ -550,14 +550,14 @@ module Google
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error message,
# and error details. The error code should be an enum value of
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-analysis/api/reference/rest/
module ContaineranalysisV1alpha1
VERSION = 'V1alpha1'
REVISION = '20190308'
REVISION = '20190315'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2
VERSION = 'V2'
REVISION = '20190308'
REVISION = '20190315'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -5253,7 +5253,9 @@ module Google
# @return [String]
attr_accessor :operation_id
# [required] ID of the shipment group.
# [required] ID of the shipment group. It is assigned by the merchant in the
# shipLineItems method and is used to group multiple line items that have the
# same kind of shipping charges.
# Corresponds to the JSON property `shipmentGroupId`
# @return [String]
attr_accessor :shipment_group_id
@ -6718,6 +6720,8 @@ module Google
# Updated delivery by date, in ISO 8601 format. If not specified only ship by
# date is updated.
# Provided date should be within 1 year timeframe and can not be a date in the
# past.
# Corresponds to the JSON property `deliverByDate`
# @return [String]
attr_accessor :deliver_by_date
@ -6736,6 +6740,8 @@ module Google
# Updated ship by date, in ISO 8601 format. If not specified only deliver by
# date is updated.
# Provided date should be within 1 year timeframe and can not be a date in the
# past.
# Corresponds to the JSON property `shipByDate`
# @return [String]
attr_accessor :ship_by_date
@ -7517,6 +7523,8 @@ module Google
# Updated delivery by date, in ISO 8601 format. If not specified only ship by
# date is updated.
# Provided date should be within 1 year timeframe and can not be a date in the
# past.
# Corresponds to the JSON property `deliverByDate`
# @return [String]
attr_accessor :deliver_by_date
@ -7540,6 +7548,8 @@ module Google
# Updated ship by date, in ISO 8601 format. If not specified only deliver by
# date is updated.
# Provided date should be within 1 year timeframe and can not be a date in the
# past.
# Corresponds to the JSON property `shipByDate`
# @return [String]
attr_accessor :ship_by_date
@ -10141,7 +10151,9 @@ module Google
# @return [Array<Google::Apis::ContentV2::ShipmentInvoiceLineItemInvoice>]
attr_accessor :line_item_invoices
# [required] ID of the shipment group.
# [required] ID of the shipment group. It is assigned by the merchant in the
# shipLineItems method and is used to group multiple line items that have the
# same kind of shipping charges.
# Corresponds to the JSON property `shipmentGroupId`
# @return [String]
attr_accessor :shipment_group_id
@ -10173,7 +10185,10 @@ module Google
# @return [String]
attr_accessor :product_id
# [required] Unit IDs to define specific units within the line item.
# [required] The shipment unit ID is assigned by the merchant and defines
# individual quantities within a line item. The same ID can be assigned to units
# that are the same while units that differ must be assigned a different ID (for
# example: free or promotional units).
# Corresponds to the JSON property `shipmentUnitIds`
# @return [Array<String>]
attr_accessor :shipment_unit_ids

View File

@ -778,7 +778,8 @@ module Google
execute_or_queue_command(command, &block)
end
#
# Deletes, fetches, gets, inserts and updates multiple datafeeds in a single
# request.
# @param [Google::Apis::ContentV2::BatchDatafeedsRequest] batch_datafeeds_request_object
# @param [Boolean] dry_run
# Flag to simulate a request like in a live environment. If set to true, dry-run
@ -1102,7 +1103,7 @@ module Google
execute_or_queue_command(command, &block)
end
#
# Gets multiple Merchant Center datafeed statuses in a single request.
# @param [Google::Apis::ContentV2::BatchDatafeedStatusesRequest] batch_datafeed_statuses_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -2624,6 +2625,12 @@ module Google
# Notifies that item return and refund was handled directly by merchant outside
# of Google payments processing (e.g. cash refund done in store).
# Note: We recommend calling the returnrefundlineitem method to refund in-store
# returns. We will issue the refund directly to the customer. This helps to
# prevent possible differences arising between merchant and Google transaction
# records. We also recommend having the point of sale system communicate with
# Google to ensure that customers do not receive a double refund by first
# refunding via Google then via an in-store return.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2_1
VERSION = 'V2_1'
REVISION = '20190308'
REVISION = '20190315'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -4540,7 +4540,9 @@ module Google
# @return [String]
attr_accessor :operation_id
# [required] ID of the shipment group.
# [required] ID of the shipment group. It is assigned by the merchant in the
# shipLineItems method and is used to group multiple line items that have the
# same kind of shipping charges.
# Corresponds to the JSON property `shipmentGroupId`
# @return [String]
attr_accessor :shipment_group_id
@ -5682,6 +5684,8 @@ module Google
# Updated delivery by date, in ISO 8601 format. If not specified only ship by
# date is updated.
# Provided date should be within 1 year timeframe and can not be a date in the
# past.
# Corresponds to the JSON property `deliverByDate`
# @return [String]
attr_accessor :deliver_by_date
@ -5705,6 +5709,8 @@ module Google
# Updated ship by date, in ISO 8601 format. If not specified only deliver by
# date is updated.
# Provided date should be within 1 year timeframe and can not be a date in the
# past.
# Corresponds to the JSON property `shipByDate`
# @return [String]
attr_accessor :ship_by_date
@ -8289,7 +8295,9 @@ module Google
# @return [Array<Google::Apis::ContentV2_1::ShipmentInvoiceLineItemInvoice>]
attr_accessor :line_item_invoices
# [required] ID of the shipment group.
# [required] ID of the shipment group. It is assigned by the merchant in the
# shipLineItems method and is used to group multiple line items that have the
# same kind of shipping charges.
# Corresponds to the JSON property `shipmentGroupId`
# @return [String]
attr_accessor :shipment_group_id
@ -8321,7 +8329,10 @@ module Google
# @return [String]
attr_accessor :product_id
# [required] Unit IDs to define specific units within the line item.
# [required] The shipment unit ID is assigned by the merchant and defines
# individual quantities within a line item. The same ID can be assigned to units
# that are the same while units that differ must be assigned a different ID (for
# example: free or promotional units).
# Corresponds to the JSON property `shipmentUnitIds`
# @return [Array<String>]
attr_accessor :shipment_unit_ids

View File

@ -664,7 +664,8 @@ module Google
execute_or_queue_command(command, &block)
end
#
# Deletes, fetches, gets, inserts and updates multiple datafeeds in a single
# request.
# @param [Google::Apis::ContentV2_1::DatafeedsCustomBatchRequest] datafeeds_custom_batch_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -923,7 +924,7 @@ module Google
execute_or_queue_command(command, &block)
end
#
# Gets multiple Merchant Center datafeed statuses in a single request.
# @param [Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchRequest] datafeedstatuses_custom_batch_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -2113,6 +2114,12 @@ module Google
# Notifies that item return and refund was handled directly by merchant outside
# of Google payments processing (e.g. cash refund done in store).
# Note: We recommend calling the returnrefundlineitem method to refund in-store
# returns. We will issue the refund directly to the customer. This helps to
# prevent possible differences arising between merchant and Google transaction
# records. We also recommend having the point of sale system communicate with
# Google to ensure that customers do not receive a double refund by first
# refunding via Google then via an in-store return.
# @param [Fixnum] merchant_id
# The ID of the account that manages the order. This cannot be a multi-client
# account.

View File

@ -28,7 +28,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/runtime-configurator/
module RuntimeconfigV1beta1
VERSION = 'V1beta1'
REVISION = '20190311'
REVISION = '20190318'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'