Updates APIs & bump version

This commit is contained in:
Steve Bazyl 2016-01-20 12:41:43 -08:00
parent 59c088e100
commit 26efeb5057
35 changed files with 478 additions and 384 deletions

View File

@ -1,3 +1,7 @@
# 0.9.1
* Add missing require for 'tempfile'
* Update generated APIs
# 0.9
* Force the use of alt=json for the groups settings API
* Small tweaks to some calendar API and licensing API method names

View File

@ -198,7 +198,7 @@
"/androidpublisher:v2/ApksListResponse": list_apks_response
"/androidpublisher:v2/EntitlementsListResponse": list_entitlements_response
"/androidpublisher:v2/ExpansionFilesUploadResponse": upload_expansion_files_response
"/androidpublisher:v2/ImagesDeleteAllResponse": images_delete_all_response
"/androidpublisher:v2/ImagesDeleteAllResponse": delete_all_images_response
"/androidpublisher:v2/ImagesListResponse": list_images_response
"/androidpublisher:v2/ImagesUploadResponse": upload_images_response
"/androidpublisher:v2/InappproductsBatchRequest": in_app_products_batch_request

View File

@ -198,7 +198,7 @@
"/androidpublisher:v2/ApksListResponse": list_apks_response
"/androidpublisher:v2/EntitlementsListResponse": list_entitlements_response
"/androidpublisher:v2/ExpansionFilesUploadResponse": upload_expansion_files_response
"/androidpublisher:v2/ImagesDeleteAllResponse": images_delete_all_response
"/androidpublisher:v2/ImagesDeleteAllResponse": delete_all_images_response
"/androidpublisher:v2/ImagesListResponse": list_images_response
"/androidpublisher:v2/ImagesUploadResponse": upload_images_response
"/androidpublisher:v2/InappproductsBatchRequest": in_app_products_batch_request
@ -2215,6 +2215,7 @@
"/compute:beta/InstanceGroup/network": network
"/compute:beta/InstanceGroup/selfLink": self_link
"/compute:beta/InstanceGroup/size": size
"/compute:beta/InstanceGroup/subnetwork": subnetwork
"/compute:beta/InstanceGroup/zone": zone
"/compute:beta/InstanceGroupAggregatedList": instance_group_aggregated_list
"/compute:beta/InstanceGroupAggregatedList/id": id
@ -7549,6 +7550,7 @@
"/books:v1/books.myconfig.requestAccess/volumeId": volume_id
"/books:v1/books.myconfig.syncVolumeLicenses/cpksver": cpksver
"/books:v1/books.myconfig.syncVolumeLicenses/features": features
"/books:v1/books.myconfig.syncVolumeLicenses/includeNonComicsSeries": include_non_comics_series
"/books:v1/books.myconfig.syncVolumeLicenses/locale": locale
"/books:v1/books.myconfig.syncVolumeLicenses/nonce": nonce
"/books:v1/books.myconfig.syncVolumeLicenses/showPreorders": show_preorders
@ -7612,6 +7614,7 @@
"/books:v1/books.notification.get/locale": locale
"/books:v1/books.notification.get/notification_id": notification_id
"/books:v1/books.notification.get/source": source
"/books:v1/books.notification.get/targetIds": target_ids
"/books:v1/books.onboarding.listCategories/locale": locale
"/books:v1/books.onboarding.listCategoryVolumes/categoryId": category_id
"/books:v1/books.onboarding.listCategoryVolumes/locale": locale
@ -7622,6 +7625,7 @@
"/books:v1/books.personalizedstream.get/locale": locale
"/books:v1/books.personalizedstream.get/maxAllowedMaturityRating": max_allowed_maturity_rating
"/books:v1/books.personalizedstream.get/source": source
"/books:v1/books.personalizedstream.get/targetIds": target_ids
"/books:v1/books.promooffer.accept/androidId": android_id
"/books:v1/books.promooffer.accept/device": device
"/books:v1/books.promooffer.accept/manufacturer": manufacturer
@ -7651,6 +7655,7 @@
"/books:v1/books.series.membership.get/series_id": series_id
"/books:v1/books.volumes.get": get_volume
"/books:v1/books.volumes.get/country": country
"/books:v1/books.volumes.get/includeNonComicsSeries": include_non_comics_series
"/books:v1/books.volumes.get/partner": partner
"/books:v1/books.volumes.get/projection": projection
"/books:v1/books.volumes.get/source": source
@ -7940,9 +7945,11 @@
"/books:v1/Metadata/kind": kind
"/books:v1/Notification": notification
"/books:v1/Notification/body": body
"/books:v1/Notification/dont_show_notification": dont_show_notification
"/books:v1/Notification/iconUrl": icon_url
"/books:v1/Notification/kind": kind
"/books:v1/Notification/notification_type": notification_type
"/books:v1/Notification/pcampaign_id": pcampaign_id
"/books:v1/Notification/show_notification_settings_action": show_notification_settings_action
"/books:v1/Notification/targetUrl": target_url
"/books:v1/Notification/title": title
@ -7995,6 +8002,7 @@
"/books:v1/Series/series/series/bannerImageUrl": banner_image_url
"/books:v1/Series/series/series/imageUrl": image_url
"/books:v1/Series/series/series/seriesId": series_id
"/books:v1/Series/series/series/seriesType": series_type
"/books:v1/Series/series/series/title": title
"/books:v1/Seriesmembership/kind": kind
"/books:v1/Seriesmembership/member": member
@ -8067,6 +8075,7 @@
"/books:v1/Volume/searchInfo/textSnippet": text_snippet
"/books:v1/Volume/selfLink": self_link
"/books:v1/Volume/userInfo": user_info
"/books:v1/Volume/userInfo/acquiredTime": acquired_time
"/books:v1/Volume/userInfo/acquisitionType": acquisition_type
"/books:v1/Volume/userInfo/copy": copy
"/books:v1/Volume/userInfo/copy/allowedCharacterCount": allowed_character_count
@ -8074,6 +8083,9 @@
"/books:v1/Volume/userInfo/copy/remainingCharacterCount": remaining_character_count
"/books:v1/Volume/userInfo/copy/updated": updated
"/books:v1/Volume/userInfo/entitlementType": entitlement_type
"/books:v1/Volume/userInfo/isFamilySharedFromUser": is_family_shared_from_user
"/books:v1/Volume/userInfo/isFamilySharedToUser": is_family_shared_to_user
"/books:v1/Volume/userInfo/isFamilySharingAllowed": is_family_sharing_allowed
"/books:v1/Volume/userInfo/isInMyBooks": is_in_my_books
"/books:v1/Volume/userInfo/isPreordered": is_preordered
"/books:v1/Volume/userInfo/isPurchased": is_purchased
@ -25189,6 +25201,7 @@
"/youtube:v3/ContentRating/djctqRating": djctq_rating
"/youtube:v3/ContentRating/djctqRatingReasons": djctq_rating_reasons
"/youtube:v3/ContentRating/djctqRatingReasons/djctq_rating_reason": djctq_rating_reason
"/youtube:v3/ContentRating/ecbmctRating": ecbmct_rating
"/youtube:v3/ContentRating/eefilmRating": eefilm_rating
"/youtube:v3/ContentRating/egfilmRating": egfilm_rating
"/youtube:v3/ContentRating/eirinRating": eirin_rating
@ -25729,7 +25742,6 @@
"/youtube:v3/Video": video
"/youtube:v3/Video/ageGating": age_gating
"/youtube:v3/Video/contentDetails": content_details
"/youtube:v3/Video/conversionPings": conversion_pings
"/youtube:v3/Video/etag": etag
"/youtube:v3/Video/fileDetails": file_details
"/youtube:v3/Video/id": id
@ -25808,12 +25820,6 @@
"/youtube:v3/VideoContentDetailsRegionRestriction/allowed/allowed": allowed
"/youtube:v3/VideoContentDetailsRegionRestriction/blocked": blocked
"/youtube:v3/VideoContentDetailsRegionRestriction/blocked/blocked": blocked
"/youtube:v3/VideoConversionPing": video_conversion_ping
"/youtube:v3/VideoConversionPing/context": context
"/youtube:v3/VideoConversionPing/conversionUrl": conversion_url
"/youtube:v3/VideoConversionPings": video_conversion_pings
"/youtube:v3/VideoConversionPings/pings": pings
"/youtube:v3/VideoConversionPings/pings/ping": ping
"/youtube:v3/VideoFileDetails": video_file_details
"/youtube:v3/VideoFileDetails/audioStreams": audio_streams
"/youtube:v3/VideoFileDetails/audioStreams/audio_stream": audio_stream

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/ad-exchange/buyer-rest
module AdexchangebuyerV1_3
VERSION = 'V1_3'
REVISION = '20151209'
REVISION = '20160118'
# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -534,7 +534,7 @@ module Google
end
#
class ImagesDeleteAllResponse
class DeleteAllImagesResponse
include Google::Apis::Core::Hashable
#

View File

@ -86,7 +86,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class ImagesDeleteAllResponse
class DeleteAllImagesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
end
@ -359,7 +359,7 @@ module Google
end
end
class ImagesDeleteAllResponse
class DeleteAllImagesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :deleted, as: 'deleted', class: Google::Apis::AndroidpublisherV2::Image, decorator: Google::Apis::AndroidpublisherV2::Image::Representation

View File

