Skip to content

Commit

Permalink
Autogenerated update (2018-01-18)
Browse files Browse the repository at this point in the history
Update:
- analytics_v3
- androidmanagement_v1
- cloudbilling_v1
- cloudtasks_v2beta2
- dialogflow_v2beta1
- genomics_v1
- genomics_v1alpha2
- logging_v2
- ml_v1
- people_v1
- script_v1
- serviceconsumermanagement_v1
- speech_v1
- speech_v1beta1
  • Loading branch information
googleapis-publisher committed Jan 18, 2018
1 parent 8504b3d commit f6ac53c
Show file tree
Hide file tree
Showing 42 changed files with 6,958 additions and 893 deletions.
28 changes: 28 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3922,6 +3922,32 @@
"/analytics:v3/AccountTicket/profile": profile
"/analytics:v3/AccountTicket/redirectUri": redirect_uri
"/analytics:v3/AccountTicket/webproperty": webproperty
"/analytics:v3/AccountTreeRequest": account_tree_request
"/analytics:v3/AccountTreeRequest/accountName": account_name
"/analytics:v3/AccountTreeRequest/accountSettings": account_settings
"/analytics:v3/AccountTreeRequest/accountSettings/admobReporting": admob_reporting
"/analytics:v3/AccountTreeRequest/accountSettings/sharingWithGoogleAnySales": sharing_with_google_any_sales
"/analytics:v3/AccountTreeRequest/accountSettings/sharingWithGoogleProducts": sharing_with_google_products
"/analytics:v3/AccountTreeRequest/accountSettings/sharingWithGoogleSales": sharing_with_google_sales
"/analytics:v3/AccountTreeRequest/accountSettings/sharingWithGoogleSupport": sharing_with_google_support
"/analytics:v3/AccountTreeRequest/accountSettings/sharingWithOthers": sharing_with_others
"/analytics:v3/AccountTreeRequest/kind": kind
"/analytics:v3/AccountTreeRequest/profileName": profile_name
"/analytics:v3/AccountTreeRequest/timezone": timezone
"/analytics:v3/AccountTreeRequest/webpropertyName": webproperty_name
"/analytics:v3/AccountTreeRequest/websiteUrl": website_url
"/analytics:v3/AccountTreeResponse": account_tree_response
"/analytics:v3/AccountTreeResponse/account": account
"/analytics:v3/AccountTreeResponse/accountSettings": account_settings
"/analytics:v3/AccountTreeResponse/accountSettings/admobReporting": admob_reporting
"/analytics:v3/AccountTreeResponse/accountSettings/sharingWithGoogleAnySales": sharing_with_google_any_sales
"/analytics:v3/AccountTreeResponse/accountSettings/sharingWithGoogleProducts": sharing_with_google_products
"/analytics:v3/AccountTreeResponse/accountSettings/sharingWithGoogleSales": sharing_with_google_sales
"/analytics:v3/AccountTreeResponse/accountSettings/sharingWithGoogleSupport": sharing_with_google_support
"/analytics:v3/AccountTreeResponse/accountSettings/sharingWithOthers": sharing_with_others
"/analytics:v3/AccountTreeResponse/kind": kind
"/analytics:v3/AccountTreeResponse/profile": profile
"/analytics:v3/AccountTreeResponse/webproperty": webproperty
"/analytics:v3/Accounts": accounts
"/analytics:v3/Accounts/items": items
"/analytics:v3/Accounts/items/item": item
Expand Down Expand Up @@ -4995,6 +5021,7 @@
"/analytics:v3/analytics.metadata.columns.list": list_metadata_columns
"/analytics:v3/analytics.metadata.columns.list/reportType": report_type
"/analytics:v3/analytics.provisioning.createAccountTicket": create_account_ticket
"/analytics:v3/analytics.provisioning.createAccountTree": create_provisioning_account_tree
"/analytics:v3/fields": fields
"/analytics:v3/key": key
"/analytics:v3/quotaUser": quota_user
Expand Down Expand Up @@ -52047,6 +52074,7 @@
"/logging:v2/SourceReference/repository": repository
"/logging:v2/SourceReference/revisionId": revision_id
"/logging:v2/WriteLogEntriesRequest": write_log_entries_request
"/logging:v2/WriteLogEntriesRequest/dryRun": dry_run
"/logging:v2/WriteLogEntriesRequest/entries": entries
"/logging:v2/WriteLogEntriesRequest/entries/entry": entry
"/logging:v2/WriteLogEntriesRequest/labels": labels
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/analytics_v3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/analytics/
module AnalyticsV3
VERSION = 'V3'
REVISION = '20170807'
REVISION = '20171211'

