Skip to content

Commit

Permalink
Autogenerated update (2018-11-13)
Browse files Browse the repository at this point in the history
Delete:
- cloudiot_v1beta1

Update:
- androidenterprise_v1
- people_v1
- script_v1
- slides_v1
- sourcerepo_v1
  • Loading branch information
googleapis-publisher committed Nov 13, 2018
1 parent 2b642c5 commit d246ded
Show file tree
Hide file tree
Showing 16 changed files with 472 additions and 2,004 deletions.
11 changes: 11 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6519,11 +6519,17 @@
"/androidenterprise:v1/VariableSet/placeholder": placeholder
"/androidenterprise:v1/VariableSet/userValue": user_value
"/androidenterprise:v1/WebApp": web_app
"/androidenterprise:v1/WebApp/displayMode": display_mode
"/androidenterprise:v1/WebApp/icons": icons
"/androidenterprise:v1/WebApp/icons/icon": icon
"/androidenterprise:v1/WebApp/isPublished": is_published
"/androidenterprise:v1/WebApp/name": name
"/androidenterprise:v1/WebApp/startUrl": start_url
"/androidenterprise:v1/WebApp/title": title
"/androidenterprise:v1/WebApp/versionCode": version_code
"/androidenterprise:v1/WebApp/webAppId": web_app_id
"/androidenterprise:v1/WebAppIcon": web_app_icon
"/androidenterprise:v1/WebAppIcon/imageData": image_data
"/androidenterprise:v1/WebAppImage": web_app_image
"/androidenterprise:v1/WebAppImage/imageData": image_data
"/androidenterprise:v1/WebAppImage/purposes": purposes
Expand Down Expand Up @@ -83745,6 +83751,7 @@
"/slides:v1/Request/updateLineProperties": update_line_properties
"/slides:v1/Request/updatePageElementAltText": update_page_element_alt_text
"/slides:v1/Request/updatePageElementTransform": update_page_element_transform
"/slides:v1/Request/updatePageElementsZOrder": update_page_elements_z_order
"/slides:v1/Request/updatePageProperties": update_page_properties
"/slides:v1/Request/updateParagraphStyle": update_paragraph_style
"/slides:v1/Request/updateShapeProperties": update_shape_properties
Expand Down Expand Up @@ -83925,6 +83932,10 @@
"/slides:v1/UpdatePageElementTransformRequest/applyMode": apply_mode
"/slides:v1/UpdatePageElementTransformRequest/objectId": object_id_prop
"/slides:v1/UpdatePageElementTransformRequest/transform": transform
"/slides:v1/UpdatePageElementsZOrderRequest": update_page_elements_z_order_request
"/slides:v1/UpdatePageElementsZOrderRequest/operation": operation
"/slides:v1/UpdatePageElementsZOrderRequest/pageElementObjectIds": page_element_object_ids
"/slides:v1/UpdatePageElementsZOrderRequest/pageElementObjectIds/page_element_object_id": page_element_object_id
"/slides:v1/UpdatePagePropertiesRequest": update_page_properties_request
"/slides:v1/UpdatePagePropertiesRequest/fields": fields
"/slides:v1/UpdatePagePropertiesRequest/objectId": object_id_prop
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/androidenterprise_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/android/work/play/emm-api
module AndroidenterpriseV1
VERSION = 'V1'
REVISION = '20181105'
REVISION = '20181112'

# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
Expand Down
110 changes: 110 additions & 0 deletions generated/google/apis/androidenterprise_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2863,6 +2863,116 @@ def update!(**args)
@user_value = args[:user_value] if args.key?(:user_value)
end
end

# WebApp resource info.
class WebApp
include Google::Apis::Core::Hashable

# The display mode of the web app.
# Corresponds to the JSON property `displayMode`
# @return [String]
attr_accessor :display_mode

# A list of icons representing this website. Must have at least one element.
# Corresponds to the JSON property `icons`
# @return [Array<Google::Apis::AndroidenterpriseV1::WebAppIcon>]
attr_accessor :icons

# A flag whether the app has been published to the Play store yet.
# Corresponds to the JSON property `isPublished`
# @return [Boolean]
attr_accessor :is_published
alias_method :is_published?, :is_published

# The start URL, i.e. the URL that should load when the user opens the
# application.
# Corresponds to the JSON property `startUrl`
# @return [String]
attr_accessor :start_url

# The title of the web application as displayed to the user (e.g., amongst a
# list of other applications, or as a label for an icon).
# Corresponds to the JSON property `title`
# @return [String]
attr_accessor :title

# The current version of the app.
# Note that the version can automatically increase during the lifetime of the
# web app, while Google does internal housekeeping to keep the web app up-to-
# date.
# Corresponds to the JSON property `versionCode`
# @return [Fixnum]
attr_accessor :version_code

# The ID of the application.
# Corresponds to the JSON property `webAppId`
# @return [String]
attr_accessor :web_app_id

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

# Update properties of this object
def update!(**args)
@display_mode = args[:display_mode] if args.key?(:display_mode)
@icons = args[:icons] if args.key?(:icons)
@is_published = args[:is_published] if args.key?(:is_published)
@start_url = args[:start_url] if args.key?(:start_url)
@title = args[:title] if args.key?(:title)
@version_code = args[:version_code] if args.key?(:version_code)
@web_app_id = args[:web_app_id] if args.key?(:web_app_id)
end
end

# Icon for a web app.
class WebAppIcon
include Google::Apis::Core::Hashable

# The actual bytes of the image in a base64url encoded string (c.f. RFC4648,
# section 5 "Base 64 Encoding with URL and Filename Safe Alphabet").
# - The image type can be png or jpg.
# - The image should ideally be square.
# - The image should ideally have a size of 512x512.
# Corresponds to the JSON property `imageData`
# @return [String]
attr_accessor :image_data

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

# Update properties of this object
def update!(**args)
@image_data = args[:image_data] if args.key?(:image_data)
end
end

# The web app details for an enterprise.
class WebAppsListResponse
include Google::Apis::Core::Hashable

# Identifies what kind of resource this is. Value: the fixed string "
# androidenterprise#webAppsListResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind

# The manifest describing a web app.
# Corresponds to the JSON property `webApp`
# @return [Array<Google::Apis::AndroidenterpriseV1::WebApp>]
attr_accessor :web_app

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

# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@web_app = args[:web_app] if args.key?(:web_app)
end
end
end
end
end
48 changes: 48 additions & 0 deletions generated/google/apis/androidenterprise_v1/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

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

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

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

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

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

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

class Administrator
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -1222,6 +1240,36 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :user_value, as: 'userValue'
end
end

class WebApp
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :display_mode, as: 'displayMode'
collection :icons, as: 'icons', class: Google::Apis::AndroidenterpriseV1::WebAppIcon, decorator: Google::Apis::AndroidenterpriseV1::WebAppIcon::Representation

property :is_published, as: 'isPublished'
property :start_url, as: 'startUrl'
property :title, as: 'title'
property :version_code, :numeric_string => true, as: 'versionCode'
property :web_app_id, as: 'webAppId'
end
end

class WebAppIcon
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :image_data, as: 'imageData'
end
end

class WebAppsListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
collection :web_app, as: 'webApp', class: Google::Apis::AndroidenterpriseV1::WebApp, decorator: Google::Apis::AndroidenterpriseV1::WebApp::Representation

end
end
end
end
end
Loading

0 comments on commit d246ded

Please sign in to comment.