@ -1054,18 +1054,18 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AndroidpublisherV2::ImagesDeleteAllResponse] parsed result object
# @yieldparam result [Google::Apis::AndroidpublisherV2::DeleteAllImagesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroidpublisherV2::ImagesDeleteAllResponse]
# @return [Google::Apis::AndroidpublisherV2::DeleteAllImagesResponse]
#
# @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 delete_all_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
command.response_representation = Google::Apis::AndroidpublisherV2::ImagesDeleteAllResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV2::ImagesDeleteAllResponse
command.response_representation = Google::Apis::AndroidpublisherV2::DeleteAllImagesResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV2::DeleteAllImagesResponse
command.params['packageName'] = package_name unless package_name.nil?
command.params['editId'] = edit_id unless edit_id.nil?
command.params['language'] = language unless language.nil?

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services/web/api/states
module AppstateV1
VERSION = 'V1'
REVISION = '20160107'
REVISION = '20160111'
# View and manage your data for this application
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigquery/
module BigqueryV2
VERSION = 'V2'
REVISION = '20160104'
REVISION = '20160119'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/books/docs/v1/getting_started
module BooksV1
VERSION = 'V1'
REVISION = '20151106'
REVISION = '20151218'
# Manage your books
AUTH_BOOKS = 'https://www.googleapis.com/auth/books'

View File

@ -1995,6 +1995,12 @@ module Google
# @return [String]
attr_accessor :body
#
# Corresponds to the JSON property `dont_show_notification`
# @return [Boolean]
attr_accessor :dont_show_notification
alias_method :dont_show_notification?, :dont_show_notification
#
# Corresponds to the JSON property `iconUrl`
# @return [String]
@ -2010,6 +2016,11 @@ module Google
# @return [String]
attr_accessor :notification_type
#
# Corresponds to the JSON property `pcampaign_id`
# @return [String]
attr_accessor :pcampaign_id
#
# Corresponds to the JSON property `show_notification_settings_action`
# @return [Boolean]
@ -2033,9 +2044,11 @@ module Google
# Update properties of this object
def update!(**args)
@body = args[:body] unless args[:body].nil?
@dont_show_notification = args[:dont_show_notification] unless args[:dont_show_notification].nil?
@icon_url = args[:icon_url] unless args[:icon_url].nil?
@kind = args[:kind] unless args[:kind].nil?
@notification_type = args[:notification_type] unless args[:notification_type].nil?
@pcampaign_id = args[:pcampaign_id] unless args[:pcampaign_id].nil?
@show_notification_settings_action = args[:show_notification_settings_action] unless args[:show_notification_settings_action].nil?
@target_url = args[:target_url] unless args[:target_url].nil?
@title = args[:title] unless args[:title].nil?
@ -2410,6 +2423,11 @@ module Google
# @return [String]
attr_accessor :series_id
#
# Corresponds to the JSON property `seriesType`
# @return [String]
attr_accessor :series_type
#
# Corresponds to the JSON property `title`
# @return [String]
@ -2424,6 +2442,7 @@ module Google
@banner_image_url = args[:banner_image_url] unless args[:banner_image_url].nil?
@image_url = args[:image_url] unless args[:image_url].nil?
@series_id = args[:series_id] unless args[:series_id].nil?
@series_type = args[:series_type] unless args[:series_type].nil?
@title = args[:title] unless args[:title].nil?
end
end
@ -3144,6 +3163,13 @@ module Google
class UserInfo
include Google::Apis::Core::Hashable
# Timestamp when this volume was acquired by the user. (RFC 3339 UTC date-time
# format) Acquiring includes purchase, user upload, receiving family sharing,
# etc.
# Corresponds to the JSON property `acquiredTime`
# @return [DateTime]
attr_accessor :acquired_time
# How this volume was acquired.
# Corresponds to the JSON property `acquisitionType`
# @return [Fixnum]
@ -3159,6 +3185,26 @@ module Google
# @return [Fixnum]
attr_accessor :entitlement_type
# Whether or not the user shared this volume with the family.
# Corresponds to the JSON property `isFamilySharedFromUser`
# @return [Boolean]
attr_accessor :is_family_shared_from_user
alias_method :is_family_shared_from_user?, :is_family_shared_from_user
# Whether or not the user received this volume through family sharing.
# Corresponds to the JSON property `isFamilySharedToUser`
# @return [Boolean]
attr_accessor :is_family_shared_to_user
alias_method :is_family_shared_to_user?, :is_family_shared_to_user
# Whether or not this volume can be shared with the family by the user. This
# includes sharing eligibility of both the volume and the user. If the value is
# true, the user can initiate a family sharing action.
# Corresponds to the JSON property `isFamilySharingAllowed`
# @return [Boolean]
attr_accessor :is_family_sharing_allowed
alias_method :is_family_sharing_allowed?, :is_family_sharing_allowed
# Whether or not this volume is currently in "my books."
# Corresponds to the JSON property `isInMyBooks`
# @return [Boolean]
@ -3224,9 +3270,13 @@ module Google
# Update properties of this object
def update!(**args)
@acquired_time = args[:acquired_time] unless args[:acquired_time].nil?
@acquisition_type = args[:acquisition_type] unless args[:acquisition_type].nil?
@copy = args[:copy] unless args[:copy].nil?
@entitlement_type = args[:entitlement_type] unless args[:entitlement_type].nil?
@is_family_shared_from_user = args[:is_family_shared_from_user] unless args[:is_family_shared_from_user].nil?
@is_family_shared_to_user = args[:is_family_shared_to_user] unless args[:is_family_shared_to_user].nil?
@is_family_sharing_allowed = args[:is_family_sharing_allowed] unless args[:is_family_sharing_allowed].nil?
@is_in_my_books = args[:is_in_my_books] unless args[:is_in_my_books].nil?
@is_preordered = args[:is_preordered] unless args[:is_preordered].nil?
@is_purchased = args[:is_purchased] unless args[:is_purchased].nil?

View File

@ -992,9 +992,11 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :body, as: 'body'
property :dont_show_notification, as: 'dont_show_notification'
property :icon_url, as: 'iconUrl'
property :kind, as: 'kind'
property :notification_type, as: 'notification_type'
property :pcampaign_id, as: 'pcampaign_id'
property :show_notification_settings_action, as: 'show_notification_settings_action'
property :target_url, as: 'targetUrl'
property :title, as: 'title'
@ -1106,6 +1108,7 @@ module Google
property :banner_image_url, as: 'bannerImageUrl'
property :image_url, as: 'imageUrl'
property :series_id, as: 'seriesId'
property :series_type, as: 'seriesType'
property :title, as: 'title'
end
end
@ -1323,10 +1326,15 @@ module Google
class UserInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :acquired_time, as: 'acquiredTime', type: DateTime
property :acquisition_type, as: 'acquisitionType'
property :copy, as: 'copy', class: Google::Apis::BooksV1::Volume::UserInfo::Copy, decorator: Google::Apis::BooksV1::Volume::UserInfo::Copy::Representation
property :entitlement_type, as: 'entitlementType'
property :is_family_shared_from_user, as: 'isFamilySharedFromUser'
property :is_family_shared_to_user, as: 'isFamilySharedToUser'
property :is_family_sharing_allowed, as: 'isFamilySharingAllowed'
property :is_in_my_books, as: 'isInMyBooks'
property :is_preordered, as: 'isPreordered'
property :is_purchased, as: 'isPurchased'

View File