# View and manage your Google Analytics data
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
Expand Down
212 changes: 212 additions & 0 deletions generated/google/apis/analytics_v3/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,218 @@ def update!(**args)
end
end

# JSON template for an Analytics account tree requests. The account tree request
# is used in the provisioning api to create an account, property, and view (
# profile). It contains the basic information required to make these fields.
class AccountTreeRequest
include Google::Apis::Core::Hashable

#
# Corresponds to the JSON property `accountName`
# @return [String]
attr_accessor :account_name

#
# Corresponds to the JSON property `accountSettings`
# @return [Google::Apis::AnalyticsV3::AccountTreeRequest::AccountSettings]
attr_accessor :account_settings

# Resource type for account ticket.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind

#
# Corresponds to the JSON property `profileName`
# @return [String]
attr_accessor :profile_name

#
# Corresponds to the JSON property `timezone`
# @return [String]
attr_accessor :timezone

#
# Corresponds to the JSON property `webpropertyName`
# @return [String]
attr_accessor :webproperty_name

#
# Corresponds to the JSON property `websiteUrl`
# @return [String]
attr_accessor :website_url

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

# Update properties of this object
def update!(**args)
@account_name = args[:account_name] if args.key?(:account_name)
@account_settings = args[:account_settings] if args.key?(:account_settings)
@kind = args[:kind] if args.key?(:kind)
@profile_name = args[:profile_name] if args.key?(:profile_name)
@timezone = args[:timezone] if args.key?(:timezone)
@webproperty_name = args[:webproperty_name] if args.key?(:webproperty_name)
@website_url = args[:website_url] if args.key?(:website_url)
end

#
class AccountSettings
include Google::Apis::Core::Hashable

#
# Corresponds to the JSON property `admobReporting`
# @return [Boolean]
attr_accessor :admob_reporting
alias_method :admob_reporting?, :admob_reporting

#
# Corresponds to the JSON property `sharingWithGoogleAnySales`
# @return [Boolean]
attr_accessor :sharing_with_google_any_sales
alias_method :sharing_with_google_any_sales?, :sharing_with_google_any_sales

#
# Corresponds to the JSON property `sharingWithGoogleProducts`
# @return [Boolean]
attr_accessor :sharing_with_google_products
alias_method :sharing_with_google_products?, :sharing_with_google_products

#
# Corresponds to the JSON property `sharingWithGoogleSales`
# @return [Boolean]
attr_accessor :sharing_with_google_sales
alias_method :sharing_with_google_sales?, :sharing_with_google_sales

#
# Corresponds to the JSON property `sharingWithGoogleSupport`
# @return [Boolean]
attr_accessor :sharing_with_google_support
alias_method :sharing_with_google_support?, :sharing_with_google_support

#
# Corresponds to the JSON property `sharingWithOthers`
# @return [Boolean]
attr_accessor :sharing_with_others
alias_method :sharing_with_others?, :sharing_with_others

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

# Update properties of this object
def update!(**args)
@admob_reporting = args[:admob_reporting] if args.key?(:admob_reporting)
@sharing_with_google_any_sales = args[:sharing_with_google_any_sales] if args.key?(:sharing_with_google_any_sales)
@sharing_with_google_products = args[:sharing_with_google_products] if args.key?(:sharing_with_google_products)
@sharing_with_google_sales = args[:sharing_with_google_sales] if args.key?(:sharing_with_google_sales)
@sharing_with_google_support = args[:sharing_with_google_support] if args.key?(:sharing_with_google_support)
@sharing_with_others = args[:sharing_with_others] if args.key?(:sharing_with_others)
end
end
end

# JSON template for an Analytics account tree response. The account tree
# response is used in the provisioning api to return the result of creating an
# account, property, and view (profile).
class AccountTreeResponse
include Google::Apis::Core::Hashable

# JSON template for Analytics account entry.
# Corresponds to the JSON property `account`
# @return [Google::Apis::AnalyticsV3::Account]
attr_accessor :account

#
# Corresponds to the JSON property `accountSettings`
# @return [Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings]
attr_accessor :account_settings

# Resource type for account ticket.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind

# JSON template for an Analytics view (profile).
# Corresponds to the JSON property `profile`
# @return [Google::Apis::AnalyticsV3::Profile]
attr_accessor :profile

# JSON template for an Analytics web property.
# Corresponds to the JSON property `webproperty`
# @return [Google::Apis::AnalyticsV3::Webproperty]
attr_accessor :webproperty

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

# Update properties of this object
def update!(**args)
@account = args[:account] if args.key?(:account)
@account_settings = args[:account_settings] if args.key?(:account_settings)
@kind = args[:kind] if args.key?(:kind)
@profile = args[:profile] if args.key?(:profile)
@webproperty = args[:webproperty] if args.key?(:webproperty)
end

