google-api-client 0.9.20 → 0.9.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +8 -4
- data/api_names.yaml +33179 -1058
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +24 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +2 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +14 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +2 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +7 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +96 -156
- data/generated/google/apis/androidenterprise_v1/representations.rb +18 -47
- data/generated/google/apis/androidenterprise_v1/service.rb +15 -459
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +176 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +62 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +60 -2
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +300 -198
- data/generated/google/apis/appengine_v1beta5/representations.rb +36 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +54 -49
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +50 -6
- data/generated/google/apis/bigquery_v2/representations.rb +5 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +7 -2
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +74 -74
- data/generated/google/apis/classroom_v1/representations.rb +29 -29
- data/generated/google/apis/classroom_v1/service.rb +132 -28
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +47 -27
- data/generated/google/apis/cloudbuild_v1/representations.rb +20 -7
- data/generated/google/apis/cloudbuild_v1/service.rb +42 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +648 -578
- data/generated/google/apis/clouddebugger_v2/representations.rb +140 -140
- data/generated/google/apis/clouddebugger_v2/service.rb +161 -155
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +563 -423
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +116 -76
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +318 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +396 -331
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +317 -281
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +352 -80
- data/generated/google/apis/compute_beta/representations.rb +132 -19
- data/generated/google/apis/compute_beta/service.rb +214 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +673 -73
- data/generated/google/apis/compute_v1/representations.rb +274 -9
- data/generated/google/apis/compute_v1/service.rb +1574 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +7 -8
- data/generated/google/apis/content_v2/service.rb +125 -54
- data/generated/google/apis/dataflow_v1b3.rb +2 -3
- data/generated/google/apis/dataflow_v1b3/classes.rb +286 -114
- data/generated/google/apis/dataflow_v1b3/representations.rb +73 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +37 -38
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +5 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +37 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +16 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +4 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +55 -21
- data/generated/google/apis/drive_v2/representations.rb +2 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +41 -12
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/fitness_v1.rb +31 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +32 -1
- data/generated/google/apis/gmail_v1/representations.rb +15 -0
- data/generated/google/apis/gmail_v1/service.rb +41 -2
- data/generated/google/apis/identitytoolkit_v3.rb +4 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +7 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +1 -0
- data/generated/google/apis/kgsearch_v1.rb +2 -3
- data/generated/google/apis/kgsearch_v1/classes.rb +10 -10
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +28 -26
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +166 -8
- data/generated/google/apis/language_v1beta1/representations.rb +50 -0
- data/generated/google/apis/language_v1beta1/service.rb +32 -0
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +868 -789
- data/generated/google/apis/logging_v2beta1/representations.rb +179 -147
- data/generated/google/apis/logging_v2beta1/service.rb +378 -211
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +110 -112
- data/generated/google/apis/monitoring_v3/service.rb +68 -73
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +380 -327
- data/generated/google/apis/pubsub_v1/representations.rb +79 -79
- data/generated/google/apis/pubsub_v1/service.rb +424 -396
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +175 -53
- data/generated/google/apis/sheets_v4/representations.rb +48 -13
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +149 -31
- data/generated/google/apis/slides_v1/representations.rb +52 -9
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/service.rb +3 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +54 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -0
- data/generated/google/apis/storage_v1/representations.rb +2 -0
- data/generated/google/apis/tagmanager_v1.rb +5 -5
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +63 -59
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
- data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
- data/generated/google/apis/youtube_analytics_v1/service.rb +0 -76
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +71 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +33 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +52 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +15 -2
- data/generated/google/apis/youtube_v3/representations.rb +3 -0
- data/generated/google/apis/youtube_v3/service.rb +4 -4
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +146 -137
- data/generated/google/apis/youtubereporting_v1/representations.rb +33 -33
- data/generated/google/apis/youtubereporting_v1/service.rb +149 -145
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/calendar.rb +1 -1
- data/samples/cli/lib/samples/gmail.rb +74 -0
- metadata +29 -29
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
26
26
|
module AndroidpublisherV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170105'
|
29
29
|
|
30
30
|
# View and manage your Google Play Developer account
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
@@ -340,6 +340,85 @@ module Google
|
|
340
340
|
end
|
341
341
|
end
|
342
342
|
|
343
|
+
#
|
344
|
+
class DeviceMetadata
|
345
|
+
include Google::Apis::Core::Hashable
|
346
|
+
|
347
|
+
# Device CPU make e.g. "Qualcomm"
|
348
|
+
# Corresponds to the JSON property `cpuMake`
|
349
|
+
# @return [String]
|
350
|
+
attr_accessor :cpu_make
|
351
|
+
|
352
|
+
# Device CPU model e.g. "MSM8974"
|
353
|
+
# Corresponds to the JSON property `cpuModel`
|
354
|
+
# @return [String]
|
355
|
+
attr_accessor :cpu_model
|
356
|
+
|
357
|
+
# Device class (e.g. tablet)
|
358
|
+
# Corresponds to the JSON property `deviceClass`
|
359
|
+
# @return [String]
|
360
|
+
attr_accessor :device_class
|
361
|
+
|
362
|
+
# OpenGL version
|
363
|
+
# Corresponds to the JSON property `glEsVersion`
|
364
|
+
# @return [Fixnum]
|
365
|
+
attr_accessor :gl_es_version
|
366
|
+
|
367
|
+
# Device manufacturer (e.g. Motorola)
|
368
|
+
# Corresponds to the JSON property `manufacturer`
|
369
|
+
# @return [String]
|
370
|
+
attr_accessor :manufacturer
|
371
|
+
|
372
|
+
# Comma separated list of native platforms (e.g. "arm", "arm7")
|
373
|
+
# Corresponds to the JSON property `nativePlatform`
|
374
|
+
# @return [String]
|
375
|
+
attr_accessor :native_platform
|
376
|
+
|
377
|
+
# Device model name (e.g. Droid)
|
378
|
+
# Corresponds to the JSON property `productName`
|
379
|
+
# @return [String]
|
380
|
+
attr_accessor :product_name
|
381
|
+
|
382
|
+
# Device RAM in Megabytes e.g. "2048"
|
383
|
+
# Corresponds to the JSON property `ramMb`
|
384
|
+
# @return [Fixnum]
|
385
|
+
attr_accessor :ram_mb
|
386
|
+
|
387
|
+
# Screen density in DPI
|
388
|
+
# Corresponds to the JSON property `screenDensityDpi`
|
389
|
+
# @return [Fixnum]
|
390
|
+
attr_accessor :screen_density_dpi
|
391
|
+
|
392
|
+
# Screen height in pixels
|
393
|
+
# Corresponds to the JSON property `screenHeightPx`
|
394
|
+
# @return [Fixnum]
|
395
|
+
attr_accessor :screen_height_px
|
396
|
+
|
397
|
+
# Screen width in pixels
|
398
|
+
# Corresponds to the JSON property `screenWidthPx`
|
399
|
+
# @return [Fixnum]
|
400
|
+
attr_accessor :screen_width_px
|
401
|
+
|
402
|
+
def initialize(**args)
|
403
|
+
update!(**args)
|
404
|
+
end
|
405
|
+
|
406
|
+
# Update properties of this object
|
407
|
+
def update!(**args)
|
408
|
+
@cpu_make = args[:cpu_make] if args.key?(:cpu_make)
|
409
|
+
@cpu_model = args[:cpu_model] if args.key?(:cpu_model)
|
410
|
+
@device_class = args[:device_class] if args.key?(:device_class)
|
411
|
+
@gl_es_version = args[:gl_es_version] if args.key?(:gl_es_version)
|
412
|
+
@manufacturer = args[:manufacturer] if args.key?(:manufacturer)
|
413
|
+
@native_platform = args[:native_platform] if args.key?(:native_platform)
|
414
|
+
@product_name = args[:product_name] if args.key?(:product_name)
|
415
|
+
@ram_mb = args[:ram_mb] if args.key?(:ram_mb)
|
416
|
+
@screen_density_dpi = args[:screen_density_dpi] if args.key?(:screen_density_dpi)
|
417
|
+
@screen_height_px = args[:screen_height_px] if args.key?(:screen_height_px)
|
418
|
+
@screen_width_px = args[:screen_width_px] if args.key?(:screen_width_px)
|
419
|
+
end
|
420
|
+
end
|
421
|
+
|
343
422
|
# An Entitlement resource indicates a user's current entitlement to an inapp
|
344
423
|
# item or subscription.
|
345
424
|
class Entitlement
|
@@ -1721,11 +1800,22 @@ module Google
|
|
1721
1800
|
# @return [String]
|
1722
1801
|
attr_accessor :device
|
1723
1802
|
|
1803
|
+
# Some information about the characteristics of the user's device
|
1804
|
+
# Corresponds to the JSON property `deviceMetadata`
|
1805
|
+
# @return [Google::Apis::AndroidpublisherV2::DeviceMetadata]
|
1806
|
+
attr_accessor :device_metadata
|
1807
|
+
|
1724
1808
|
# The last time at which this comment was updated.
|
1725
1809
|
# Corresponds to the JSON property `lastModified`
|
1726
1810
|
# @return [Google::Apis::AndroidpublisherV2::Timestamp]
|
1727
1811
|
attr_accessor :last_modified
|
1728
1812
|
|
1813
|
+
# Untranslated text of the review, in the case where the review has been
|
1814
|
+
# translated. If the review has not been translated this is left blank.
|
1815
|
+
# Corresponds to the JSON property `originalText`
|
1816
|
+
# @return [String]
|
1817
|
+
attr_accessor :original_text
|
1818
|
+
|
1729
1819
|
# Language code for the reviewer. This is taken from the device settings so is
|
1730
1820
|
# not guaranteed to match the language the review is written in. May be absent.
|
1731
1821
|
# Corresponds to the JSON property `reviewerLanguage`
|
@@ -1744,6 +1834,16 @@ module Google
|
|
1744
1834
|
# @return [String]
|
1745
1835
|
attr_accessor :text
|
1746
1836
|
|
1837
|
+
# Number of users who have given this review a thumbs down
|
1838
|
+
# Corresponds to the JSON property `thumbsDownCount`
|
1839
|
+
# @return [Fixnum]
|
1840
|
+
attr_accessor :thumbs_down_count
|
1841
|
+
|
1842
|
+
# Number of users who have given this review a thumbs up
|
1843
|
+
# Corresponds to the JSON property `thumbsUpCount`
|
1844
|
+
# @return [Fixnum]
|
1845
|
+
attr_accessor :thumbs_up_count
|
1846
|
+
|
1747
1847
|
def initialize(**args)
|
1748
1848
|
update!(**args)
|
1749
1849
|
end
|
@@ -1754,10 +1854,86 @@ module Google
|
|
1754
1854
|
@app_version_code = args[:app_version_code] if args.key?(:app_version_code)
|
1755
1855
|
@app_version_name = args[:app_version_name] if args.key?(:app_version_name)
|
1756
1856
|
@device = args[:device] if args.key?(:device)
|
1857
|
+
@device_metadata = args[:device_metadata] if args.key?(:device_metadata)
|
1757
1858
|
@last_modified = args[:last_modified] if args.key?(:last_modified)
|
1859
|
+
@original_text = args[:original_text] if args.key?(:original_text)
|
1758
1860
|
@reviewer_language = args[:reviewer_language] if args.key?(:reviewer_language)
|
1759
1861
|
@star_rating = args[:star_rating] if args.key?(:star_rating)
|
1760
1862
|
@text = args[:text] if args.key?(:text)
|
1863
|
+
@thumbs_down_count = args[:thumbs_down_count] if args.key?(:thumbs_down_count)
|
1864
|
+
@thumbs_up_count = args[:thumbs_up_count] if args.key?(:thumbs_up_count)
|
1865
|
+
end
|
1866
|
+
end
|
1867
|
+
|
1868
|
+
# A VoidedPurchase resource indicates a purchase that was either cancelled/
|
1869
|
+
# refunded/charged-back.
|
1870
|
+
class VoidedPurchase
|
1871
|
+
include Google::Apis::Core::Hashable
|
1872
|
+
|
1873
|
+
# This kind represents a voided purchase object in the androidpublisher service.
|
1874
|
+
# Corresponds to the JSON property `kind`
|
1875
|
+
# @return [String]
|
1876
|
+
attr_accessor :kind
|
1877
|
+
|
1878
|
+
# The time at which the purchase was made, in milliseconds since the epoch (Jan
|
1879
|
+
# 1, 1970).
|
1880
|
+
# Corresponds to the JSON property `purchaseTimeMillis`
|
1881
|
+
# @return [String]
|
1882
|
+
attr_accessor :purchase_time_millis
|
1883
|
+
|
1884
|
+
# The token that was generated when a purchase was made. This uniquely
|
1885
|
+
# identifies a purchase.
|
1886
|
+
# Corresponds to the JSON property `purchaseToken`
|
1887
|
+
# @return [String]
|
1888
|
+
attr_accessor :purchase_token
|
1889
|
+
|
1890
|
+
# The time at which the purchase was cancelled/refunded/charged-back, in
|
1891
|
+
# milliseconds since the epoch (Jan 1, 1970).
|
1892
|
+
# Corresponds to the JSON property `voidedTimeMillis`
|
1893
|
+
# @return [String]
|
1894
|
+
attr_accessor :voided_time_millis
|
1895
|
+
|
1896
|
+
def initialize(**args)
|
1897
|
+
update!(**args)
|
1898
|
+
end
|
1899
|
+
|
1900
|
+
# Update properties of this object
|
1901
|
+
def update!(**args)
|
1902
|
+
@kind = args[:kind] if args.key?(:kind)
|
1903
|
+
@purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
|
1904
|
+
@purchase_token = args[:purchase_token] if args.key?(:purchase_token)
|
1905
|
+
@voided_time_millis = args[:voided_time_millis] if args.key?(:voided_time_millis)
|
1906
|
+
end
|
1907
|
+
end
|
1908
|
+
|
1909
|
+
#
|
1910
|
+
class VoidedPurchasesListResponse
|
1911
|
+
include Google::Apis::Core::Hashable
|
1912
|
+
|
1913
|
+
#
|
1914
|
+
# Corresponds to the JSON property `pageInfo`
|
1915
|
+
# @return [Google::Apis::AndroidpublisherV2::PageInfo]
|
1916
|
+
attr_accessor :page_info
|
1917
|
+
|
1918
|
+
#
|
1919
|
+
# Corresponds to the JSON property `tokenPagination`
|
1920
|
+
# @return [Google::Apis::AndroidpublisherV2::TokenPagination]
|
1921
|
+
attr_accessor :token_pagination
|
1922
|
+
|
1923
|
+
#
|
1924
|
+
# Corresponds to the JSON property `voidedPurchases`
|
1925
|
+
# @return [Array<Google::Apis::AndroidpublisherV2::VoidedPurchase>]
|
1926
|
+
attr_accessor :voided_purchases
|
1927
|
+
|
1928
|
+
def initialize(**args)
|
1929
|
+
update!(**args)
|
1930
|
+
end
|
1931
|
+
|
1932
|
+
# Update properties of this object
|
1933
|
+
def update!(**args)
|
1934
|
+
@page_info = args[:page_info] if args.key?(:page_info)
|
1935
|
+
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
1936
|
+
@voided_purchases = args[:voided_purchases] if args.key?(:voided_purchases)
|
1761
1937
|
end
|
1762
1938
|
end
|
1763
1939
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class DeviceMetadata
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class Entitlement
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -364,6 +370,18 @@ module Google
|
|
364
370
|
include Google::Apis::Core::JsonObjectSupport
|
365
371
|
end
|
366
372
|
|
373
|
+
class VoidedPurchase
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
379
|
+
class VoidedPurchasesListResponse
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
367
385
|
class Apk
|
368
386
|
# @private
|
369
387
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -474,6 +492,23 @@ module Google
|
|
474
492
|
end
|
475
493
|
end
|
476
494
|
|
495
|
+
class DeviceMetadata
|
496
|
+
# @private
|
497
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
498
|
+
property :cpu_make, as: 'cpuMake'
|
499
|
+
property :cpu_model, as: 'cpuModel'
|
500
|
+
property :device_class, as: 'deviceClass'
|
501
|
+
property :gl_es_version, as: 'glEsVersion'
|
502
|
+
property :manufacturer, as: 'manufacturer'
|
503
|
+
property :native_platform, as: 'nativePlatform'
|
504
|
+
property :product_name, as: 'productName'
|
505
|
+
property :ram_mb, as: 'ramMb'
|
506
|
+
property :screen_density_dpi, as: 'screenDensityDpi'
|
507
|
+
property :screen_height_px, as: 'screenHeightPx'
|
508
|
+
property :screen_width_px, as: 'screenWidthPx'
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
477
512
|
class Entitlement
|
478
513
|
# @private
|
479
514
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -901,11 +936,38 @@ module Google
|
|
901
936
|
property :app_version_code, as: 'appVersionCode'
|
902
937
|
property :app_version_name, as: 'appVersionName'
|
903
938
|
property :device, as: 'device'
|
939
|
+
property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroidpublisherV2::DeviceMetadata, decorator: Google::Apis::AndroidpublisherV2::DeviceMetadata::Representation
|
940
|
+
|
904
941
|
property :last_modified, as: 'lastModified', class: Google::Apis::AndroidpublisherV2::Timestamp, decorator: Google::Apis::AndroidpublisherV2::Timestamp::Representation
|
905
942
|
|
943
|
+
property :original_text, as: 'originalText'
|
906
944
|
property :reviewer_language, as: 'reviewerLanguage'
|
907
945
|
property :star_rating, as: 'starRating'
|
908
946
|
property :text, as: 'text'
|
947
|
+
property :thumbs_down_count, as: 'thumbsDownCount'
|
948
|
+
property :thumbs_up_count, as: 'thumbsUpCount'
|
949
|
+
end
|
950
|
+
end
|
951
|
+
|
952
|
+
class VoidedPurchase
|
953
|
+
# @private
|
954
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
955
|
+
property :kind, as: 'kind'
|
956
|
+
property :purchase_time_millis, as: 'purchaseTimeMillis'
|
957
|
+
property :purchase_token, as: 'purchaseToken'
|
958
|
+
property :voided_time_millis, as: 'voidedTimeMillis'
|
959
|
+
end
|
960
|
+
end
|
961
|
+
|
962
|
+
class VoidedPurchasesListResponse
|
963
|
+
# @private
|
964
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
965
|
+
property :page_info, as: 'pageInfo', class: Google::Apis::AndroidpublisherV2::PageInfo, decorator: Google::Apis::AndroidpublisherV2::PageInfo::Representation
|
966
|
+
|
967
|
+
property :token_pagination, as: 'tokenPagination', class: Google::Apis::AndroidpublisherV2::TokenPagination, decorator: Google::Apis::AndroidpublisherV2::TokenPagination::Representation
|
968
|
+
|
969
|
+
collection :voided_purchases, as: 'voidedPurchases', class: Google::Apis::AndroidpublisherV2::VoidedPurchase, decorator: Google::Apis::AndroidpublisherV2::VoidedPurchase::Representation
|
970
|
+
|
909
971
|
end
|
910
972
|
end
|
911
973
|
end
|
@@ -2380,11 +2380,66 @@ module Google
|
|
2380
2380
|
execute_or_queue_command(command, &block)
|
2381
2381
|
end
|
2382
2382
|
|
2383
|
+
# Lists the purchases that were cancelled, refunded or charged-back.
|
2384
|
+
# @param [String] package_name
|
2385
|
+
# The package name of the application for which voided purchases need to be
|
2386
|
+
# returned (for example, 'com.some.thing').
|
2387
|
+
# @param [String] end_time
|
2388
|
+
# The time, in milliseconds since the Epoch, of the newest voided in-app product
|
2389
|
+
# purchase that you want to see in the response. The value of this parameter
|
2390
|
+
# cannot be greater than the current time and is ignored if a pagination token
|
2391
|
+
# is set. Default value is current time.
|
2392
|
+
# @param [Fixnum] max_results
|
2393
|
+
# @param [Fixnum] start_index
|
2394
|
+
# @param [String] start_time
|
2395
|
+
# The time, in milliseconds since the Epoch, of the oldest voided in-app product
|
2396
|
+
# purchase that you want to see in the response. The value of this parameter
|
2397
|
+
# cannot be older than 30 days and is ignored if a pagination token is set.
|
2398
|
+
# Default value is current time minus 30 days.
|
2399
|
+
# @param [String] token
|
2400
|
+
# @param [String] fields
|
2401
|
+
# Selector specifying which fields to include in a partial response.
|
2402
|
+
# @param [String] quota_user
|
2403
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2404
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2405
|
+
# Overrides userIp if both are provided.
|
2406
|
+
# @param [String] user_ip
|
2407
|
+
# IP address of the site where the request originates. Use this if you want to
|
2408
|
+
# enforce per-user limits.
|
2409
|
+
# @param [Google::Apis::RequestOptions] options
|
2410
|
+
# Request-specific options
|
2411
|
+
#
|
2412
|
+
# @yield [result, err] Result & error if block supplied
|
2413
|
+
# @yieldparam result [Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse] parsed result object
|
2414
|
+
# @yieldparam err [StandardError] error object if request failed
|
2415
|
+
#
|
2416
|
+
# @return [Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse]
|
2417
|
+
#
|
2418
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2419
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2420
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2421
|
+
def list_purchase_voidedpurchases(package_name, end_time: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2422
|
+
command = make_simple_command(:get, '{packageName}/purchases/voidedpurchases', options)
|
2423
|
+
command.response_representation = Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse::Representation
|
2424
|
+
command.response_class = Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse
|
2425
|
+
command.params['packageName'] = package_name unless package_name.nil?
|
2426
|
+
command.query['endTime'] = end_time unless end_time.nil?
|
2427
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
2428
|
+
command.query['startIndex'] = start_index unless start_index.nil?
|
2429
|
+
command.query['startTime'] = start_time unless start_time.nil?
|
2430
|
+
command.query['token'] = token unless token.nil?
|
2431
|
+
command.query['fields'] = fields unless fields.nil?
|
2432
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2433
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2434
|
+
execute_or_queue_command(command, &block)
|
2435
|
+
end
|
2436
|
+
|
2383
2437
|
# Returns a single review.
|
2384
2438
|
# @param [String] package_name
|
2385
2439
|
# Unique identifier for the Android app for which we want reviews; for example, "
|
2386
2440
|
# com.spiffygame".
|
2387
2441
|
# @param [String] review_id
|
2442
|
+
# @param [String] translation_language
|
2388
2443
|
# @param [String] fields
|
2389
2444
|
# Selector specifying which fields to include in a partial response.
|
2390
2445
|
# @param [String] quota_user
|
@@ -2406,12 +2461,13 @@ module Google
|
|
2406
2461
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2407
2462
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2408
2463
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2409
|
-
def get_review(package_name, review_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2464
|
+
def get_review(package_name, review_id, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2410
2465
|
command = make_simple_command(:get, '{packageName}/reviews/{reviewId}', options)
|
2411
2466
|
command.response_representation = Google::Apis::AndroidpublisherV2::Review::Representation
|
2412
2467
|
command.response_class = Google::Apis::AndroidpublisherV2::Review
|
2413
2468
|
command.params['packageName'] = package_name unless package_name.nil?
|
2414
2469
|
command.params['reviewId'] = review_id unless review_id.nil?
|
2470
|
+
command.query['translationLanguage'] = translation_language unless translation_language.nil?
|
2415
2471
|
command.query['fields'] = fields unless fields.nil?
|
2416
2472
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2417
2473
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -2425,6 +2481,7 @@ module Google
|
|
2425
2481
|
# @param [Fixnum] max_results
|
2426
2482
|
# @param [Fixnum] start_index
|
2427
2483
|
# @param [String] token
|
2484
|
+
# @param [String] translation_language
|
2428
2485
|
# @param [String] fields
|
2429
2486
|
# Selector specifying which fields to include in a partial response.
|
2430
2487
|
# @param [String] quota_user
|
@@ -2446,7 +2503,7 @@ module Google
|
|
2446
2503
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2447
2504
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2448
2505
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2449
|
-
def list_reviews(package_name, max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2506
|
+
def list_reviews(package_name, max_results: nil, start_index: nil, token: nil, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2450
2507
|
command = make_simple_command(:get, '{packageName}/reviews', options)
|
2451
2508
|
command.response_representation = Google::Apis::AndroidpublisherV2::ReviewsListResponse::Representation
|
2452
2509
|
command.response_class = Google::Apis::AndroidpublisherV2::ReviewsListResponse
|
@@ -2454,6 +2511,7 @@ module Google
|
|
2454
2511
|
command.query['maxResults'] = max_results unless max_results.nil?
|
2455
2512
|
command.query['startIndex'] = start_index unless start_index.nil?
|
2456
2513
|
command.query['token'] = token unless token.nil?
|
2514
|
+
command.query['translationLanguage'] = translation_language unless translation_language.nil?
|
2457
2515
|
command.query['fields'] = fields unless fields.nil?
|
2458
2516
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2459
2517
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
26
26
|
module AppengineV1beta5
|
27
27
|
VERSION = 'V1beta5'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20161208'
|
29
29
|
|
30
30
|
# View and manage your applications deployed on Google App Engine
|
31
31
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
@@ -53,8 +53,8 @@ module Google
|
|
53
53
|
include Google::Apis::Core::Hashable
|
54
54
|
|
55
55
|
# The server-assigned name, which is only unique within the same service that
|
56
|
-
# originally returns it. If you use the default HTTP mapping, the
|
57
|
-
# have the format of
|
56
|
+
# originally returns it. If you use the default HTTP mapping, the name should
|
57
|
+
# have the format of operations/some/unique/name.
|
58
58
|
# Corresponds to the JSON property `name`
|
59
59
|
# @return [String]
|
60
60
|
attr_accessor :name
|
@@ -67,56 +67,55 @@ module Google
|
|
67
67
|
# @return [Hash<String,Object>]
|
68
68
|
attr_accessor :metadata
|
69
69
|
|
70
|
-
# If the value is
|
71
|
-
# the operation is completed, and either
|
70
|
+
# If the value is false, it means the operation is still in progress. If true,
|
71
|
+
# the operation is completed, and either error or response is available.
|
72
72
|
# Corresponds to the JSON property `done`
|
73
73
|
# @return [Boolean]
|
74
74
|
attr_accessor :done
|
75
75
|
alias_method :done?, :done
|
76
76
|
|
77
|
-
# The
|
78
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
# message, and error details. The error code should be an enum value of
|
83
|
-
# rpc.Code, but it may accept additional error codes if needed. The error
|
84
|
-
# message should be a developer-facing English message that helps developers
|
85
|
-
# understand
|
86
|
-
#
|
87
|
-
#
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
#
|
93
|
-
#
|
94
|
-
#
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
100
|
-
#
|
101
|
-
#
|
102
|
-
#
|
103
|
-
#
|
104
|
-
#
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
108
|
-
# security/privacy reasons.
|
77
|
+
# The Status type defines a logical error model that is suitable for different
|
78
|
+
# programming environments, including REST APIs and RPC APIs. It is used by gRPC
|
79
|
+
# (https://github.com/grpc). The error model is designed to be: Simple to use
|
80
|
+
# and understand for most users Flexible enough to meet unexpected
|
81
|
+
# needsOverviewThe Status message contains three pieces of data: error code,
|
82
|
+
# error message, and error details. The error code should be an enum value of
|
83
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The error
|
84
|
+
# message should be a developer-facing English message that helps developers
|
85
|
+
# understand and resolve the error. If a localized user-facing error message is
|
86
|
+
# needed, put the localized message in the error details or localize it in the
|
87
|
+
# client. The optional error details may contain arbitrary information about the
|
88
|
+
# error. There is a predefined set of error detail types in the package google.
|
89
|
+
# rpc which can be used for common error conditions.Language mappingThe Status
|
90
|
+
# message is the logical representation of the error model, but it is not
|
91
|
+
# necessarily the actual wire format. When the Status message is exposed in
|
92
|
+
# different client libraries and different wire protocols, it can be mapped
|
93
|
+
# differently. For example, it will likely be mapped to some exceptions in Java,
|
94
|
+
# but more likely mapped to some error codes in C.Other usesThe error model and
|
95
|
+
# the Status message can be used in a variety of environments, either with or
|
96
|
+
# without APIs, to provide a consistent developer experience across different
|
97
|
+
# environments.Example uses of this error model include: Partial errors. If a
|
98
|
+
# service needs to return partial errors to the client, it may embed the Status
|
99
|
+
# in the normal response to indicate the partial errors. Workflow errors. A
|
100
|
+
# typical workflow has multiple steps. Each step may have a Status message for
|
101
|
+
# error reporting purpose. Batch operations. If a client uses batch request and
|
102
|
+
# batch response, the Status message should be used directly inside batch
|
103
|
+
# response, one for each error sub-response. Asynchronous operations. If an API
|
104
|
+
# call embeds asynchronous operation results in its response, the status of
|
105
|
+
# those operations should be represented directly using the Status message.
|
106
|
+
# Logging. If some API errors are stored in logs, the message Status could be
|
107
|
+
# used directly after any stripping needed for security/privacy reasons.
|
109
108
|
# Corresponds to the JSON property `error`
|
110
109
|
# @return [Google::Apis::AppengineV1beta5::Status]
|
111
110
|
attr_accessor :error
|
112
111
|
|
113
112
|
# The normal response of the operation in case of success. If the original
|
114
|
-
# method returns no data on success, such as
|
115
|
-
# protobuf.Empty
|
116
|
-
#
|
117
|
-
#
|
118
|
-
#
|
119
|
-
#
|
113
|
+
# method returns no data on success, such as Delete, the response is google.
|
114
|
+
# protobuf.Empty. If the original method is standard Get/Create/Update, the
|
115
|
+
# response should be the resource. For other methods, the response should have
|
116
|
+
# the type XxxResponse, where Xxx is the original method name. For example, if
|
117
|
+
# the original method name is TakeSnapshot(), the inferred response type is
|
118
|
+
# TakeSnapshotResponse.
|
120
119
|
# Corresponds to the JSON property `response`
|
121
120
|
# @return [Hash<String,Object>]
|
122
121
|
attr_accessor :response
|
@@ -135,38 +134,37 @@ module Google
|
|
135
134
|
end
|
136
135
|
end
|
137
136
|
|
138
|
-
# The
|
139
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
140
|
-
#
|
141
|
-
#
|
142
|
-
#
|
143
|
-
# message, and error details. The error code should be an enum value of
|
144
|
-
# rpc.Code, but it may accept additional error codes if needed. The error
|
145
|
-
# message should be a developer-facing English message that helps developers
|
146
|
-
# understand
|
147
|
-
#
|
148
|
-
#
|
149
|
-
#
|
150
|
-
#
|
151
|
-
#
|
152
|
-
#
|
153
|
-
#
|
154
|
-
#
|
155
|
-
#
|
156
|
-
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
#
|
160
|
-
#
|
161
|
-
#
|
162
|
-
#
|
163
|
-
#
|
164
|
-
#
|
165
|
-
#
|
166
|
-
#
|
167
|
-
#
|
168
|
-
#
|
169
|
-
# security/privacy reasons.
|
137
|
+
# The Status type defines a logical error model that is suitable for different
|
138
|
+
# programming environments, including REST APIs and RPC APIs. It is used by gRPC
|
139
|
+
# (https://github.com/grpc). The error model is designed to be: Simple to use
|
140
|
+
# and understand for most users Flexible enough to meet unexpected
|
141
|
+
# needsOverviewThe Status message contains three pieces of data: error code,
|
142
|
+
# error message, and error details. The error code should be an enum value of
|
143
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The error
|
144
|
+
# message should be a developer-facing English message that helps developers
|
145
|
+
# understand and resolve the error. If a localized user-facing error message is
|
146
|
+
# needed, put the localized message in the error details or localize it in the
|
147
|
+
# client. The optional error details may contain arbitrary information about the
|
148
|
+
# error. There is a predefined set of error detail types in the package google.
|
149
|
+
# rpc which can be used for common error conditions.Language mappingThe Status
|
150
|
+
# message is the logical representation of the error model, but it is not
|
151
|
+
# necessarily the actual wire format. When the Status message is exposed in
|
152
|
+
# different client libraries and different wire protocols, it can be mapped
|
153
|
+
# differently. For example, it will likely be mapped to some exceptions in Java,
|
154
|
+
# but more likely mapped to some error codes in C.Other usesThe error model and
|
155
|
+
# the Status message can be used in a variety of environments, either with or
|
156
|
+
# without APIs, to provide a consistent developer experience across different
|
157
|
+
# environments.Example uses of this error model include: Partial errors. If a
|
158
|
+
# service needs to return partial errors to the client, it may embed the Status
|
159
|
+
# in the normal response to indicate the partial errors. Workflow errors. A
|
160
|
+
# typical workflow has multiple steps. Each step may have a Status message for
|
161
|
+
# error reporting purpose. Batch operations. If a client uses batch request and
|
162
|
+
# batch response, the Status message should be used directly inside batch
|
163
|
+
# response, one for each error sub-response. Asynchronous operations. If an API
|
164
|
+
# call embeds asynchronous operation results in its response, the status of
|
165
|
+
# those operations should be represented directly using the Status message.
|
166
|
+
# Logging. If some API errors are stored in logs, the message Status could be
|
167
|
+
# used directly after any stripping needed for security/privacy reasons.
|
170
168
|
class Status
|
171
169
|
include Google::Apis::Core::Hashable
|
172
170
|
|
@@ -205,7 +203,7 @@ module Google
|
|
205
203
|
class Application
|
206
204
|
include Google::Apis::Core::Hashable
|
207
205
|
|
208
|
-
# Full path to the Application resource in the API. Example:
|
206
|
+
# Full path to the Application resource in the API. Example: apps/myapp.@
|
209
207
|
# OutputOnly
|
210
208
|
# Corresponds to the JSON property `name`
|
211
209
|
# @return [String]
|
@@ -213,51 +211,50 @@ module Google
|
|
213
211
|
|
214
212
|
# Identifier of the Application resource. This identifier is equivalent to the
|
215
213
|
# project ID of the Google Cloud Platform project where you want to deploy your
|
216
|
-
# application. Example:
|
214
|
+
# application. Example: myapp.
|
217
215
|
# Corresponds to the JSON property `id`
|
218
216
|
# @return [String]
|
219
217
|
attr_accessor :id
|
220
218
|
|
221
219
|
# HTTP path dispatch rules for requests to the application that do not
|
222
|
-
# explicitly target a service or version. Rules are order-dependent
|
220
|
+
# explicitly target a service or version. Rules are order-dependent.@OutputOnly
|
223
221
|
# Corresponds to the JSON property `dispatchRules`
|
224
222
|
# @return [Array<Google::Apis::AppengineV1beta5::UrlDispatchRule>]
|
225
223
|
attr_accessor :dispatch_rules
|
226
224
|
|
227
225
|
# Google Apps authentication domain that controls which users can access this
|
228
|
-
# application.
|
226
|
+
# application.Defaults to open access for any Google Account.
|
229
227
|
# Corresponds to the JSON property `authDomain`
|
230
228
|
# @return [String]
|
231
229
|
attr_accessor :auth_domain
|
232
230
|
|
233
231
|
# Location from which this application will be run. Application instances will
|
234
232
|
# run out of data centers in the chosen location, which is also where all of the
|
235
|
-
# application's end user content is stored.
|
236
|
-
#
|
237
|
-
# Eastern US
|
233
|
+
# application's end user content is stored.Defaults to us-central.Options are:us-
|
234
|
+
# central - Central USeurope-west - Western Europeus-east1 - Eastern US
|
238
235
|
# Corresponds to the JSON property `location`
|
239
236
|
# @return [String]
|
240
237
|
attr_accessor :location
|
241
238
|
|
242
239
|
# A Google Cloud Storage bucket that can be used for storing files associated
|
243
240
|
# with this application. This bucket is associated with the application and can
|
244
|
-
# be used by the gcloud deployment commands
|
241
|
+
# be used by the gcloud deployment commands.@OutputOnly
|
245
242
|
# Corresponds to the JSON property `codeBucket`
|
246
243
|
# @return [String]
|
247
244
|
attr_accessor :code_bucket
|
248
245
|
|
249
|
-
# Cookie expiration policy for this application.
|
246
|
+
# Cookie expiration policy for this application.
|
250
247
|
# Corresponds to the JSON property `defaultCookieExpiration`
|
251
248
|
# @return [String]
|
252
249
|
attr_accessor :default_cookie_expiration
|
253
250
|
|
254
|
-
# Hostname used to reach the application, as resolved by App Engine
|
251
|
+
# Hostname used to reach the application, as resolved by App Engine.@OutputOnly
|
255
252
|
# Corresponds to the JSON property `defaultHostname`
|
256
253
|
# @return [String]
|
257
254
|
attr_accessor :default_hostname
|
258
255
|
|
259
256
|
# A Google Cloud Storage bucket that can be used by the application to store
|
260
|
-
# content
|
257
|
+
# content.@OutputOnly
|
261
258
|
# Corresponds to the JSON property `defaultBucket`
|
262
259
|
# @return [String]
|
263
260
|
attr_accessor :default_bucket
|
@@ -284,21 +281,21 @@ module Google
|
|
284
281
|
class UrlDispatchRule
|
285
282
|
include Google::Apis::Core::Hashable
|
286
283
|
|
287
|
-
# Domain name to match against. The wildcard "
|
288
|
-
# before a period: "
|
284
|
+
# Domain name to match against. The wildcard "*" is supported if specified
|
285
|
+
# before a period: "*.".Defaults to matching all domains: "*".
|
289
286
|
# Corresponds to the JSON property `domain`
|
290
287
|
# @return [String]
|
291
288
|
attr_accessor :domain
|
292
289
|
|
293
|
-
# Pathname within the host. Must start with a "
|
294
|
-
#
|
295
|
-
#
|
290
|
+
# Pathname within the host. Must start with a "/". A single "*" can be included
|
291
|
+
# at the end of the path. The sum of the lengths of the domain and path may not
|
292
|
+
# exceed 100 characters.
|
296
293
|
# Corresponds to the JSON property `path`
|
297
294
|
# @return [String]
|
298
295
|
attr_accessor :path
|
299
296
|
|
300
297
|
# Resource id of a service in this application that should serve the matched
|
301
|
-
# request. The service must already exist. Example:
|
298
|
+
# request. The service must already exist. Example: default.
|
302
299
|
# Corresponds to the JSON property `service`
|
303
300
|
# @return [String]
|
304
301
|
attr_accessor :service
|
@@ -320,15 +317,15 @@ module Google
|
|
320
317
|
class Version
|
321
318
|
include Google::Apis::Core::Hashable
|
322
319
|
|
323
|
-
# Full path to the Version resource in the API. Example:
|
324
|
-
# default/versions/v1
|
320
|
+
# Full path to the Version resource in the API. Example: apps/myapp/services/
|
321
|
+
# default/versions/v1.@OutputOnly
|
325
322
|
# Corresponds to the JSON property `name`
|
326
323
|
# @return [String]
|
327
324
|
attr_accessor :name
|
328
325
|
|
329
|
-
# Relative name of the version within the module. Example:
|
330
|
-
#
|
331
|
-
#
|
326
|
+
# Relative name of the version within the module. Example: v1. Version names can
|
327
|
+
# contain only lowercase letters, numbers, or hyphens. Reserved names: "default",
|
328
|
+
# "latest", and any name with the prefix "ah-".
|
332
329
|
# Corresponds to the JSON property `id`
|
333
330
|
# @return [String]
|
334
331
|
attr_accessor :id
|
@@ -359,10 +356,10 @@ module Google
|
|
359
356
|
# @return [Array<String>]
|
360
357
|
attr_accessor :inbound_services
|
361
358
|
|
362
|
-
# Instance class that is used to run this version. Valid values are:
|
363
|
-
# AutomaticScaling:
|
364
|
-
#
|
365
|
-
#
|
359
|
+
# Instance class that is used to run this version. Valid values are:
|
360
|
+
# AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2, B4,
|
361
|
+
# B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or
|
362
|
+
# BasicScaling.
|
366
363
|
# Corresponds to the JSON property `instanceClass`
|
367
364
|
# @return [String]
|
368
365
|
attr_accessor :instance_class
|
@@ -377,7 +374,7 @@ module Google
|
|
377
374
|
# @return [Google::Apis::AppengineV1beta5::Resources]
|
378
375
|
attr_accessor :resources
|
379
376
|
|
380
|
-
# Desired runtime. Example:
|
377
|
+
# Desired runtime. Example: python27.
|
381
378
|
# Corresponds to the JSON property `runtime`
|
382
379
|
# @return [String]
|
383
380
|
attr_accessor :runtime
|
@@ -400,70 +397,69 @@ module Google
|
|
400
397
|
# @return [Hash<String,String>]
|
401
398
|
attr_accessor :beta_settings
|
402
399
|
|
403
|
-
# App Engine execution environment to use for this version.
|
400
|
+
# App Engine execution environment to use for this version.Defaults to 1.
|
404
401
|
# Corresponds to the JSON property `env`
|
405
402
|
# @return [String]
|
406
403
|
attr_accessor :env
|
407
404
|
|
408
|
-
# Current serving status of this version. Only the versions with a
|
409
|
-
# status create instances and can be billed.
|
410
|
-
# invalid value. Defaults to
|
405
|
+
# Current serving status of this version. Only the versions with a SERVING
|
406
|
+
# status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
|
407
|
+
# invalid value. Defaults to SERVING.
|
411
408
|
# Corresponds to the JSON property `servingStatus`
|
412
409
|
# @return [String]
|
413
410
|
attr_accessor :serving_status
|
414
411
|
|
415
|
-
# Email address of the user who created this version
|
412
|
+
# Email address of the user who created this version.@OutputOnly
|
416
413
|
# Corresponds to the JSON property `deployer`
|
417
414
|
# @return [String]
|
418
415
|
attr_accessor :deployer
|
419
416
|
|
420
|
-
# Time that this version was created
|
417
|
+
# Time that this version was created.@OutputOnly
|
421
418
|
# Corresponds to the JSON property `creationTime`
|
422
419
|
# @return [String]
|
423
420
|
attr_accessor :creation_time
|
424
421
|
|
425
|
-
# Total size of version files hosted on App Engine disk in bytes
|
422
|
+
# Total size of version files hosted on App Engine disk in bytes.@OutputOnly
|
426
423
|
# Corresponds to the JSON property `diskUsageBytes`
|
427
424
|
# @return [String]
|
428
425
|
attr_accessor :disk_usage_bytes
|
429
426
|
|
430
427
|
# An ordered list of URL-matching patterns that should be applied to incoming
|
431
428
|
# requests. The first matching URL handles the request and other request
|
432
|
-
# handlers are not attempted.
|
433
|
-
# set.
|
429
|
+
# handlers are not attempted.Only returned in GET requests if view=FULL is set.
|
434
430
|
# Corresponds to the JSON property `handlers`
|
435
431
|
# @return [Array<Google::Apis::AppengineV1beta5::UrlMap>]
|
436
432
|
attr_accessor :handlers
|
437
433
|
|
438
|
-
# Custom static error pages. Limited to 10KB per page.
|
439
|
-
# requests if
|
434
|
+
# Custom static error pages. Limited to 10KB per page.Only returned in GET
|
435
|
+
# requests if view=FULL is set.
|
440
436
|
# Corresponds to the JSON property `errorHandlers`
|
441
437
|
# @return [Array<Google::Apis::AppengineV1beta5::ErrorHandler>]
|
442
438
|
attr_accessor :error_handlers
|
443
439
|
|
444
440
|
# Configuration for third-party Python runtime libraries required by the
|
445
|
-
# application.
|
441
|
+
# application.Only returned in GET requests if view=FULL is set.
|
446
442
|
# Corresponds to the JSON property `libraries`
|
447
443
|
# @return [Array<Google::Apis::AppengineV1beta5::Library>]
|
448
444
|
attr_accessor :libraries
|
449
445
|
|
450
|
-
#
|
446
|
+
# Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/
|
451
447
|
# endpoints/) configuration for API handlers.
|
452
448
|
# Corresponds to the JSON property `apiConfig`
|
453
449
|
# @return [Google::Apis::AppengineV1beta5::ApiConfigHandler]
|
454
450
|
attr_accessor :api_config
|
455
451
|
|
456
|
-
# Environment variables made available to the application.
|
457
|
-
# requests if
|
452
|
+
# Environment variables made available to the application.Only returned in GET
|
453
|
+
# requests if view=FULL is set.
|
458
454
|
# Corresponds to the JSON property `envVariables`
|
459
455
|
# @return [Hash<String,String>]
|
460
456
|
attr_accessor :env_variables
|
461
457
|
|
462
458
|
# Duration that static files should be cached by web proxies and browsers. Only
|
463
|
-
# applicable if the corresponding
|
459
|
+
# applicable if the corresponding StaticFilesHandler (https://cloud.google.com/
|
464
460
|
# appengine/docs/admin-api/reference/rest/v1/apps.services.versions#
|
465
|
-
# staticfileshandler) does not specify its own expiration time.
|
466
|
-
#
|
461
|
+
# staticfileshandler) does not specify its own expiration time.Only returned in
|
462
|
+
# GET requests if view=FULL is set.
|
467
463
|
# Corresponds to the JSON property `defaultExpiration`
|
468
464
|
# @return [String]
|
469
465
|
attr_accessor :default_expiration
|
@@ -476,8 +472,7 @@ module Google
|
|
476
472
|
attr_accessor :health_check
|
477
473
|
|
478
474
|
# Files that match this pattern will not be built into this version. Only
|
479
|
-
# applicable for Go runtimes.
|
480
|
-
# set.
|
475
|
+
# applicable for Go runtimes.Only returned in GET requests if view=FULL is set.
|
481
476
|
# Corresponds to the JSON property `nobuildFilesRegex`
|
482
477
|
# @return [String]
|
483
478
|
attr_accessor :nobuild_files_regex
|
@@ -487,6 +482,15 @@ module Google
|
|
487
482
|
# @return [Google::Apis::AppengineV1beta5::Deployment]
|
488
483
|
attr_accessor :deployment
|
489
484
|
|
485
|
+
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
486
|
+
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
487
|
+
# via an NGINX proxy.The fields here refer to the name and configuration id of a
|
488
|
+
# "service" resource in the Service Management API (https://cloud.google.com/
|
489
|
+
# service-management/overview).
|
490
|
+
# Corresponds to the JSON property `endpointsApiService`
|
491
|
+
# @return [Google::Apis::AppengineV1beta5::EndpointsApiService]
|
492
|
+
attr_accessor :endpoints_api_service
|
493
|
+
|
490
494
|
def initialize(**args)
|
491
495
|
update!(**args)
|
492
496
|
end
|
@@ -520,6 +524,7 @@ module Google
|
|
520
524
|
@health_check = args[:health_check] if args.key?(:health_check)
|
521
525
|
@nobuild_files_regex = args[:nobuild_files_regex] if args.key?(:nobuild_files_regex)
|
522
526
|
@deployment = args[:deployment] if args.key?(:deployment)
|
527
|
+
@endpoints_api_service = args[:endpoints_api_service] if args.key?(:endpoints_api_service)
|
523
528
|
end
|
524
529
|
end
|
525
530
|
|
@@ -528,7 +533,7 @@ module Google
|
|
528
533
|
class AutomaticScaling
|
529
534
|
include Google::Apis::Core::Hashable
|
530
535
|
|
531
|
-
# Amount of time that the
|
536
|
+
# Amount of time that the Autoscaler (https://cloud.google.com/compute/docs/
|
532
537
|
# autoscaler/) should wait between changes to the number of virtual machines.
|
533
538
|
# Only applicable for VM runtimes.
|
534
539
|
# Corresponds to the JSON property `coolDownPeriod`
|
@@ -541,7 +546,7 @@ module Google
|
|
541
546
|
attr_accessor :cpu_utilization
|
542
547
|
|
543
548
|
# Number of concurrent requests an automatic scaling instance can accept before
|
544
|
-
# the scheduler spawns a new instance.
|
549
|
+
# the scheduler spawns a new instance.Defaults to a runtime-specific value.
|
545
550
|
# Corresponds to the JSON property `maxConcurrentRequests`
|
546
551
|
# @return [Fixnum]
|
547
552
|
attr_accessor :max_concurrent_requests
|
@@ -774,8 +779,8 @@ module Google
|
|
774
779
|
include Google::Apis::Core::Hashable
|
775
780
|
|
776
781
|
# Number of instances to assign to the service at the start. This number can
|
777
|
-
# later be altered by using the
|
778
|
-
# docs/python/modules/functions)
|
782
|
+
# later be altered by using the Modules API (https://cloud.google.com/appengine/
|
783
|
+
# docs/python/modules/functions) set_num_instances() function.
|
779
784
|
# Corresponds to the JSON property `instances`
|
780
785
|
# @return [Fixnum]
|
781
786
|
attr_accessor :instances
|
@@ -806,11 +811,27 @@ module Google
|
|
806
811
|
attr_accessor :instance_tag
|
807
812
|
|
808
813
|
# Google Cloud Platform network where the virtual machines are created. Specify
|
809
|
-
# the short name, not the resource path.
|
814
|
+
# the short name, not the resource path.Defaults to default.
|
810
815
|
# Corresponds to the JSON property `name`
|
811
816
|
# @return [String]
|
812
817
|
attr_accessor :name
|
813
818
|
|
819
|
+
# Google Cloud Platform sub-network where the virtual machines are created.
|
820
|
+
# Specify the short name, not the resource path.If a subnetwork name is
|
821
|
+
# specified, a network name will also be required unless it is for the default
|
822
|
+
# network. If the network the VM instance is being created in is a Legacy
|
823
|
+
# network, then the IP address is allocated from the IPv4Range. If the network
|
824
|
+
# the VM instance is being created in is an auto Subnet Mode Network, then only
|
825
|
+
# network name should be specified (not the subnetwork_name) and the IP address
|
826
|
+
# is created from the IPCidrRange of the subnetwork that exists in that zone for
|
827
|
+
# that network. If the network the VM instance is being created in is a custom
|
828
|
+
# Subnet Mode Network, then the subnetwork_name must be specified and the IP
|
829
|
+
# address is created from the IPCidrRange of the subnetwork.If specified, the
|
830
|
+
# subnetwork must exist in the same region as the Flex app.
|
831
|
+
# Corresponds to the JSON property `subnetworkName`
|
832
|
+
# @return [String]
|
833
|
+
attr_accessor :subnetwork_name
|
834
|
+
|
814
835
|
def initialize(**args)
|
815
836
|
update!(**args)
|
816
837
|
end
|
@@ -820,6 +841,7 @@ module Google
|
|
820
841
|
@forwarded_ports = args[:forwarded_ports] if args.key?(:forwarded_ports)
|
821
842
|
@instance_tag = args[:instance_tag] if args.key?(:instance_tag)
|
822
843
|
@name = args[:name] if args.key?(:name)
|
844
|
+
@subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
|
823
845
|
end
|
824
846
|
end
|
825
847
|
|
@@ -842,6 +864,11 @@ module Google
|
|
842
864
|
# @return [Float]
|
843
865
|
attr_accessor :memory_gb
|
844
866
|
|
867
|
+
# Volumes mounted within the app container.
|
868
|
+
# Corresponds to the JSON property `volumes`
|
869
|
+
# @return [Array<Google::Apis::AppengineV1beta5::Volume>]
|
870
|
+
attr_accessor :volumes
|
871
|
+
|
845
872
|
def initialize(**args)
|
846
873
|
update!(**args)
|
847
874
|
end
|
@@ -851,6 +878,38 @@ module Google
|
|
851
878
|
@cpu = args[:cpu] if args.key?(:cpu)
|
852
879
|
@disk_gb = args[:disk_gb] if args.key?(:disk_gb)
|
853
880
|
@memory_gb = args[:memory_gb] if args.key?(:memory_gb)
|
881
|
+
@volumes = args[:volumes] if args.key?(:volumes)
|
882
|
+
end
|
883
|
+
end
|
884
|
+
|
885
|
+
# Volumes mounted within the app container. Only applicable for VM runtimes.
|
886
|
+
class Volume
|
887
|
+
include Google::Apis::Core::Hashable
|
888
|
+
|
889
|
+
# Unique name for the volume.
|
890
|
+
# Corresponds to the JSON property `name`
|
891
|
+
# @return [String]
|
892
|
+
attr_accessor :name
|
893
|
+
|
894
|
+
# Underlying volume type, e.g. 'tmpfs'.
|
895
|
+
# Corresponds to the JSON property `volumeType`
|
896
|
+
# @return [String]
|
897
|
+
attr_accessor :volume_type
|
898
|
+
|
899
|
+
# Volume size in gigabytes.
|
900
|
+
# Corresponds to the JSON property `sizeGb`
|
901
|
+
# @return [Float]
|
902
|
+
attr_accessor :size_gb
|
903
|
+
|
904
|
+
def initialize(**args)
|
905
|
+
update!(**args)
|
906
|
+
end
|
907
|
+
|
908
|
+
# Update properties of this object
|
909
|
+
def update!(**args)
|
910
|
+
@name = args[:name] if args.key?(:name)
|
911
|
+
@volume_type = args[:volume_type] if args.key?(:volume_type)
|
912
|
+
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
854
913
|
end
|
855
914
|
end
|
856
915
|
|
@@ -896,13 +955,13 @@ module Google
|
|
896
955
|
attr_accessor :login
|
897
956
|
|
898
957
|
# Action to take when users access resources that require authentication.
|
899
|
-
# Defaults to
|
958
|
+
# Defaults to redirect.
|
900
959
|
# Corresponds to the JSON property `authFailAction`
|
901
960
|
# @return [String]
|
902
961
|
attr_accessor :auth_fail_action
|
903
962
|
|
904
|
-
#
|
905
|
-
#
|
963
|
+
# 30x code to use when performing redirects for the secure field. Defaults to
|
964
|
+
# 302.
|
906
965
|
# Corresponds to the JSON property `redirectHttpResponseCode`
|
907
966
|
# @return [String]
|
908
967
|
attr_accessor :redirect_http_response_code
|
@@ -1042,7 +1101,7 @@ module Google
|
|
1042
1101
|
# @return [String]
|
1043
1102
|
attr_accessor :static_file
|
1044
1103
|
|
1045
|
-
# MIME type of file. Defaults to
|
1104
|
+
# MIME type of file. Defaults to text/html.
|
1046
1105
|
# Corresponds to the JSON property `mimeType`
|
1047
1106
|
# @return [String]
|
1048
1107
|
attr_accessor :mime_type
|
@@ -1084,18 +1143,18 @@ module Google
|
|
1084
1143
|
end
|
1085
1144
|
end
|
1086
1145
|
|
1087
|
-
#
|
1146
|
+
# Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/
|
1088
1147
|
# endpoints/) configuration for API handlers.
|
1089
1148
|
class ApiConfigHandler
|
1090
1149
|
include Google::Apis::Core::Hashable
|
1091
1150
|
|
1092
1151
|
# Action to take when users access resources that require authentication.
|
1093
|
-
# Defaults to
|
1152
|
+
# Defaults to redirect.
|
1094
1153
|
# Corresponds to the JSON property `authFailAction`
|
1095
1154
|
# @return [String]
|
1096
1155
|
attr_accessor :auth_fail_action
|
1097
1156
|
|
1098
|
-
# Level of login required to access this resource. Defaults to
|
1157
|
+
# Level of login required to access this resource. Defaults to optional.
|
1099
1158
|
# Corresponds to the JSON property `login`
|
1100
1159
|
# @return [String]
|
1101
1160
|
attr_accessor :login
|
@@ -1231,7 +1290,7 @@ module Google
|
|
1231
1290
|
include Google::Apis::Core::Hashable
|
1232
1291
|
|
1233
1292
|
# URL source to use to fetch this file. Must be a URL to a resource in Google
|
1234
|
-
# Cloud Storage in the form 'http(s)://storage.googleapis.com
|
1293
|
+
# Cloud Storage in the form 'http(s)://storage.googleapis.com//'.
|
1235
1294
|
# Corresponds to the JSON property `sourceUrl`
|
1236
1295
|
# @return [String]
|
1237
1296
|
attr_accessor :source_url
|
@@ -1241,7 +1300,7 @@ module Google
|
|
1241
1300
|
# @return [String]
|
1242
1301
|
attr_accessor :sha1_sum
|
1243
1302
|
|
1244
|
-
# The MIME type of the file.
|
1303
|
+
# The MIME type of the file.Defaults to the value from Google Cloud Storage.
|
1245
1304
|
# Corresponds to the JSON property `mimeType`
|
1246
1305
|
# @return [String]
|
1247
1306
|
attr_accessor :mime_type
|
@@ -1308,7 +1367,38 @@ module Google
|
|
1308
1367
|
end
|
1309
1368
|
end
|
1310
1369
|
|
1311
|
-
#
|
1370
|
+
# Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
|
1371
|
+
# Endpoints API Service provides tooling for serving Open API and gRPC endpoints
|
1372
|
+
# via an NGINX proxy.The fields here refer to the name and configuration id of a
|
1373
|
+
# "service" resource in the Service Management API (https://cloud.google.com/
|
1374
|
+
# service-management/overview).
|
1375
|
+
class EndpointsApiService
|
1376
|
+
include Google::Apis::Core::Hashable
|
1377
|
+
|
1378
|
+
# Endpoints service name which is the name of the "service" resource in the
|
1379
|
+
# Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
|
1380
|
+
# Corresponds to the JSON property `name`
|
1381
|
+
# @return [String]
|
1382
|
+
attr_accessor :name
|
1383
|
+
|
1384
|
+
# Endpoints service configuration id as specified by the Service Management API.
|
1385
|
+
# For example "2016-09-19r1"
|
1386
|
+
# Corresponds to the JSON property `configId`
|
1387
|
+
# @return [String]
|
1388
|
+
attr_accessor :config_id
|
1389
|
+
|
1390
|
+
def initialize(**args)
|
1391
|
+
update!(**args)
|
1392
|
+
end
|
1393
|
+
|
1394
|
+
# Update properties of this object
|
1395
|
+
def update!(**args)
|
1396
|
+
@name = args[:name] if args.key?(:name)
|
1397
|
+
@config_id = args[:config_id] if args.key?(:config_id)
|
1398
|
+
end
|
1399
|
+
end
|
1400
|
+
|
1401
|
+
# Response message for Versions.ListVersions.
|
1312
1402
|
class ListVersionsResponse
|
1313
1403
|
include Google::Apis::Core::Hashable
|
1314
1404
|
|
@@ -1342,13 +1432,13 @@ module Google
|
|
1342
1432
|
class Service
|
1343
1433
|
include Google::Apis::Core::Hashable
|
1344
1434
|
|
1345
|
-
# Full path to the Service resource in the API. Example:
|
1346
|
-
# default
|
1435
|
+
# Full path to the Service resource in the API. Example: apps/myapp/services/
|
1436
|
+
# default.@OutputOnly
|
1347
1437
|
# Corresponds to the JSON property `name`
|
1348
1438
|
# @return [String]
|
1349
1439
|
attr_accessor :name
|
1350
1440
|
|
1351
|
-
# Relative name of the service within the application. Example:
|
1441
|
+
# Relative name of the service within the application. Example: default.@
|
1352
1442
|
# OutputOnly
|
1353
1443
|
# Corresponds to the JSON property `id`
|
1354
1444
|
# @return [String]
|
@@ -1406,7 +1496,7 @@ module Google
|
|
1406
1496
|
end
|
1407
1497
|
end
|
1408
1498
|
|
1409
|
-
# Response message for
|
1499
|
+
# Response message for Services.ListServices.
|
1410
1500
|
class ListServicesResponse
|
1411
1501
|
include Google::Apis::Core::Hashable
|
1412
1502
|
|
@@ -1436,91 +1526,91 @@ module Google
|
|
1436
1526
|
class Instance
|
1437
1527
|
include Google::Apis::Core::Hashable
|
1438
1528
|
|
1439
|
-
# Full path to the Instance resource in the API. Example:
|
1440
|
-
# default/versions/v1/instances/instance-1
|
1529
|
+
# Full path to the Instance resource in the API. Example: apps/myapp/services/
|
1530
|
+
# default/versions/v1/instances/instance-1.@OutputOnly
|
1441
1531
|
# Corresponds to the JSON property `name`
|
1442
1532
|
# @return [String]
|
1443
1533
|
attr_accessor :name
|
1444
1534
|
|
1445
|
-
# Relative name of the instance within the version. Example:
|
1535
|
+
# Relative name of the instance within the version. Example: instance-1.@
|
1446
1536
|
# OutputOnly
|
1447
1537
|
# Corresponds to the JSON property `id`
|
1448
1538
|
# @return [String]
|
1449
1539
|
attr_accessor :id
|
1450
1540
|
|
1451
|
-
# App Engine release this instance is running on
|
1541
|
+
# App Engine release this instance is running on.@OutputOnly
|
1452
1542
|
# Corresponds to the JSON property `appEngineRelease`
|
1453
1543
|
# @return [String]
|
1454
1544
|
attr_accessor :app_engine_release
|
1455
1545
|
|
1456
|
-
# Availability of the instance
|
1546
|
+
# Availability of the instance.@OutputOnly
|
1457
1547
|
# Corresponds to the JSON property `availability`
|
1458
1548
|
# @return [String]
|
1459
1549
|
attr_accessor :availability
|
1460
1550
|
|
1461
1551
|
# Name of the virtual machine where this instance lives. Only applicable for
|
1462
|
-
# instances in App Engine flexible environment
|
1552
|
+
# instances in App Engine flexible environment.@OutputOnly
|
1463
1553
|
# Corresponds to the JSON property `vmName`
|
1464
1554
|
# @return [String]
|
1465
1555
|
attr_accessor :vm_name
|
1466
1556
|
|
1467
1557
|
# Zone where the virtual machine is located. Only applicable for instances in
|
1468
|
-
# App Engine flexible environment
|
1558
|
+
# App Engine flexible environment.@OutputOnly
|
1469
1559
|
# Corresponds to the JSON property `vmZoneName`
|
1470
1560
|
# @return [String]
|
1471
1561
|
attr_accessor :vm_zone_name
|
1472
1562
|
|
1473
1563
|
# Virtual machine ID of this instance. Only applicable for instances in App
|
1474
|
-
# Engine flexible environment
|
1564
|
+
# Engine flexible environment.@OutputOnly
|
1475
1565
|
# Corresponds to the JSON property `vmId`
|
1476
1566
|
# @return [String]
|
1477
1567
|
attr_accessor :vm_id
|
1478
1568
|
|
1479
|
-
# Time that this instance was started
|
1569
|
+
# Time that this instance was started.@OutputOnly
|
1480
1570
|
# Corresponds to the JSON property `startTimestamp`
|
1481
1571
|
# @return [String]
|
1482
1572
|
attr_accessor :start_timestamp
|
1483
1573
|
|
1484
|
-
# Number of requests since this instance was started
|
1574
|
+
# Number of requests since this instance was started.@OutputOnly
|
1485
1575
|
# Corresponds to the JSON property `requests`
|
1486
1576
|
# @return [Fixnum]
|
1487
1577
|
attr_accessor :requests
|
1488
1578
|
|
1489
|
-
# Number of errors since this instance was started
|
1579
|
+
# Number of errors since this instance was started.@OutputOnly
|
1490
1580
|
# Corresponds to the JSON property `errors`
|
1491
1581
|
# @return [Fixnum]
|
1492
1582
|
attr_accessor :errors
|
1493
1583
|
|
1494
|
-
# Average queries per second (QPS) over the last minute
|
1584
|
+
# Average queries per second (QPS) over the last minute.@OutputOnly
|
1495
1585
|
# Corresponds to the JSON property `qps`
|
1496
1586
|
# @return [Float]
|
1497
1587
|
attr_accessor :qps
|
1498
1588
|
|
1499
|
-
# Average latency (ms) over the last minute
|
1589
|
+
# Average latency (ms) over the last minute.@OutputOnly
|
1500
1590
|
# Corresponds to the JSON property `averageLatency`
|
1501
1591
|
# @return [Fixnum]
|
1502
1592
|
attr_accessor :average_latency
|
1503
1593
|
|
1504
|
-
# Total memory in use (bytes)
|
1594
|
+
# Total memory in use (bytes).@OutputOnly
|
1505
1595
|
# Corresponds to the JSON property `memoryUsage`
|
1506
1596
|
# @return [String]
|
1507
1597
|
attr_accessor :memory_usage
|
1508
1598
|
|
1509
1599
|
# Status of the virtual machine where this instance lives. Only applicable for
|
1510
|
-
# instances in App Engine flexible environment
|
1600
|
+
# instances in App Engine flexible environment.@OutputOnly
|
1511
1601
|
# Corresponds to the JSON property `vmStatus`
|
1512
1602
|
# @return [String]
|
1513
1603
|
attr_accessor :vm_status
|
1514
1604
|
|
1515
1605
|
# Whether this instance is in debug mode. Only applicable for instances in App
|
1516
|
-
# Engine flexible environment
|
1606
|
+
# Engine flexible environment.@OutputOnly
|
1517
1607
|
# Corresponds to the JSON property `vmUnlocked`
|
1518
1608
|
# @return [Boolean]
|
1519
1609
|
attr_accessor :vm_unlocked
|
1520
1610
|
alias_method :vm_unlocked?, :vm_unlocked
|
1521
1611
|
|
1522
1612
|
# The IP address of this instance. Only applicable for instances in App Engine
|
1523
|
-
# flexible environment
|
1613
|
+
# flexible environment.@OutputOnly
|
1524
1614
|
# Corresponds to the JSON property `vmIp`
|
1525
1615
|
# @return [String]
|
1526
1616
|
attr_accessor :vm_ip
|
@@ -1550,7 +1640,7 @@ module Google
|
|
1550
1640
|
end
|
1551
1641
|
end
|
1552
1642
|
|
1553
|
-
# Response message for
|
1643
|
+
# Response message for Instances.ListInstances.
|
1554
1644
|
class ListInstancesResponse
|
1555
1645
|
include Google::Apis::Core::Hashable
|
1556
1646
|
|
@@ -1575,14 +1665,15 @@ module Google
|
|
1575
1665
|
end
|
1576
1666
|
end
|
1577
1667
|
|
1578
|
-
# Request message for
|
1668
|
+
# Request message for Instances.DebugInstance.
|
1579
1669
|
class DebugInstanceRequest
|
1580
1670
|
include Google::Apis::Core::Hashable
|
1581
1671
|
|
1582
|
-
# Public SSH key to add to the instance.
|
1583
|
-
#
|
1584
|
-
# expireOn":"[EXPIRE_TIME]"
|
1585
|
-
# Keys
|
1672
|
+
# Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa [KEY_VALUE]
|
1673
|
+
# [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh `"userName":"[USERNAME]",
|
1674
|
+
# "expireOn":"[EXPIRE_TIME]"`For more information, see Adding and Removing SSH
|
1675
|
+
# Keys (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys)
|
1676
|
+
# .
|
1586
1677
|
# Corresponds to the JSON property `sshKey`
|
1587
1678
|
# @return [String]
|
1588
1679
|
attr_accessor :ssh_key
|
@@ -1627,12 +1718,12 @@ module Google
|
|
1627
1718
|
include Google::Apis::Core::Hashable
|
1628
1719
|
|
1629
1720
|
# Resource name for the location, which may vary between implementations. For
|
1630
|
-
# example:
|
1721
|
+
# example: "projects/example-project/locations/us-east1"
|
1631
1722
|
# Corresponds to the JSON property `name`
|
1632
1723
|
# @return [String]
|
1633
1724
|
attr_accessor :name
|
1634
1725
|
|
1635
|
-
# The canonical id for this location. For example:
|
1726
|
+
# The canonical id for this location. For example: "us-east1".
|
1636
1727
|
# Corresponds to the JSON property `locationId`
|
1637
1728
|
# @return [String]
|
1638
1729
|
attr_accessor :location_id
|
@@ -1666,29 +1757,29 @@ module Google
|
|
1666
1757
|
class OperationMetadataExperimental
|
1667
1758
|
include Google::Apis::Core::Hashable
|
1668
1759
|
|
1669
|
-
# API method that initiated this operation. Example:
|
1670
|
-
# experimental.CustomDomains.CreateCustomDomain
|
1760
|
+
# API method that initiated this operation. Example: google.appengine.
|
1761
|
+
# experimental.CustomDomains.CreateCustomDomain.@OutputOnly
|
1671
1762
|
# Corresponds to the JSON property `method`
|
1672
1763
|
# @return [String]
|
1673
1764
|
attr_accessor :method_prop
|
1674
1765
|
|
1675
|
-
# Time that this operation was created
|
1766
|
+
# Time that this operation was created.@OutputOnly
|
1676
1767
|
# Corresponds to the JSON property `insertTime`
|
1677
1768
|
# @return [String]
|
1678
1769
|
attr_accessor :insert_time
|
1679
1770
|
|
1680
|
-
# Time that this operation completed
|
1771
|
+
# Time that this operation completed.@OutputOnly
|
1681
1772
|
# Corresponds to the JSON property `endTime`
|
1682
1773
|
# @return [String]
|
1683
1774
|
attr_accessor :end_time
|
1684
1775
|
|
1685
|
-
# User who requested this operation
|
1776
|
+
# User who requested this operation.@OutputOnly
|
1686
1777
|
# Corresponds to the JSON property `user`
|
1687
1778
|
# @return [String]
|
1688
1779
|
attr_accessor :user
|
1689
1780
|
|
1690
|
-
# Name of the resource that this operation is acting on. Example:
|
1691
|
-
# customDomains/example.com
|
1781
|
+
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
1782
|
+
# customDomains/example.com.@OutputOnly
|
1692
1783
|
# Corresponds to the JSON property `target`
|
1693
1784
|
# @return [String]
|
1694
1785
|
attr_accessor :target
|
@@ -1712,34 +1803,34 @@ module Google
|
|
1712
1803
|
include Google::Apis::Core::Hashable
|
1713
1804
|
|
1714
1805
|
# Type of this operation. Deprecated, use method field instead. Example: "
|
1715
|
-
# create_version"
|
1806
|
+
# create_version".@OutputOnly
|
1716
1807
|
# Corresponds to the JSON property `operationType`
|
1717
1808
|
# @return [String]
|
1718
1809
|
attr_accessor :operation_type
|
1719
1810
|
|
1720
|
-
# Timestamp that this operation was created
|
1811
|
+
# Timestamp that this operation was created.@OutputOnly
|
1721
1812
|
# Corresponds to the JSON property `insertTime`
|
1722
1813
|
# @return [String]
|
1723
1814
|
attr_accessor :insert_time
|
1724
1815
|
|
1725
|
-
# Timestamp that this operation completed
|
1816
|
+
# Timestamp that this operation completed.@OutputOnly
|
1726
1817
|
# Corresponds to the JSON property `endTime`
|
1727
1818
|
# @return [String]
|
1728
1819
|
attr_accessor :end_time
|
1729
1820
|
|
1730
|
-
# User who requested this operation
|
1821
|
+
# User who requested this operation.@OutputOnly
|
1731
1822
|
# Corresponds to the JSON property `user`
|
1732
1823
|
# @return [String]
|
1733
1824
|
attr_accessor :user
|
1734
1825
|
|
1735
|
-
# Name of the resource that this operation is acting on. Example:
|
1736
|
-
# modules/default
|
1826
|
+
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
1827
|
+
# modules/default.@OutputOnly
|
1737
1828
|
# Corresponds to the JSON property `target`
|
1738
1829
|
# @return [String]
|
1739
1830
|
attr_accessor :target
|
1740
1831
|
|
1741
|
-
# API method that initiated this operation. Example:
|
1742
|
-
# Version.CreateVersion
|
1832
|
+
# API method that initiated this operation. Example: google.appengine.v1beta4.
|
1833
|
+
# Version.CreateVersion.@OutputOnly
|
1743
1834
|
# Corresponds to the JSON property `method`
|
1744
1835
|
# @return [String]
|
1745
1836
|
attr_accessor :method_prop
|
@@ -1763,29 +1854,29 @@ module Google
|
|
1763
1854
|
class OperationMetadataV1Beta5
|
1764
1855
|
include Google::Apis::Core::Hashable
|
1765
1856
|
|
1766
|
-
# API method name that initiated this operation. Example:
|
1767
|
-
# v1beta5.Version.CreateVersion
|
1857
|
+
# API method name that initiated this operation. Example: google.appengine.
|
1858
|
+
# v1beta5.Version.CreateVersion.@OutputOnly
|
1768
1859
|
# Corresponds to the JSON property `method`
|
1769
1860
|
# @return [String]
|
1770
1861
|
attr_accessor :method_prop
|
1771
1862
|
|
1772
|
-
# Timestamp that this operation was created
|
1863
|
+
# Timestamp that this operation was created.@OutputOnly
|
1773
1864
|
# Corresponds to the JSON property `insertTime`
|
1774
1865
|
# @return [String]
|
1775
1866
|
attr_accessor :insert_time
|
1776
1867
|
|
1777
|
-
# Timestamp that this operation completed
|
1868
|
+
# Timestamp that this operation completed.@OutputOnly
|
1778
1869
|
# Corresponds to the JSON property `endTime`
|
1779
1870
|
# @return [String]
|
1780
1871
|
attr_accessor :end_time
|
1781
1872
|
|
1782
|
-
# User who requested this operation
|
1873
|
+
# User who requested this operation.@OutputOnly
|
1783
1874
|
# Corresponds to the JSON property `user`
|
1784
1875
|
# @return [String]
|
1785
1876
|
attr_accessor :user
|
1786
1877
|
|
1787
|
-
# Name of the resource that this operation is acting on. Example:
|
1788
|
-
# services/default
|
1878
|
+
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
1879
|
+
# services/default.@OutputOnly
|
1789
1880
|
# Corresponds to the JSON property `target`
|
1790
1881
|
# @return [String]
|
1791
1882
|
attr_accessor :target
|
@@ -1808,33 +1899,44 @@ module Google
|
|
1808
1899
|
class OperationMetadataV1
|
1809
1900
|
include Google::Apis::Core::Hashable
|
1810
1901
|
|
1811
|
-
# API method that initiated this operation. Example:
|
1812
|
-
# Versions.CreateVersion
|
1902
|
+
# API method that initiated this operation. Example: google.appengine.v1.
|
1903
|
+
# Versions.CreateVersion.@OutputOnly
|
1813
1904
|
# Corresponds to the JSON property `method`
|
1814
1905
|
# @return [String]
|
1815
1906
|
attr_accessor :method_prop
|
1816
1907
|
|
1817
|
-
# Time that this operation was created
|
1908
|
+
# Time that this operation was created.@OutputOnly
|
1818
1909
|
# Corresponds to the JSON property `insertTime`
|
1819
1910
|
# @return [String]
|
1820
1911
|
attr_accessor :insert_time
|
1821
1912
|
|
1822
|
-
# Time that this operation completed
|
1913
|
+
# Time that this operation completed.@OutputOnly
|
1823
1914
|
# Corresponds to the JSON property `endTime`
|
1824
1915
|
# @return [String]
|
1825
1916
|
attr_accessor :end_time
|
1826
1917
|
|
1827
|
-
# User who requested this operation
|
1918
|
+
# User who requested this operation.@OutputOnly
|
1828
1919
|
# Corresponds to the JSON property `user`
|
1829
1920
|
# @return [String]
|
1830
1921
|
attr_accessor :user
|
1831
1922
|
|
1832
|
-
# Name of the resource that this operation is acting on. Example:
|
1833
|
-
# services/default
|
1923
|
+
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
1924
|
+
# services/default.@OutputOnly
|
1834
1925
|
# Corresponds to the JSON property `target`
|
1835
1926
|
# @return [String]
|
1836
1927
|
attr_accessor :target
|
1837
1928
|
|
1929
|
+
# Ephemeral message that may change every time the operation is polled. @
|
1930
|
+
# OutputOnly
|
1931
|
+
# Corresponds to the JSON property `ephemeralMessage`
|
1932
|
+
# @return [String]
|
1933
|
+
attr_accessor :ephemeral_message
|
1934
|
+
|
1935
|
+
# Durable messages that persist on every operation poll. @OutputOnly
|
1936
|
+
# Corresponds to the JSON property `warning`
|
1937
|
+
# @return [Array<String>]
|
1938
|
+
attr_accessor :warning
|
1939
|
+
|
1838
1940
|
def initialize(**args)
|
1839
1941
|
update!(**args)
|
1840
1942
|
end
|
@@ -1846,6 +1948,8 @@ module Google
|
|
1846
1948
|
@end_time = args[:end_time] if args.key?(:end_time)
|
1847
1949
|
@user = args[:user] if args.key?(:user)
|
1848
1950
|
@target = args[:target] if args.key?(:target)
|
1951
|
+
@ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message)
|
1952
|
+
@warning = args[:warning] if args.key?(:warning)
|
1849
1953
|
end
|
1850
1954
|
end
|
1851
1955
|
|
@@ -1853,15 +1957,13 @@ module Google
|
|
1853
1957
|
class LocationMetadata
|
1854
1958
|
include Google::Apis::Core::Hashable
|
1855
1959
|
|
1856
|
-
# App Engine Standard Environment is available in the given location
|
1857
|
-
# OutputOnly
|
1960
|
+
# App Engine Standard Environment is available in the given location.@OutputOnly
|
1858
1961
|
# Corresponds to the JSON property `standardEnvironmentAvailable`
|
1859
1962
|
# @return [Boolean]
|
1860
1963
|
attr_accessor :standard_environment_available
|
1861
1964
|
alias_method :standard_environment_available?, :standard_environment_available
|
1862
1965
|
|
1863
|
-
# App Engine Flexible Environment is available in the given location
|
1864
|
-
# OutputOnly
|
1966
|
+
# App Engine Flexible Environment is available in the given location.@OutputOnly
|
1865
1967
|
# Corresponds to the JSON property `flexibleEnvironmentAvailable`
|
1866
1968
|
# @return [Boolean]
|
1867
1969
|
attr_accessor :flexible_environment_available
|