@ -824,6 +824,8 @@ module Google
# The device/version ID from which to release the restriction.
# @param [Array<String>, String] features
# List of features supported by the client, i.e., 'RENTALS'
# @param [Boolean] include_non_comics_series
# Set to true to include non-comics series. Defaults to false.
# @param [String] locale
# ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
# @param [Boolean] show_preorders
@ -851,12 +853,13 @@ module Google
# @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 sync_volume_licenses(source, nonce, cpksver, features: nil, locale: nil, show_preorders: nil, volume_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def sync_volume_licenses(source, nonce, cpksver, features: nil, include_non_comics_series: nil, locale: nil, show_preorders: nil, volume_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'myconfig/syncVolumeLicenses', options)
command.response_representation = Google::Apis::BooksV1::Volumes::Representation
command.response_class = Google::Apis::BooksV1::Volumes
command.query['cpksver'] = cpksver unless cpksver.nil?
command.query['features'] = features unless features.nil?
command.query['includeNonComicsSeries'] = include_non_comics_series unless include_non_comics_series.nil?
command.query['locale'] = locale unless locale.nil?
command.query['nonce'] = nonce unless nonce.nil?
command.query['showPreorders'] = show_preorders unless show_preorders.nil?
@ -1523,6 +1526,8 @@ module Google
# generating notification title and body.
# @param [String] source
# String to identify the originator of this request.
# @param [Array<String>, String] target_ids
# List of target ids used for experiments or user segments
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1544,13 +1549,14 @@ module Google
# @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_notification(notification_id, locale: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_notification(notification_id, locale: nil, source: nil, target_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'notification/get', options)
command.response_representation = Google::Apis::BooksV1::Notification::Representation
command.response_class = Google::Apis::BooksV1::Notification
command.query['locale'] = locale unless locale.nil?
command.query['notification_id'] = notification_id unless notification_id.nil?
command.query['source'] = source unless source.nil?
command.query['targetIds'] = target_ids unless target_ids.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
@ -1649,6 +1655,8 @@ module Google
# higher maturity rating are filtered out.
# @param [String] source
# String to identify the originator of this request.
# @param [Array<String>, String] target_ids
# List of target ids used for experiments or user segments
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1670,13 +1678,14 @@ module Google
# @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_personalizedstream(locale: nil, max_allowed_maturity_rating: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_personalizedstream(locale: nil, max_allowed_maturity_rating: nil, source: nil, target_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'personalizedstream/get', options)
command.response_representation = Google::Apis::BooksV1::Discoveryclusters::Representation
command.response_class = Google::Apis::BooksV1::Discoveryclusters
command.query['locale'] = locale unless locale.nil?
command.query['maxAllowedMaturityRating'] = max_allowed_maturity_rating unless max_allowed_maturity_rating.nil?
command.query['source'] = source unless source.nil?
command.query['targetIds'] = target_ids unless target_ids.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
@ -1918,6 +1927,8 @@ module Google
# ID of volume to retrieve.
# @param [String] country
# ISO-3166-1 code to override the IP-based location.
# @param [Boolean] include_non_comics_series
# Set to true to include non-comics series. Defaults to false.
# @param [String] partner
# Brand results for partner ID.
# @param [String] projection
@ -1946,12 +1957,13 @@ module Google
# @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_volume(volume_id, country: nil, partner: nil, projection: nil, source: nil, user_library_consistent_read: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_volume(volume_id, country: nil, include_non_comics_series: nil, partner: nil, projection: nil, source: nil, user_library_consistent_read: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'volumes/{volumeId}', options)
command.response_representation = Google::Apis::BooksV1::Volume::Representation
command.response_class = Google::Apis::BooksV1::Volume
command.params['volumeId'] = volume_id unless volume_id.nil?
command.query['country'] = country unless country.nil?
command.query['includeNonComicsSeries'] = include_non_comics_series unless include_non_comics_series.nil?
command.query['partner'] = partner unless partner.nil?
command.query['projection'] = projection unless projection.nil?
command.query['source'] = source unless source.nil?

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/google-apps/calendar/firstapp
module CalendarV3
VERSION = 'V3'
REVISION = '20151206'
REVISION = '20160104'
# Manage your calendars
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeBeta
VERSION = 'Beta'
REVISION = '20160107'
REVISION = '20160112'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -955,15 +955,17 @@ module Google
# @return [String]
attr_accessor :group
# The max RPS of the group. Can be used with either balancing mode, but required
# if RATE mode. For RATE mode, either maxRate or maxRatePerInstance must be set.
# The max requests per second (RPS) of the group. Can be used with either
# balancing mode, but required if RATE mode. For RATE mode, either maxRate or
# maxRatePerInstance must be set.
# Corresponds to the JSON property `maxRate`
# @return [Fixnum]
attr_accessor :max_rate
# The max RPS that a single backed instance can handle. This is used to
# calculate the capacity of the group. Can be used in either balancing mode. For
# RATE mode, either maxRate or maxRatePerInstance must be set.
# The max requests per second (RPS) that a single backed instance can handle.
# This is used to calculate the capacity of the group. Can be used in either
# balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be
# set.
# Corresponds to the JSON property `maxRatePerInstance`
# @return [Float]
attr_accessor :max_rate_per_instance
@ -991,7 +993,7 @@ module Google
end
# A BackendService resource. This resource defines a group of backend virtual
# machines together with their serving capacity.
# machines and their serving capacity.
class BackendService
include Google::Apis::Core::Hashable
@ -1048,7 +1050,7 @@ module Google
# @return [String]
attr_accessor :name
# Deprecated in favor of port name. The TCP port to connect on the backend. The
# Deprecated in favor of portName. The TCP port to connect on the backend. The
# default value is 80.
# Corresponds to the JSON property `port`
# @return [Fixnum]
@ -1968,9 +1970,8 @@ module Google
# @return [String]
attr_accessor :name
# URL of the network resource for this firewall rule. This field is required for
# creating an instance but optional when creating a firewall rule. If not
# specified when creating a firewall rule, the default network is used:
# URL of the network resource for this firewall rule. If not specified when
# creating a firewall rule, the default network is used:
# global/networks/default
# If you choose to specify this property, you can specify the network as a full
# or partial URL. For example, the following are all valid URLs:
@ -2188,7 +2189,9 @@ module Google
# The URL of the target resource to receive the matched traffic. For regional
# forwarding rules, this target must live in the same region as the forwarding
# rule. For global forwarding rules, this target must be a global
# TargetHttpProxy or TargetHttpsProxy resource.
# TargetHttpProxy or TargetHttpsProxy resource. The forwarded traffic must be of
# a type appropriate to the target object. For example, TargetHttpProxy requires
# HTTP traffic, and TargetHttpsProxy requires HTTPS traffic.
# Corresponds to the JSON property `target`
# @return [String]
attr_accessor :target
@ -3035,8 +3038,8 @@ module Google
# @return [String]
attr_accessor :creation_timestamp
# An optional textual description of the resource; provided by the client when
# the resource is created.
# An optional description of this resource. Provide this property when you
# create the resource.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
@ -3047,8 +3050,8 @@ module Google
# @return [Array<Google::Apis::ComputeBeta::AttachedDisk>]
attr_accessor :disks
# [Output Only] Unique identifier for the resource. This identifier is defined
# by the server.
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
@ -3097,12 +3100,12 @@ module Google
# @return [Google::Apis::ComputeBeta::Metadata]
attr_accessor :metadata
# Name of the resource; provided by the client when the resource is created. The
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
# and all following characters must be a dash, lowercase letter, or digit,
# except the last character, which cannot be a dash.
# The name of the resource, provided by the client when initially creating the
# resource. The resource name must be 1-63 characters long, and comply with
# RFC1035. Specifically, the name must be 1-63 characters long and match the
# regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character
# must be a lowercase letter, and all following characters must be a dash,
# lowercase letter, or digit, except the last character, which cannot be a dash.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -3119,7 +3122,7 @@ module Google
# @return [Google::Apis::ComputeBeta::Scheduling]
attr_accessor :scheduling
# [Output Only] Server defined URL for this resource.
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
@ -3203,12 +3206,16 @@ module Google
# @return [String]
attr_accessor :kind
# [Output Only] A token used to continue a truncated list request.
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] Server defined URL for this resource.
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
@ -3293,6 +3300,12 @@ module Google
# @return [Fixnum]
attr_accessor :size
# [Output Only] The URL of the subnetwork to which all instances in the instance
# group belong.
# Corresponds to the JSON property `subnetwork`
# @return [String]
attr_accessor :subnetwork
# [Output Only] The URL of the zone where the instance group is located.
# Corresponds to the JSON property `zone`
# @return [String]
@ -3314,6 +3327,7 @@ module Google
@network = args[:network] unless args[:network].nil?
@self_link = args[:self_link] unless args[:self_link].nil?
@size = args[:size] unless args[:size].nil?
@subnetwork = args[:subnetwork] unless args[:subnetwork].nil?
@zone = args[:zone] unless args[:zone].nil?
end
end
@ -3558,7 +3572,9 @@ module Google
attr_accessor :abandoning
# [Output Only] The number of instances in the managed instance group that are
# scheduled to be created or are currently being created.
# scheduled to be created or are currently being created. If the group fails to
# create one of these instances, it tries again until it creates the instance
# successfully.
# Corresponds to the JSON property `creating`
# @return [Fixnum]
attr_accessor :creating
@ -4233,12 +4249,16 @@ module Google
# @return [String]
attr_accessor :kind
# [Output Only] A token used to continue a truncated list request.
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] Server defined URL for this resource.
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
@ -4963,7 +4983,11 @@ module Google
# for the instance. Possible values:
# - NONE The instance is running, and the managed instance group does not have
# any scheduled actions for this instance.
# - CREATING The managed instance group is creating this instance.
# - CREATING The managed instance group is creating this instance. If the group
# fails to create this instance, it will try again until it is successful.
# - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create
# this instance only once. If the group fails to create this instance, it does
# not try again and the group's target_size value is decreased.
# - RECREATING The managed instance group is recreating this instance.
# - DELETING The managed instance group is permanently deleting this instance.
# - ABANDONING The managed instance group is abandoning this instance. The
@ -5191,8 +5215,8 @@ module Google
# @return [String]
attr_accessor :i_pv4_range
# When set to true, the subnetwork is created in "auto subnet mode". When set to
# false, the subnetwork is in "custom subnet mode".
# When set to true, the network is created in "auto subnet mode". When set to
# false, the network is in "custom subnet mode".
# In "auto subnet mode", a newly created network is assigned the default CIDR of
# 10.128.0.0/9 and it automatically creates one subnetwork per region.
# Corresponds to the JSON property `autoCreateSubnetworks`
@ -5306,15 +5330,15 @@ module Google
# @return [String]
attr_accessor :network_ip
# URL of the subnetwork resource for this instance. This should not be provided
# if the network resource is in legacy mode. If the network is in auto subnet
# mode, providing the subnetwork is optional. If the network is in custom subnet
# mode then the field should be specified. If you specify this property, you can
# specify the subnetwork as a full or partial URL. For example, the following
# are all valid URLs:
# The URL of the Subnetwork resource for this instance. If the network resource
# is in legacy mode, do not provide this property. If the network is in auto
# subnet mode, providing the subnetwork is optional. If the network is in custom
# subnet mode, then this field should be specified. If you specify this property,
# you can specify the subnetwork as a full or partial URL. For example, the
# following are all valid URLs:
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/
# subnetworks/subnetwork
# - projects/project/zones/zone/networks/network
# - zones/zone/subnetworks/subnetwork
# Corresponds to the JSON property `subnetwork`
# @return [String]
attr_accessor :subnetwork
@ -5421,7 +5445,8 @@ module Google
attr_accessor :http_error_message
# [Output Only] If the operation fails, this field contains the HTTP error
# message that was returned. For example, a 404 means the resource was not found.
# status code that was returned. For example, a 404 means the resource was not
# found.
# Corresponds to the JSON property `httpErrorStatusCode`
# @return [Fixnum]
attr_accessor :http_error_status_code
@ -5456,14 +5481,14 @@ module Google
# [Output Only] An optional progress indicator that ranges from 0 to 100. There
# is no requirement that this be linear or support any granularity of operations.
# This should not be used to guess at when the operation will be complete. This
# This should not be used to guess when the operation will be complete. This
# number should monotonically increase as the operation progresses.
# Corresponds to the JSON property `progress`
# @return [Fixnum]
attr_accessor :progress
# [Output Only] URL of the region where the operation resides. Only applicable
# for regional resources.
# [Output Only] URL of the region where the operation resides. Only available
# when performing regional operations.
# Corresponds to the JSON property `region`
# @return [String]
attr_accessor :region
@ -5513,7 +5538,8 @@ module Google
# @return [Array<Google::Apis::ComputeBeta::Operation::Warning>]
attr_accessor :warnings
# [Output Only] URL of the zone where the operation resides.
# [Output Only] URL of the zone where the operation resides. Only available when
# performing per-zone operations.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
@ -5861,8 +5887,14 @@ module Google
class PathMatcher
include Google::Apis::Core::Hashable
# The URL to the BackendService resource. This will be used if none of the
# pathRules defined by this PathMatcher is met by the URL's path portion.
# The full or partial URL to the BackendService resource. This will be used if
# none of the pathRules defined by this PathMatcher is matched by the URL's path
# portion. For example, the following are all valid URLs to a BackendService
# resource:
# - https://www.googleapis.com/compute/v1/projects/project/global/
# backendServices/backendService
# - compute/v1/projects/project/global/backendServices/backendService
# - global/backendServices/backendService
# Corresponds to the JSON property `defaultService`
# @return [String]
attr_accessor :default_service
@ -6178,7 +6210,7 @@ module Google
# The route resource. A Route is a rule that specifies how certain packets
# should be handled by the virtual network. Routes are associated with instances
# by tag and the set of Routes for a particular instance is called its routing
# by tags and the set of Routes for a particular instance is called its routing
# table. For each packet leaving a instance, the system searches that instance's
# routing table for a single best matching Route. Routes match packets by
# destination IP address, preferring smaller or more specific ranges over larger
@ -6234,15 +6266,15 @@ module Google
# @return [String]
attr_accessor :network
# The URL to a gateway that should handle matching packets. Currently, this is
# only the internet gateway: projects/<project-id>/global/gateways/default-
# internet-gateway
# The URL to a gateway that should handle matching packets. You can only specify
# the internet gateway using a full or partial valid URL: projects/<project-id>/
# global/gateways/default-internet-gateway
# Corresponds to the JSON property `nextHopGateway`
# @return [String]
attr_accessor :next_hop_gateway
# The fully-qualified URL to an instance that should handle matching packets.
# For example:
# The URL to an instance that should handle matching packets. You can specify
# this as a full or partial URL. For example:
# https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
# Corresponds to the JSON property `nextHopInstance`
# @return [String]
@ -6263,9 +6295,10 @@ module Google
# @return [String]
attr_accessor :next_hop_vpn_tunnel
# Breaks ties between Routes of equal specificity. Routes with smaller values
# win when tied with routes with larger values. Default value is 1000. A valid
# range is between 0 and 65535.
# The priority of this route. Priority is used to break ties in cases where
# there is more than one matching route of equal prefix length. In the case of
# two routes with equal prefix length, the one with the lowest-numbered priority
# value wins. Default value is 1000. Valid range is 0 through 65535.
# Corresponds to the JSON property `priority`
# @return [Fixnum]
attr_accessor :priority
@ -6384,7 +6417,7 @@ module Google
# @return [String]
attr_accessor :id
# A list of Route resources.
# [Output Only] A list of Route resources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeBeta::Route>]
attr_accessor :items
@ -6476,7 +6509,7 @@ module Google
# @return [String]
attr_accessor :kind
# [Output Only] Server defined URL for the resource.
# [Output Only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
@ -6575,7 +6608,7 @@ module Google
# @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
attr_accessor :snapshot_encryption_key
# The source disk used to create this snapshot.
# [Output Only] The source disk used to create this snapshot.
# Corresponds to the JSON property `sourceDisk`
# @return [String]
attr_accessor :source_disk
@ -6644,7 +6677,7 @@ module Google
# @return [String]
attr_accessor :id
# A list of Snapshot resources.
# [Output Only] A list of Snapshot resources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeBeta::Snapshot>]
attr_accessor :items
@ -6683,8 +6716,8 @@ module Google
end
# An SslCertificate resource. This resource provides a mechanism to upload an
# SSL key and certificate to global HTTPS loadbalancer to serve secure
# connections.
# SSL key and certificate to the load balancer to serve secure connections from
# the user.
class SslCertificate
include Google::Apis::Core::Hashable
@ -6812,47 +6845,50 @@ module Google
# @return [String]
attr_accessor :creation_timestamp
# An optional textual description of the resource; provided by the client when
# the resource is created.
# An optional description of this resource. Provide this property when you
# create the resource.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# [Output Only] Gateway address for default routes to addresses outside this
# Subnetwork.
# [Output Only] The gateway address for default routes to reach destination
# addresses outside this subnetwork.
# Corresponds to the JSON property `gatewayAddress`
# @return [String]
attr_accessor :gateway_address
# [Output Only] Unique identifier for the resource; defined by the server.
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# The range of internal addresses that are owned by this Subnetwork; provided by
# the client when the Subnetwork is created.
# The range of internal addresses that are owned by this subnetwork. Provide
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
# 168.0.0/16. Ranges must be unique and non-overlapping within a network.
# Corresponds to the JSON property `ipCidrRange`
# @return [String]
attr_accessor :ip_cidr_range
# Type of the resource.
# [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork
# resources.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# Name of the resource. Provided by the client when the resource is created. The
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
# and all following characters must be a dash, lowercase letter, or digit,
# except the last character, which cannot be a dash.
# The name of the resource, provided by the client when initially creating the
# resource. The name must be 1-63 characters long, and comply with RFC1035.
# Specifically, the name must be 1-63 characters long and match the regular
# expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be
# a lowercase letter, and all following characters must be a dash, lowercase
# letter, or digit, except the last character, which cannot be a dash.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# URL of the network to which this Subnetwork belongs; provided by the client
# when the Subnetwork is created. Only networks that are in the distributed mode
# can have Subnetworks.
# The URL of the network to which this subnetwork belongs, provided by the
# client when initially creating the subnetwork. Only networks that are in the
# distributed mode can have subnetworks.
# Corresponds to the JSON property `network`
# @return [String]
attr_accessor :network
@ -6890,22 +6926,28 @@ module Google
class SubnetworkAggregatedList
include Google::Apis::Core::Hashable
# [Output Only] Unique identifier for the resource; defined by the server.
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# A map of scoped Subnetwork lists.
# [Output] A map of scoped Subnetwork lists.
# Corresponds to the JSON property `items`
# @return [Hash<String,Google::Apis::ComputeBeta::SubnetworksScopedList>]
attr_accessor :items
# Type of resource.
# [Output Only] Type of resource. Always compute#subnetworkAggregatedList for
# aggregated lists of subnetworks.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# [Output Only] A token used to continue a truncated list request.
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -6933,7 +6975,8 @@ module Google
class SubnetworkList
include Google::Apis::Core::Hashable
# [Output Only] Unique identifier for the resource. Defined by the server.
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
@ -6943,12 +6986,17 @@ module Google
# @return [Array<Google::Apis::ComputeBeta::Subnetwork>]
attr_accessor :items
# Type of resource.
# [Output Only] Type of resource. Always compute#subnetworkList for lists of
# subnetworks.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# [Output Only] A token used to continue a truncated list request.
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
@ -6976,13 +7024,12 @@ module Google
class SubnetworksScopedList
include Google::Apis::Core::Hashable
# List of Subnetworks contained in this scope.
# List of subnetworks contained in this scope.
# Corresponds to the JSON property `subnetworks`
# @return [Array<Google::Apis::ComputeBeta::Subnetwork>]
attr_accessor :subnetworks
# Informational warning which replaces the list of addresses when the list is
# empty.
# An informational warning that appears when the list of addresses is empty.
# Corresponds to the JSON property `warning`
# @return [Google::Apis::ComputeBeta::SubnetworksScopedList::Warning]
attr_accessor :warning
@ -6997,8 +7044,7 @@ module Google
@warning = args[:warning] unless args[:warning].nil?
end
# Informational warning which replaces the list of addresses when the list is
# empty.
# An informational warning that appears when the list of addresses is empty.
class Warning
include Google::Apis::Core::Hashable
@ -7269,8 +7315,9 @@ module Google
# @return [String]
attr_accessor :self_link
# URLs to SslCertificate resources that are used to authenticate connections to
# Backends. Currently exactly one SSL certificate must be specified.
# URLs to SslCertificate resources that are used to authenticate connections
# between users and the load balancer. Currently exactly one SSL certificate
# must be specified.
# Corresponds to the JSON property `sslCertificates`
# @return [Array<String>]
attr_accessor :ssl_certificates
@ -8636,8 +8683,9 @@ module Google
# The name of an existing bucket in Cloud Storage where the usage report object
# is stored. The Google Service Account is granted write access to this bucket.
# This is just the bucket name, with no gs:// or https://storage.googleapis.com/
# in front of it.
# This can either be the bucket name by itself, such as example-bucket, or the
# bucket name with gs:// or https://storage.googleapis.com/ in front of it, such
# as gs://example-bucket.
# Corresponds to the JSON property `bucketName`
# @return [String]
attr_accessor :bucket_name
@ -8731,7 +8779,7 @@ module Google
# @return [String]
attr_accessor :self_link
# Shared secret used to set the secure session between the GCE VPN gateway and
# Shared secret used to set the secure session between the Cloud VPN gateway and
# the peer VPN gateway.
# Corresponds to the JSON property `sharedSecret`
# @return [String]