#
class AccountSettings
include Google::Apis::Core::Hashable

#
# Corresponds to the JSON property `admobReporting`
# @return [Boolean]
attr_accessor :admob_reporting
alias_method :admob_reporting?, :admob_reporting

#
# Corresponds to the JSON property `sharingWithGoogleAnySales`
# @return [Boolean]
attr_accessor :sharing_with_google_any_sales
alias_method :sharing_with_google_any_sales?, :sharing_with_google_any_sales

#
# Corresponds to the JSON property `sharingWithGoogleProducts`
# @return [Boolean]
attr_accessor :sharing_with_google_products
alias_method :sharing_with_google_products?, :sharing_with_google_products

#
# Corresponds to the JSON property `sharingWithGoogleSales`
# @return [Boolean]
attr_accessor :sharing_with_google_sales
alias_method :sharing_with_google_sales?, :sharing_with_google_sales

#
# Corresponds to the JSON property `sharingWithGoogleSupport`
# @return [Boolean]
attr_accessor :sharing_with_google_support
alias_method :sharing_with_google_support?, :sharing_with_google_support

#
# Corresponds to the JSON property `sharingWithOthers`
# @return [Boolean]
attr_accessor :sharing_with_others
alias_method :sharing_with_others?, :sharing_with_others

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

# Update properties of this object
def update!(**args)
@admob_reporting = args[:admob_reporting] if args.key?(:admob_reporting)
@sharing_with_google_any_sales = args[:sharing_with_google_any_sales] if args.key?(:sharing_with_google_any_sales)
@sharing_with_google_products = args[:sharing_with_google_products] if args.key?(:sharing_with_google_products)
@sharing_with_google_sales = args[:sharing_with_google_sales] if args.key?(:sharing_with_google_sales)
@sharing_with_google_support = args[:sharing_with_google_support] if args.key?(:sharing_with_google_support)
@sharing_with_others = args[:sharing_with_others] if args.key?(:sharing_with_others)
end
end
end

# An account collection provides a list of Analytics accounts to which a user
# has access. The account collection is the entry point to all management
# information. Each resource in the collection corresponds to a single Analytics
Expand Down
77 changes: 77 additions & 0 deletions generated/google/apis/analytics_v3/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class AccountTreeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end

class AccountSettings
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

include Google::Apis::Core::JsonObjectSupport
end

class AccountTreeResponse
class Representation < Google::Apis::Core::JsonRepresentation; end

class AccountSettings
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

include Google::Apis::Core::JsonObjectSupport
end

class Accounts
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -714,6 +738,59 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class AccountTreeRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :account_name, as: 'accountName'
property :account_settings, as: 'accountSettings', class: Google::Apis::AnalyticsV3::AccountTreeRequest::AccountSettings, decorator: Google::Apis::AnalyticsV3::AccountTreeRequest::AccountSettings::Representation

property :kind, as: 'kind'
property :profile_name, as: 'profileName'
property :timezone, as: 'timezone'
property :webproperty_name, as: 'webpropertyName'
property :website_url, as: 'websiteUrl'
end

class AccountSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :admob_reporting, as: 'admobReporting'
property :sharing_with_google_any_sales, as: 'sharingWithGoogleAnySales'
property :sharing_with_google_products, as: 'sharingWithGoogleProducts'
property :sharing_with_google_sales, as: 'sharingWithGoogleSales'
property :sharing_with_google_support, as: 'sharingWithGoogleSupport'
property :sharing_with_others, as: 'sharingWithOthers'
end
end
end

class AccountTreeResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :account, as: 'account', class: Google::Apis::AnalyticsV3::Account, decorator: Google::Apis::AnalyticsV3::Account::Representation

property :account_settings, as: 'accountSettings', class: Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings, decorator: Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings::Representation

property :kind, as: 'kind'
property :profile, as: 'profile', class: Google::Apis::AnalyticsV3::Profile, decorator: Google::Apis::AnalyticsV3::Profile::Representation

property :webproperty, as: 'webproperty', class: Google::Apis::AnalyticsV3::Webproperty, decorator: Google::Apis::AnalyticsV3::Webproperty::Representation

end

class AccountSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :admob_reporting, as: 'admobReporting'
property :sharing_with_google_any_sales, as: 'sharingWithGoogleAnySales'
property :sharing_with_google_products, as: 'sharingWithGoogleProducts'
property :sharing_with_google_sales, as: 'sharingWithGoogleSales'
property :sharing_with_google_support, as: 'sharingWithGoogleSupport'
property :sharing_with_others, as: 'sharingWithOthers'
end
end
end

class Accounts
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down
Loading

0 comments on commit f6ac53c

Please sign in to comment.