View File

@ -1554,6 +1554,7 @@ module Google
property :network, as: 'network'
property :self_link, as: 'selfLink'
property :size, as: 'size'
property :subnetwork, as: 'subnetwork'
property :zone, as: 'zone'
end
end

View File

@ -52,7 +52,7 @@ module Google
super('https://www.googleapis.com/', 'compute/beta/projects/')
end
# Retrieves the list of addresses grouped by scope.
# Retrieves an aggregated list of addresses.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -254,7 +254,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of address resources contained within the specified region.
# Retrieves a list of address resources contained within the specified region.
# @param [String] project
# Project ID for this request.
# @param [String] region
@ -335,7 +335,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of autoscalers grouped by scope.
# Retrieves an aggregated list of autoscalers.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -537,7 +537,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of autoscaler resources contained within the specified zone.
# Retrieves a list of autoscaler resources contained within the specified zone.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -825,7 +825,9 @@ module Google
end
# Creates a BackendService resource in the specified project using the data
# included in the request.
# included in the request. There are several restrictions and guidelines to keep
# in mind when creating a backend service. Read Restrictions and Guidelines for
# more information.
# @param [String] project
# Project ID for this request.
# @param [Google::Apis::ComputeBeta::BackendService] backend_service_object
@ -942,7 +944,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Update the entire content of the BackendService resource. This method supports
# Updates the entire content of the BackendService resource. There are several
# restrictions and guidelines to keep in mind when updating a backend service.
# Read Restrictions and Guidelines for more information. This method supports
# patch semantics.
# @param [String] project
# Project ID for this request.
@ -984,7 +988,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Update the entire content of the BackendService resource.
# Updates the entire content of the BackendService resource. There are several
# restrictions and guidelines to keep in mind when updating a backend service.
# Read Restrictions and Guidelines for more information.
# @param [String] project
# Project ID for this request.
# @param [String] backend_service
@ -1025,7 +1031,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of disk type resources grouped by scope.
# Retrieves an aggregated list of disk type resources.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -1144,7 +1150,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of disk type resources available to the specified project.
# Retrieves a list of disk type resources available to the specified project.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -1225,7 +1231,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of persistent disks grouped by scope.
# Retrieves an aggregated list of persistent disks.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -1476,7 +1482,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of persistent disks contained within the specified zone.
# Retrieves a list of persistent disks contained within the specified zone.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -1877,7 +1883,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of forwarding rules grouped by scope.
# Retrieves an aggregated list of forwarding rules.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -2079,7 +2085,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of ForwardingRule resources available to the specified
# Retrieves a list of ForwardingRule resources available to the specified
# project and region.
# @param [String] project
# Project ID for this request.
@ -2321,7 +2327,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of global address resources.
# Retrieves a list of global address resources.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -2514,7 +2520,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of ForwardingRule resources available to the specified
# Retrieves a list of ForwardingRule resources available to the specified
# project.
# @param [String] project
# Project ID for this request.
@ -2635,7 +2641,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of all operations grouped by scope.
# Retrieves an aggregated list of all operations.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -2787,8 +2793,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of Operation resources contained within the specified
# project.
# Retrieves a list of Operation resources contained within the specified project.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -3793,7 +3798,8 @@ module Google
end
# Deletes the specified managed instance group and all of the instances in that
# group.
# group. Note that the instance group must not belong to a backend service. Read
# Deleting an instance group for more information.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -4337,8 +4343,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Adds a list of instances to the specified instance group. All of the instances
# in the instance group must be in the same network/subnetwork.
# Adds a list of instances to the specified instance group. Read Adding
# instances for more information.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -4461,7 +4467,8 @@ module Google
end
# Deletes the specified instance group. The instances in the group are not
# deleted.
# deleted. Note that instance group must not belong to a backend service. Read
# Deleting an instance group for more information.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -4921,7 +4928,9 @@ module Google
end
# Creates an instance template in the specified project using the data that is
# included in the request.
# included in the request. If you are creating a new template to update an
# existing instance group, your new instance template must use the same network
# or, if applicable, the same subnetwork as the original template.
# @param [String] project
# Project ID for this request.
# @param [Google::Apis::ComputeBeta::InstanceTemplate] instance_template_object
@ -5857,8 +5866,8 @@ module Google
execute_or_queue_command(command, &block)
end
# This method starts an instance that was stopped using the using the instances()
# .stop method. For more information, see Restart an instance.
# Starts an instance that was stopped using the using the instances().stop
# method. For more information, see Restart an instance.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -5899,12 +5908,12 @@ module Google
execute_or_queue_command(command, &block)
end
# This method stops a running instance, shutting it down cleanly, and allows you
# to restart the instance at a later time. Stopped instances do not incur per-
# minute, virtual machine usage charges while they are stopped, but any
# resources that the virtual machine is using, such as persistent disks and
# static IP addresses,will continue to be charged until they are deleted. For
# more information, see Stopping an instance.
# Stops a running instance, shutting it down cleanly, and allows you to restart
# the instance at a later time. Stopped instances do not incur per-minute,
# virtual machine usage charges while they are stopped, but any resources that
# the virtual machine is using, such as persistent disks and static IP addresses,
# will continue to be charged until they are deleted. For more information, see
# Stopping an instance.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -5983,7 +5992,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of machine type resources grouped by scope.
# Retrieves an aggregated list of machine type resources.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -6102,8 +6111,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of machine type resources available to the specified
# project.
# Retrieves a list of machine type resources available to the specified project.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -6572,7 +6580,7 @@ module Google
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the zone scoping this request.
# Name of the region scoping this request.
# @param [String] operation
# Name of the Operations resource to return.
# @param [String] fields
@ -6609,8 +6617,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of Operation resources contained within the specified
# region.
# Retrieves a list of Operation resources contained within the specified region.
# @param [String] project
# Project ID for this request.
# @param [String] region
@ -7353,7 +7360,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of Subnetworks grouped by scope.
# Retrieves an aggregated list of subnetworks.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -7431,7 +7438,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes the specified Subnetwork resource.
# Deletes the specified subnetwork.
# @param [String] project
# Project ID for this request.
# @param [String] region
@ -7472,7 +7479,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns the specified Subnetwork resource.
# Returns the specified subnetwork.
# @param [String] project
# Project ID for this request.
# @param [String] region
@ -7513,8 +7520,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Creates a Subnetwork resource in the specified project using the data included
# in the request.
# Creates a subnetwork in the specified project using the data included in the
# request.
# @param [String] project
# Project ID for this request.
# @param [String] region
@ -7555,7 +7562,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of Subnetwork resources available to the specified project.
# Retrieves a list of subnetworks available to the specified project.
# @param [String] project
# Project ID for this request.
# @param [String] region
@ -8147,7 +8154,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of target instances grouped by scope.
# Retrieves an aggregated list of target instances.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -8349,7 +8356,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of TargetInstance resources available to the specified
# Retrieves a list of TargetInstance resources available to the specified
# project and zone.
# @param [String] project
# Project ID for this request.
@ -8517,7 +8524,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of target pools grouped by scope.
# Retrieves an aggregated list of target pools.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -8678,7 +8685,7 @@ module Google
end
# Gets the most recent health check results for each IP for the given instance
# that is referenced by given TargetPool.
# that is referenced by the given TargetPool.
# @param [String] project
# @param [String] region
# Name of the region scoping this request.
@ -8763,7 +8770,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of TargetPool resources available to the specified project
# Retrieves a list of TargetPool resources available to the specified project
# and region.
# @param [String] project
# Project ID for this request.
@ -8978,7 +8985,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of target VPN gateways grouped by scope.
# Retrieves an aggregated list of target VPN gateways .
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -9180,7 +9187,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of TargetVpnGateway resources available to the specified
# Retrieves a list of TargetVpnGateway resources available to the specified
# project and region.
# @param [String] project
# Project ID for this request.
@ -9455,7 +9462,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Update the entire content of the UrlMap resource. This method supports patch
# Updates the entire content of the UrlMap resource. This method supports patch
# semantics.
# @param [String] project
# Project ID for this request.
@ -9497,7 +9504,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Update the entire content of the UrlMap resource.
# Updates the entire content of the UrlMap resource.
# @param [String] project
# Project ID for this request.
# @param [String] url_map
@ -9538,8 +9545,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Run static validation for the UrlMap. In particular, the tests of the provided
# UrlMap will be run. Calling this method does NOT create the UrlMap.
# Runs static validation for the UrlMap. In particular, the tests of the
# provided UrlMap will be run. Calling this method does NOT create the UrlMap.
# @param [String] project
# Project ID for this request.
# @param [String] url_map
@ -9580,7 +9587,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of VPN tunnels grouped by scope.
# Retrieves an aggregated list of VPN tunnels.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -9782,8 +9789,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of VpnTunnel resources contained in the specified project
# and region.
# Retrieves a list of VpnTunnel resources contained in the specified project and
# region.
# @param [String] project
# Project ID for this request.
# @param [String] region
@ -9944,7 +9951,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of Operation resources contained within the specified zone.
# Retrieves a list of Operation resources contained within the specified zone.
# @param [String] project
# Project ID for this request.
# @param [String] zone

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeV1
VERSION = 'V1'
REVISION = '20160107'
REVISION = '20160112'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -937,15 +937,17 @@ module Google
# @return [String]
attr_accessor :group
# The max RPS of the group. Can be used with either balancing mode, but required
# if RATE mode. For RATE mode, either maxRate or maxRatePerInstance must be set.
# The max requests per second (RPS) of the group. Can be used with either
# balancing mode, but required if RATE mode. For RATE mode, either maxRate or
# maxRatePerInstance must be set.
# Corresponds to the JSON property `maxRate`
# @return [Fixnum]
attr_accessor :max_rate
# The max RPS that a single backed instance can handle. This is used to
# calculate the capacity of the group. Can be used in either balancing mode. For
# RATE mode, either maxRate or maxRatePerInstance must be set.
# The max requests per second (RPS) that a single backed instance can handle.
# This is used to calculate the capacity of the group. Can be used in either
# balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be
# set.
# Corresponds to the JSON property `maxRatePerInstance`
# @return [Float]
attr_accessor :max_rate_per_instance
@ -973,7 +975,7 @@ module Google
end
# A BackendService resource. This resource defines a group of backend virtual
# machines together with their serving capacity.
# machines and their serving capacity.
class BackendService
include Google::Apis::Core::Hashable
@ -1030,7 +1032,7 @@ module Google
# @return [String]
attr_accessor :name
# Deprecated in favor of port name. The TCP port to connect on the backend. The
# Deprecated in favor of portName. The TCP port to connect on the backend. The
# default value is 80.
# Corresponds to the JSON property `port`
# @return [Fixnum]
@ -1900,9 +1902,8 @@ module Google
# @return [String]
attr_accessor :name
# URL of the network resource for this firewall rule. This field is required for
# creating an instance but optional when creating a firewall rule. If not
# specified when creating a firewall rule, the default network is used:
# URL of the network resource for this firewall rule. If not specified when
# creating a firewall rule, the default network is used:
# global/networks/default
# If you choose to specify this property, you can specify the network as a full
# or partial URL. For example, the following are all valid URLs:
@ -2120,7 +2121,9 @@ module Google
# The URL of the target resource to receive the matched traffic. For regional
# forwarding rules, this target must live in the same region as the forwarding
# rule. For global forwarding rules, this target must be a global
# TargetHttpProxy or TargetHttpsProxy resource.
# TargetHttpProxy or TargetHttpsProxy resource. The forwarded traffic must be of
# a type appropriate to the target object. For example, TargetHttpProxy requires
# HTTP traffic, and TargetHttpsProxy requires HTTPS traffic.
# Corresponds to the JSON property `target`
# @return [String]
attr_accessor :target
@ -2955,8 +2958,8 @@ module Google
# @return [String]
attr_accessor :creation_timestamp
# An optional textual description of the resource; provided by the client when
# the resource is created.
# An optional description of this resource. Provide this property when you
# create the resource.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
@ -2967,8 +2970,8 @@ module Google
# @return [Array<Google::Apis::ComputeV1::AttachedDisk>]
attr_accessor :disks
# [Output Only] Unique identifier for the resource. This identifier is defined
# by the server.
# [Output Only] The unique identifier for the resource. This identifier is
# defined by the server.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
@ -3000,12 +3003,12 @@ module Google
# @return [Google::Apis::ComputeV1::Metadata]
attr_accessor :metadata
# Name of the resource; provided by the client when the resource is created. The
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
# and all following characters must be a dash, lowercase letter, or digit,
# except the last character, which cannot be a dash.
# The name of the resource, provided by the client when initially creating the
# resource. The resource name must be 1-63 characters long, and comply with
# RFC1035. Specifically, the name must be 1-63 characters long and match the
# regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character
# must be a lowercase letter, and all following characters must be a dash,
# lowercase letter, or digit, except the last character, which cannot be a dash.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -3022,7 +3025,7 @@ module Google
# @return [Google::Apis::ComputeV1::Scheduling]
attr_accessor :scheduling
# [Output Only] Server defined URL for this resource.
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
@ -3104,12 +3107,16 @@ module Google
# @return [String]
attr_accessor :kind
# [Output Only] A token used to continue a truncated list request.
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] Server defined URL for this resource.
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
@ -3452,7 +3459,9 @@ module Google
attr_accessor :abandoning
# [Output Only] The number of instances in the managed instance group that are
# scheduled to be created or are currently being created.
# scheduled to be created or are currently being created. If the group fails to
# create one of these instances, it tries again until it creates the instance
# successfully.
# Corresponds to the JSON property `creating`
# @return [Fixnum]
attr_accessor :creating
@ -4079,12 +4088,16 @@ module Google
# @return [String]
attr_accessor :kind
# [Output Only] A token used to continue a truncated list request.
# [Output Only] This token allows you to get the next page of results for list
# requests. If the number of results is larger than maxResults, use the
# nextPageToken as a value for the query parameter pageToken in the next list
# request. Subsequent list requests will have their own nextPageToken to
# continue paging through the results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# [Output Only] Server defined URL for this resource.
# [Output Only] Server-defined URL for this resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
@ -4827,7 +4840,11 @@ module Google
# for the instance. Possible values:
# - NONE The instance is running, and the managed instance group does not have
# any scheduled actions for this instance.
# - CREATING The managed instance group is creating this instance.
# - CREATING The managed instance group is creating this instance. If the group
# fails to create this instance, it will try again until it is successful.
# - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create
# this instance only once. If the group fails to create this instance, it does
# not try again and the group's target_size value is decreased.
# - RECREATING The managed instance group is recreating this instance.
# - DELETING The managed instance group is permanently deleting this instance.
# - ABANDONING The managed instance group is abandoning this instance. The
@ -5254,7 +5271,8 @@ module Google
attr_accessor :http_error_message
# [Output Only] If the operation fails, this field contains the HTTP error
# message that was returned. For example, a 404 means the resource was not found.
# status code that was returned. For example, a 404 means the resource was not
# found.
# Corresponds to the JSON property `httpErrorStatusCode`
# @return [Fixnum]
attr_accessor :http_error_status_code
@ -5289,14 +5307,14 @@ module Google
# [Output Only] An optional progress indicator that ranges from 0 to 100. There
# is no requirement that this be linear or support any granularity of operations.
# This should not be used to guess at when the operation will be complete. This
# This should not be used to guess when the operation will be complete. This
# number should monotonically increase as the operation progresses.
# Corresponds to the JSON property `progress`
# @return [Fixnum]
attr_accessor :progress
# [Output Only] URL of the region where the operation resides. Only applicable
# for regional resources.
# [Output Only] URL of the region where the operation resides. Only available
# when performing regional operations.
# Corresponds to the JSON property `region`
# @return [String]
attr_accessor :region
@ -5346,7 +5364,8 @@ module Google
# @return [Array<Google::Apis::ComputeV1::Operation::Warning>]
attr_accessor :warnings
# [Output Only] URL of the zone where the operation resides.
# [Output Only] URL of the zone where the operation resides. Only available when
# performing per-zone operations.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
@ -5694,8 +5713,14 @@ module Google
class PathMatcher
include Google::Apis::Core::Hashable
# The URL to the BackendService resource. This will be used if none of the
# pathRules defined by this PathMatcher is met by the URL's path portion.
# The full or partial URL to the BackendService resource. This will be used if
# none of the pathRules defined by this PathMatcher is matched by the URL's path
# portion. For example, the following are all valid URLs to a BackendService
# resource:
# - https://www.googleapis.com/compute/v1/projects/project/global/
# backendServices/backendService
# - compute/v1/projects/project/global/backendServices/backendService
# - global/backendServices/backendService
# Corresponds to the JSON property `defaultService`
# @return [String]
attr_accessor :default_service
@ -6011,7 +6036,7 @@ module Google
# The route resource. A Route is a rule that specifies how certain packets
# should be handled by the virtual network. Routes are associated with instances
# by tag and the set of Routes for a particular instance is called its routing
# by tags and the set of Routes for a particular instance is called its routing
# table. For each packet leaving a instance, the system searches that instance's
# routing table for a single best matching Route. Routes match packets by
# destination IP address, preferring smaller or more specific ranges over larger
@ -6067,15 +6092,15 @@ module Google
# @return [String]
attr_accessor :network
# The URL to a gateway that should handle matching packets. Currently, this is
# only the internet gateway: projects/<project-id>/global/gateways/default-
# internet-gateway
# The URL to a gateway that should handle matching packets. You can only specify
# the internet gateway using a full or partial valid URL: projects/<project-id>/
# global/gateways/default-internet-gateway
# Corresponds to the JSON property `nextHopGateway`
# @return [String]
attr_accessor :next_hop_gateway
# The fully-qualified URL to an instance that should handle matching packets.
# For example:
# The URL to an instance that should handle matching packets. You can specify
# this as a full or partial URL. For example:
# https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
# Corresponds to the JSON property `nextHopInstance`
# @return [String]
@ -6096,9 +6121,10 @@ module Google
# @return [String]
attr_accessor :next_hop_vpn_tunnel
# Breaks ties between Routes of equal specificity. Routes with smaller values
# win when tied with routes with larger values. Default value is 1000. A valid
# range is between 0 and 65535.
# The priority of this route. Priority is used to break ties in cases where
# there is more than one matching route of equal prefix length. In the case of
# two routes with equal prefix length, the one with the lowest-numbered priority
# value wins. Default value is 1000. Valid range is 0 through 65535.
# Corresponds to the JSON property `priority`
# @return [Fixnum]
attr_accessor :priority
@ -6217,7 +6243,7 @@ module Google
# @return [String]
attr_accessor :id
# A list of Route resources.
# [Output Only] A list of Route resources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeV1::Route>]
attr_accessor :items
@ -6309,7 +6335,7 @@ module Google
# @return [String]
attr_accessor :kind
# [Output Only] Server defined URL for the resource.
# [Output Only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
attr_accessor :self_link
@ -6403,7 +6429,7 @@ module Google
# @return [String]
attr_accessor :self_link
# The source disk used to create this snapshot.
# [Output Only] The source disk used to create this snapshot.
# Corresponds to the JSON property `sourceDisk`
# @return [String]
attr_accessor :source_disk
@ -6465,7 +6491,7 @@ module Google
# @return [String]
attr_accessor :id
# A list of Snapshot resources.
# [Output Only] A list of Snapshot resources.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::ComputeV1::Snapshot>]
attr_accessor :items
@ -6504,8 +6530,8 @@ module Google
end
# An SslCertificate resource. This resource provides a mechanism to upload an
# SSL key and certificate to global HTTPS loadbalancer to serve secure
# connections.
# SSL key and certificate to the load balancer to serve secure connections from
# the user.
class SslCertificate
include Google::Apis::Core::Hashable
@ -6830,8 +6856,9 @@ module Google
# @return [String]
attr_accessor :self_link
# URLs to SslCertificate resources that are used to authenticate connections to
# Backends. Currently exactly one SSL certificate must be specified.
# URLs to SslCertificate resources that are used to authenticate connections
# between users and the load balancer. Currently exactly one SSL certificate
# must be specified.
# Corresponds to the JSON property `sslCertificates`
# @return [Array<String>]
attr_accessor :ssl_certificates
@ -8197,8 +8224,9 @@ module Google
# The name of an existing bucket in Cloud Storage where the usage report object
# is stored. The Google Service Account is granted write access to this bucket.
# This is just the bucket name, with no gs:// or https://storage.googleapis.com/
# in front of it.
# This can either be the bucket name by itself, such as example-bucket, or the
# bucket name with gs:// or https://storage.googleapis.com/ in front of it, such
# as gs://example-bucket.
# Corresponds to the JSON property `bucketName`
# @return [String]
attr_accessor :bucket_name
@ -8285,7 +8313,7 @@ module Google
# @return [String]
attr_accessor :self_link
# Shared secret used to set the secure session between the GCE VPN gateway and
# Shared secret used to set the secure session between the Cloud VPN gateway and
# the peer VPN gateway.
# Corresponds to the JSON property `sharedSecret`
# @return [String]

View File

@ -52,7 +52,7 @@ module Google
super('https://www.googleapis.com/', 'compute/v1/projects/')
end
# Retrieves the list of addresses grouped by scope.
# Retrieves an aggregated list of addresses.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -244,7 +244,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of address resources contained within the specified region.
# Retrieves a list of address resources contained within the specified region.
# @param [String] project
# Project ID for this request.
# @param [String] region
@ -315,7 +315,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of autoscalers grouped by scope.
# Retrieves an aggregated list of autoscalers.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -507,7 +507,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of autoscaler resources contained within the specified zone.
# Retrieves a list of autoscaler resources contained within the specified zone.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -785,7 +785,9 @@ module Google
end
# Creates a BackendService resource in the specified project using the data
# included in the request.
# included in the request. There are several restrictions and guidelines to keep
# in mind when creating a backend service. Read Restrictions and Guidelines for
# more information.
# @param [String] project
# Project ID for this request.
# @param [Google::Apis::ComputeV1::BackendService] backend_service_object
@ -892,7 +894,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Update the entire content of the BackendService resource. This method supports
# Updates the entire content of the BackendService resource. There are several
# restrictions and guidelines to keep in mind when updating a backend service.
# Read Restrictions and Guidelines for more information. This method supports
# patch semantics.
# @param [String] project
# Project ID for this request.
@ -934,7 +938,9 @@ module Google
execute_or_queue_command(command, &block)
end
# Update the entire content of the BackendService resource.
# Updates the entire content of the BackendService resource. There are several
# restrictions and guidelines to keep in mind when updating a backend service.
# Read Restrictions and Guidelines for more information.
# @param [String] project
# Project ID for this request.
# @param [String] backend_service
@ -975,7 +981,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of disk type resources grouped by scope.
# Retrieves an aggregated list of disk type resources.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -1084,7 +1090,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of disk type resources available to the specified project.
# Retrieves a list of disk type resources available to the specified project.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -1155,7 +1161,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of persistent disks grouped by scope.
# Retrieves an aggregated list of persistent disks.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -1396,7 +1402,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of persistent disks contained within the specified zone.
# Retrieves a list of persistent disks contained within the specified zone.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -1733,7 +1739,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of forwarding rules grouped by scope.
# Retrieves an aggregated list of forwarding rules.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -1925,7 +1931,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of ForwardingRule resources available to the specified
# Retrieves a list of ForwardingRule resources available to the specified
# project and region.
# @param [String] project
# Project ID for this request.
@ -2157,7 +2163,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of global address resources.
# Retrieves a list of global address resources.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -2340,7 +2346,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of ForwardingRule resources available to the specified
# Retrieves a list of ForwardingRule resources available to the specified
# project.
# @param [String] project
# Project ID for this request.
@ -2451,7 +2457,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of all operations grouped by scope.
# Retrieves an aggregated list of all operations.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -2593,8 +2599,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of Operation resources contained within the specified
# project.
# Retrieves a list of Operation resources contained within the specified project.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -3549,7 +3554,8 @@ module Google
end
# Deletes the specified managed instance group and all of the instances in that
# group.
# group. Note that the instance group must not belong to a backend service. Read
# Deleting an instance group for more information.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -4039,8 +4045,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Adds a list of instances to the specified instance group. All of the instances
# in the instance group must be in the same network/subnetwork.
# Adds a list of instances to the specified instance group. Read Adding
# instances for more information.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -4153,7 +4159,8 @@ module Google
end
# Deletes the specified instance group. The instances in the group are not
# deleted.
# deleted. Note that instance group must not belong to a backend service. Read
# Deleting an instance group for more information.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -4593,7 +4600,9 @@ module Google
end
# Creates an instance template in the specified project using the data that is
# included in the request.
# included in the request. If you are creating a new template to update an
# existing instance group, your new instance template must use the same network
# or, if applicable, the same subnetwork as the original template.
# @param [String] project
# Project ID for this request.
# @param [Google::Apis::ComputeV1::InstanceTemplate] instance_template_object
@ -5410,8 +5419,8 @@ module Google
execute_or_queue_command(command, &block)
end
# This method starts an instance that was stopped using the using the instances()
# .stop method. For more information, see Restart an instance.
# Starts an instance that was stopped using the using the instances().stop
# method. For more information, see Restart an instance.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -5452,12 +5461,12 @@ module Google
execute_or_queue_command(command, &block)
end
# This method stops a running instance, shutting it down cleanly, and allows you
# to restart the instance at a later time. Stopped instances do not incur per-
# minute, virtual machine usage charges while they are stopped, but any
# resources that the virtual machine is using, such as persistent disks and
# static IP addresses,will continue to be charged until they are deleted. For
# more information, see Stopping an instance.
# Stops a running instance, shutting it down cleanly, and allows you to restart
# the instance at a later time. Stopped instances do not incur per-minute,
# virtual machine usage charges while they are stopped, but any resources that
# the virtual machine is using, such as persistent disks and static IP addresses,
# will continue to be charged until they are deleted. For more information, see
# Stopping an instance.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -5536,7 +5545,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of machine type resources grouped by scope.
# Retrieves an aggregated list of machine type resources.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -5645,8 +5654,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of machine type resources available to the specified
# project.
# Retrieves a list of machine type resources available to the specified project.
# @param [String] project
# Project ID for this request.
# @param [String] zone
@ -6133,7 +6141,7 @@ module Google
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the zone scoping this request.
# Name of the region scoping this request.
# @param [String] operation
# Name of the Operations resource to return.
# @param [String] fields
@ -6170,8 +6178,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of Operation resources contained within the specified
# region.
# Retrieves a list of Operation resources contained within the specified region.
# @param [String] project
# Project ID for this request.
# @param [String] region
@ -7355,7 +7362,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of target instances grouped by scope.
# Retrieves an aggregated list of target instances.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -7547,7 +7554,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of TargetInstance resources available to the specified
# Retrieves a list of TargetInstance resources available to the specified
# project and zone.
# @param [String] project
# Project ID for this request.
@ -7705,7 +7712,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of target pools grouped by scope.
# Retrieves an aggregated list of target pools.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -7856,7 +7863,7 @@ module Google
end
# Gets the most recent health check results for each IP for the given instance
# that is referenced by given TargetPool.
# that is referenced by the given TargetPool.
# @param [String] project
# @param [String] region
# Name of the region scoping this request.
@ -7941,7 +7948,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of TargetPool resources available to the specified project
# Retrieves a list of TargetPool resources available to the specified project
# and region.
# @param [String] project
# Project ID for this request.
@ -8146,7 +8153,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of target VPN gateways grouped by scope.
# Retrieves an aggregated list of target VPN gateways .
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -8338,7 +8345,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of TargetVpnGateway resources available to the specified
# Retrieves a list of TargetVpnGateway resources available to the specified
# project and region.
# @param [String] project
# Project ID for this request.
@ -8593,7 +8600,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Update the entire content of the UrlMap resource. This method supports patch
# Updates the entire content of the UrlMap resource. This method supports patch
# semantics.
# @param [String] project
# Project ID for this request.
@ -8635,7 +8642,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Update the entire content of the UrlMap resource.
# Updates the entire content of the UrlMap resource.
# @param [String] project
# Project ID for this request.
# @param [String] url_map
@ -8676,8 +8683,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Run static validation for the UrlMap. In particular, the tests of the provided
# UrlMap will be run. Calling this method does NOT create the UrlMap.
# Runs static validation for the UrlMap. In particular, the tests of the
# provided UrlMap will be run. Calling this method does NOT create the UrlMap.
# @param [String] project
# Project ID for this request.
# @param [String] url_map
@ -8718,7 +8725,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of VPN tunnels grouped by scope.
# Retrieves an aggregated list of VPN tunnels.
# @param [String] project
# Project ID for this request.
# @param [String] filter
@ -8910,8 +8917,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of VpnTunnel resources contained in the specified project
# and region.
# Retrieves a list of VpnTunnel resources contained in the specified project and
# region.
# @param [String] project
# Project ID for this request.
# @param [String] region
@ -9062,7 +9069,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Retrieves the list of Operation resources contained within the specified zone.
# Retrieves a list of Operation resources contained within the specified zone.
# @param [String] project
# Project ID for this request.
# @param [String] zone

View File

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

View File

@ -1606,7 +1606,7 @@ module Google
# @return [String]
attr_accessor :fetch_url
# The hour of the day the feed file should be fetched (0-24).
# The hour of the day the feed file should be fetched (0-23).
# Corresponds to the JSON property `hour`
# @return [Fixnum]
attr_accessor :hour

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV2
VERSION = 'V2'
REVISION = '20151230'
REVISION = '20160107'
# View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/drive/
module DriveV3
VERSION = 'V3'
REVISION = '20151230'
REVISION = '20160107'
# View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services
module GamesConfigurationV1configuration
VERSION = 'V1configuration'
REVISION = '20160106'
REVISION = '20160111'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services
module GamesManagementV1management
VERSION = 'V1management'
REVISION = '20160106'
REVISION = '20160111'
# Share your Google+ profile information and view and manage your game activity
AUTH_GAMES = 'https://www.googleapis.com/auth/games'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services/
module GamesV1
VERSION = 'V1'
REVISION = '20160106'
REVISION = '20160111'
# View and manage its own configuration data in your Google Drive
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'

View File

@ -28,7 +28,7 @@ module Google
# @see
module GenomicsV1
VERSION = 'V1'
REVISION = '20160113'
REVISION = '20160115'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/+/domains/
module PlusDomainsV1
VERSION = 'V1'
REVISION = '20160112'
REVISION = '20160118'
# View your circles and the people and pages in them
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/+/api/
module PlusV1
VERSION = 'V1'
REVISION = '20160112'
REVISION = '20160118'
# Know your basic profile info and list of people in your circles.
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/v3
module YoutubeV3
VERSION = 'V3'
REVISION = '20160106'
REVISION = '20160111'
# Manage your YouTube account
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'

View File

@ -2295,7 +2295,7 @@ module Google
end
# Ratings schemes. The country-specific ratings are mostly for movies and shows.
# NEXT_ID: 66
# NEXT_ID: 67
class ContentRating
include Google::Apis::Core::Hashable
@ -2417,6 +2417,12 @@ module Google
# @return [Array<String>]
attr_accessor :djctq_rating_reasons
# Rating system in Turkey - Evaluation and Classification Board of the Ministry
# of Culture and Tourism
# Corresponds to the JSON property `ecbmctRating`
# @return [String]
attr_accessor :ecbmct_rating
# The video's rating in Estonia.
# Corresponds to the JSON property `eefilmRating`
# @return [String]
@ -2681,6 +2687,7 @@ module Google
@czfilm_rating = args[:czfilm_rating] unless args[:czfilm_rating].nil?
@djctq_rating = args[:djctq_rating] unless args[:djctq_rating].nil?
@djctq_rating_reasons = args[:djctq_rating_reasons] unless args[:djctq_rating_reasons].nil?
@ecbmct_rating = args[:ecbmct_rating] unless args[:ecbmct_rating].nil?
@eefilm_rating = args[:eefilm_rating] unless args[:eefilm_rating].nil?
@egfilm_rating = args[:egfilm_rating] unless args[:egfilm_rating].nil?
@eirin_rating = args[:eirin_rating] unless args[:eirin_rating].nil?
@ -6516,12 +6523,6 @@ module Google
# @return [Google::Apis::YoutubeV3::VideoContentDetails]
attr_accessor :content_details
# The conversionPings object encapsulates information about url pings that need
# to be respected by the App in different video contexts.
# Corresponds to the JSON property `conversionPings`
# @return [Google::Apis::YoutubeV3::VideoConversionPings]
attr_accessor :conversion_pings
# Etag of this resource.
# Corresponds to the JSON property `etag`
# @return [String]
@ -6617,7 +6618,6 @@ module Google
def update!(**args)
@age_gating = args[:age_gating] unless args[:age_gating].nil?
@content_details = args[:content_details] unless args[:content_details].nil?
@conversion_pings = args[:conversion_pings] unless args[:conversion_pings].nil?
@etag = args[:etag] unless args[:etag].nil?
@file_details = args[:file_details] unless args[:file_details].nil?
@id = args[:id] unless args[:id].nil?
@ -7009,7 +7009,7 @@ module Google
attr_accessor :caption
# Ratings schemes. The country-specific ratings are mostly for movies and shows.
# NEXT_ID: 66
# NEXT_ID: 67
# Corresponds to the JSON property `contentRating`
# @return [Google::Apis::YoutubeV3::ContentRating]
attr_accessor :content_rating
@ -7100,58 +7100,6 @@ module Google
end
end
#
class VideoConversionPing
include Google::Apis::Core::Hashable
# Defines the context of the ping.
# Corresponds to the JSON property `context`
# @return [String]
attr_accessor :context
# The url (without the schema) that the app shall send the ping to. It's at
# caller's descretion to decide which schema to use (http vs https) Example of a
# returned url: //googleads.g.doubleclick.net/pagead/ viewthroughconversion/
# 962985656/?data=path%3DtHe_path%3Btype%3D like%3Butuid%
# 3DGISQtTNGYqaYl4sKxoVvKA%3Bytvid%3DUrIaJUvIQDg&labe=default The caller must
# append biscotti authentication (ms param in case of mobile, for example) to
# this ping.
# Corresponds to the JSON property `conversionUrl`
# @return [String]
attr_accessor :conversion_url
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@context = args[:context] unless args[:context].nil?
@conversion_url = args[:conversion_url] unless args[:conversion_url].nil?
end
end
#
class VideoConversionPings
include Google::Apis::Core::Hashable
# Pings that the app shall fire for a video (authenticated by biscotti cookie).
# Each ping has a context, in which the app must fire the ping, and a url
# identifying the ping.
# Corresponds to the JSON property `pings`
# @return [Array<Google::Apis::YoutubeV3::VideoConversionPing>]
attr_accessor :pings
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@pings = args[:pings] unless args[:pings].nil?
end
end
# Describes original video file properties, including technical details about
# audio and video streams, but also metadata information like content length,
# digitization time, or geotagging information.

View File

@ -606,14 +606,6 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class VideoConversionPing
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class VideoConversionPings
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class VideoFileDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
end
@ -1348,6 +1340,7 @@ module Google
property :czfilm_rating, as: 'czfilmRating'
property :djctq_rating, as: 'djctqRating'
collection :djctq_rating_reasons, as: 'djctqRatingReasons'
property :ecbmct_rating, as: 'ecbmctRating'
property :eefilm_rating, as: 'eefilmRating'
property :egfilm_rating, as: 'egfilmRating'
property :eirin_rating, as: 'eirinRating'
@ -2415,8 +2408,6 @@ module Google
property :content_details, as: 'contentDetails', class: Google::Apis::YoutubeV3::VideoContentDetails, decorator: Google::Apis::YoutubeV3::VideoContentDetails::Representation
property :conversion_pings, as: 'conversionPings', class: Google::Apis::YoutubeV3::VideoConversionPings, decorator: Google::Apis::YoutubeV3::VideoConversionPings::Representation
property :etag, as: 'etag'
property :file_details, as: 'fileDetails', class: Google::Apis::YoutubeV3::VideoFileDetails, decorator: Google::Apis::YoutubeV3::VideoFileDetails::Representation
@ -2572,22 +2563,6 @@ module Google
end
end
class VideoConversionPing
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :context, as: 'context'
property :conversion_url, as: 'conversionUrl'
end
end
class VideoConversionPings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :pings, as: 'pings', class: Google::Apis::YoutubeV3::VideoConversionPing, decorator: Google::Apis::YoutubeV3::VideoConversionPing::Representation
end
end
class VideoFileDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -15,7 +15,7 @@
module Google
module Apis
# Client library version
VERSION = '0.9'
VERSION = '0.9.1'
# Current operating system
# @private