google-api-client 0.23.9 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +42 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +2030 -58
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +878 -43
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +604 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +0 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +8 -2
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +108 -5
- data/generated/google/apis/androidenterprise_v1/representations.rb +60 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +3 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +3 -3
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +14 -14
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +6 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +3 -2
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +1 -1
- data/generated/google/apis/composer_v1/service.rb +6 -6
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +475 -0
- data/generated/google/apis/dataproc_v1/representations.rb +188 -0
- data/generated/google/apis/dataproc_v1/service.rb +550 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +21 -21
- data/generated/google/apis/file_v1beta1.rb +34 -0
- data/generated/google/apis/file_v1beta1/classes.rb +810 -0
- data/generated/google/apis/file_v1beta1/representations.rb +298 -0
- data/generated/google/apis/file_v1beta1/service.rb +472 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +16 -17
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +8 -9
- data/generated/google/apis/logging_v2/service.rb +9 -9
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +8 -9
- data/generated/google/apis/logging_v2beta1/service.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +14 -14
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +142 -98
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +0 -2
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +142 -98
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +142 -98
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +142 -98
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +142 -98
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +91 -0
- data/generated/google/apis/speech_v1/representations.rb +18 -0
- data/generated/google/apis/speech_v1/service.rb +47 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +25 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +15 -0
- data/generated/google/apis/speech_v1beta1/service.rb +47 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +3 -3
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +34 -31
- data/generated/google/apis/sqladmin_v1beta4/service.rb +8 -8
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +3 -4
- data/generated/google/apis/storage_v1/service.rb +2 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storage_v1beta2/classes.rb +1 -2
- data/generated/google/apis/storage_v1beta2/service.rb +2 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +21 -21
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +308 -14
- data/generated/google/apis/testing_v1/representations.rb +136 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +156 -2
- data/generated/google/apis/vision_v1/representations.rb +60 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +156 -2
- data/generated/google/apis/vision_v1p1beta1/representations.rb +60 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +156 -2
- data/generated/google/apis/vision_v1p2beta1/representations.rb +60 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -14
- data/generated/google/apis/adexchangeseller_v1.rb +0 -37
- data/generated/google/apis/adexchangeseller_v1/classes.rb +0 -557
- data/generated/google/apis/adexchangeseller_v1/representations.rb +0 -248
- data/generated/google/apis/adexchangeseller_v1/service.rb +0 -544
- data/generated/google/apis/adexchangeseller_v1_1.rb +0 -37
- data/generated/google/apis/adexchangeseller_v1_1/classes.rb +0 -842
- data/generated/google/apis/adexchangeseller_v1_1/representations.rb +0 -364
- data/generated/google/apis/adexchangeseller_v1_1/service.rb +0 -735
- data/generated/google/apis/adexchangeseller_v2_0.rb +0 -37
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +0 -792
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +0 -347
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +0 -638
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
|
27
27
|
module JobsV3
|
|
28
28
|
VERSION = 'V3'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180906'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -916,9 +916,9 @@ module Google
|
|
|
916
916
|
# @return [Array<Google::Apis::JobsV3::CustomAttributeHistogramRequest>]
|
|
917
917
|
attr_accessor :custom_attribute_histogram_facets
|
|
918
918
|
|
|
919
|
-
# Optional.
|
|
920
|
-
#
|
|
921
|
-
#
|
|
919
|
+
# Optional.
|
|
920
|
+
# Specifies the simple type of histogram facets, for example,
|
|
921
|
+
# `COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc.
|
|
922
922
|
# Corresponds to the JSON property `simpleHistogramFacets`
|
|
923
923
|
# @return [Array<String>]
|
|
924
924
|
attr_accessor :simple_histogram_facets
|
|
@@ -2249,27 +2249,26 @@ module Google
|
|
|
2249
2249
|
# * "relevance desc": By relevance descending, as determined by the API
|
|
2250
2250
|
# algorithms. Relevance thresholding of query results is only available
|
|
2251
2251
|
# with this ordering.
|
|
2252
|
-
# * "posting_publish_time desc": By Job.posting_publish_time
|
|
2253
|
-
# descending.
|
|
2252
|
+
# * "posting_publish_time desc": By Job.posting_publish_time descending.
|
|
2254
2253
|
# * "posting_update_time desc": By Job.posting_update_time descending.
|
|
2255
2254
|
# * "title": By Job.title ascending.
|
|
2256
2255
|
# * "title desc": By Job.title descending.
|
|
2257
2256
|
# * "annualized_base_compensation": By job's
|
|
2258
|
-
# CompensationInfo.
|
|
2259
|
-
# annualized base compensation is unspecified
|
|
2260
|
-
# search
|
|
2257
|
+
# CompensationInfo.annualized_base_compensation_range ascending. Jobs
|
|
2258
|
+
# whose annualized base compensation is unspecified are put at the end of
|
|
2259
|
+
# search results.
|
|
2261
2260
|
# * "annualized_base_compensation desc": By job's
|
|
2262
|
-
# CompensationInfo.
|
|
2263
|
-
# annualized base compensation is unspecified
|
|
2264
|
-
# search
|
|
2261
|
+
# CompensationInfo.annualized_base_compensation_range descending. Jobs
|
|
2262
|
+
# whose annualized base compensation is unspecified are put at the end of
|
|
2263
|
+
# search results.
|
|
2265
2264
|
# * "annualized_total_compensation": By job's
|
|
2266
|
-
# CompensationInfo.
|
|
2267
|
-
# annualized
|
|
2268
|
-
#
|
|
2265
|
+
# CompensationInfo.annualized_total_compensation_range ascending. Jobs
|
|
2266
|
+
# whose annualized base compensation is unspecified are put at the end of
|
|
2267
|
+
# search results.
|
|
2269
2268
|
# * "annualized_total_compensation desc": By job's
|
|
2270
|
-
# CompensationInfo.
|
|
2271
|
-
# annualized
|
|
2272
|
-
#
|
|
2269
|
+
# CompensationInfo.annualized_total_compensation_range descending. Jobs
|
|
2270
|
+
# whose annualized base compensation is unspecified are put at the end of
|
|
2271
|
+
# search results.
|
|
2273
2272
|
# Corresponds to the JSON property `orderBy`
|
|
2274
2273
|
# @return [String]
|
|
2275
2274
|
attr_accessor :order_by
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/logging/docs/
|
|
26
26
|
module LoggingV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180908'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -423,9 +423,7 @@ module Google
|
|
|
423
423
|
# "organizations/[ORGANIZATION_ID]"
|
|
424
424
|
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
|
425
425
|
# "folders/[FOLDER_ID]"
|
|
426
|
-
# Projects listed in the project_ids field are added to this list.
|
|
427
|
-
# the permissions, <code>logging.logEntries.list</code> or <code>logging.
|
|
428
|
-
# privateLogEntries.list</code>, is needed for each parent resource.
|
|
426
|
+
# Projects listed in the project_ids field are added to this list.
|
|
429
427
|
# Corresponds to the JSON property `resourceNames`
|
|
430
428
|
# @return [Array<String>]
|
|
431
429
|
attr_accessor :resource_names
|
|
@@ -1774,12 +1772,13 @@ module Google
|
|
|
1774
1772
|
# "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
|
|
1775
1773
|
# "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
|
|
1776
1774
|
# "folders/[FOLDER_ID]/logs/[LOG_ID]"
|
|
1777
|
-
# [LOG_ID] must be URL-encoded. For example
|
|
1778
|
-
#
|
|
1779
|
-
#
|
|
1780
|
-
#
|
|
1781
|
-
#
|
|
1782
|
-
#
|
|
1775
|
+
# [LOG_ID] must be URL-encoded. For example:
|
|
1776
|
+
# "projects/my-project-id/logs/syslog"
|
|
1777
|
+
# "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"
|
|
1778
|
+
# The permission <code>logging.logEntries.create</code> is needed on each
|
|
1779
|
+
# project, organization, billing account, or folder that is receiving new log
|
|
1780
|
+
# entries, whether the resource is specified in <code>logName</code> or in an
|
|
1781
|
+
# individual log entry.
|
|
1783
1782
|
# Corresponds to the JSON property `logName`
|
|
1784
1783
|
# @return [String]
|
|
1785
1784
|
attr_accessor :log_name
|
|
@@ -532,7 +532,7 @@ module Google
|
|
|
532
532
|
# destination,filter,includeChildren At some point in the future, behavior will
|
|
533
533
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
|
534
534
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
|
535
|
-
# reference/google.protobuf#
|
|
535
|
+
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
|
536
536
|
# @param [String] fields
|
|
537
537
|
# Selector specifying which fields to include in a partial response.
|
|
538
538
|
# @param [String] quota_user
|
|
@@ -594,7 +594,7 @@ module Google
|
|
|
594
594
|
# destination,filter,includeChildren At some point in the future, behavior will
|
|
595
595
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
|
596
596
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
|
597
|
-
# reference/google.protobuf#
|
|
597
|
+
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
|
598
598
|
# @param [String] fields
|
|
599
599
|
# Selector specifying which fields to include in a partial response.
|
|
600
600
|
# @param [String] quota_user
|
|
@@ -1377,7 +1377,7 @@ module Google
|
|
|
1377
1377
|
# destination,filter,includeChildren At some point in the future, behavior will
|
|
1378
1378
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
|
1379
1379
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
|
1380
|
-
# reference/google.protobuf#
|
|
1380
|
+
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
|
1381
1381
|
# @param [String] fields
|
|
1382
1382
|
# Selector specifying which fields to include in a partial response.
|
|
1383
1383
|
# @param [String] quota_user
|
|
@@ -1439,7 +1439,7 @@ module Google
|
|
|
1439
1439
|
# destination,filter,includeChildren At some point in the future, behavior will
|
|
1440
1440
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
|
1441
1441
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
|
1442
|
-
# reference/google.protobuf#
|
|
1442
|
+
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
|
1443
1443
|
# @param [String] fields
|
|
1444
1444
|
# Selector specifying which fields to include in a partial response.
|
|
1445
1445
|
# @param [String] quota_user
|
|
@@ -2079,7 +2079,7 @@ module Google
|
|
|
2079
2079
|
# destination,filter,includeChildren At some point in the future, behavior will
|
|
2080
2080
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
|
2081
2081
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
|
2082
|
-
# reference/google.protobuf#
|
|
2082
|
+
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
|
2083
2083
|
# @param [String] fields
|
|
2084
2084
|
# Selector specifying which fields to include in a partial response.
|
|
2085
2085
|
# @param [String] quota_user
|
|
@@ -2141,7 +2141,7 @@ module Google
|
|
|
2141
2141
|
# destination,filter,includeChildren At some point in the future, behavior will
|
|
2142
2142
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
|
2143
2143
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
|
2144
|
-
# reference/google.protobuf#
|
|
2144
|
+
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
|
2145
2145
|
# @param [String] fields
|
|
2146
2146
|
# Selector specifying which fields to include in a partial response.
|
|
2147
2147
|
# @param [String] quota_user
|
|
@@ -2834,7 +2834,7 @@ module Google
|
|
|
2834
2834
|
# destination,filter,includeChildren At some point in the future, behavior will
|
|
2835
2835
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
|
2836
2836
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
|
2837
|
-
# reference/google.protobuf#
|
|
2837
|
+
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
|
2838
2838
|
# @param [String] fields
|
|
2839
2839
|
# Selector specifying which fields to include in a partial response.
|
|
2840
2840
|
# @param [String] quota_user
|
|
@@ -2896,7 +2896,7 @@ module Google
|
|
|
2896
2896
|
# destination,filter,includeChildren At some point in the future, behavior will
|
|
2897
2897
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
|
2898
2898
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
|
2899
|
-
# reference/google.protobuf#
|
|
2899
|
+
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
|
2900
2900
|
# @param [String] fields
|
|
2901
2901
|
# Selector specifying which fields to include in a partial response.
|
|
2902
2902
|
# @param [String] quota_user
|
|
@@ -3127,7 +3127,7 @@ module Google
|
|
|
3127
3127
|
# destination,filter,includeChildren At some point in the future, behavior will
|
|
3128
3128
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
|
3129
3129
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
|
3130
|
-
# reference/google.protobuf#
|
|
3130
|
+
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
|
3131
3131
|
# @param [String] fields
|
|
3132
3132
|
# Selector specifying which fields to include in a partial response.
|
|
3133
3133
|
# @param [String] quota_user
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/logging/docs/
|
|
26
26
|
module LoggingV2beta1
|
|
27
27
|
VERSION = 'V2beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180908'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -396,9 +396,7 @@ module Google
|
|
|
396
396
|
# "organizations/[ORGANIZATION_ID]"
|
|
397
397
|
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
|
398
398
|
# "folders/[FOLDER_ID]"
|
|
399
|
-
# Projects listed in the project_ids field are added to this list.
|
|
400
|
-
# the permissions, <code>logging.logEntries.list</code> or <code>logging.
|
|
401
|
-
# privateLogEntries.list</code>, is needed for each parent resource.
|
|
399
|
+
# Projects listed in the project_ids field are added to this list.
|
|
402
400
|
# Corresponds to the JSON property `resourceNames`
|
|
403
401
|
# @return [Array<String>]
|
|
404
402
|
attr_accessor :resource_names
|
|
@@ -1697,12 +1695,13 @@ module Google
|
|
|
1697
1695
|
# "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
|
|
1698
1696
|
# "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
|
|
1699
1697
|
# "folders/[FOLDER_ID]/logs/[LOG_ID]"
|
|
1700
|
-
# [LOG_ID] must be URL-encoded. For example
|
|
1701
|
-
#
|
|
1702
|
-
#
|
|
1703
|
-
#
|
|
1704
|
-
#
|
|
1705
|
-
#
|
|
1698
|
+
# [LOG_ID] must be URL-encoded. For example:
|
|
1699
|
+
# "projects/my-project-id/logs/syslog"
|
|
1700
|
+
# "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"
|
|
1701
|
+
# The permission <code>logging.logEntries.create</code> is needed on each
|
|
1702
|
+
# project, organization, billing account, or folder that is receiving new log
|
|
1703
|
+
# entries, whether the resource is specified in <code>logName</code> or in an
|
|
1704
|
+
# individual log entry.
|
|
1706
1705
|
# Corresponds to the JSON property `logName`
|
|
1707
1706
|
# @return [String]
|
|
1708
1707
|
attr_accessor :log_name
|
|
@@ -780,7 +780,7 @@ module Google
|
|
|
780
780
|
# destination,filter,includeChildren At some point in the future, behavior will
|
|
781
781
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
|
782
782
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
|
783
|
-
# reference/google.protobuf#
|
|
783
|
+
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
|
784
784
|
# @param [String] fields
|
|
785
785
|
# Selector specifying which fields to include in a partial response.
|
|
786
786
|
# @param [String] quota_user
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/beacons/proximity/
|
|
26
26
|
module ProximitybeaconV1beta1
|
|
27
27
|
VERSION = 'V1beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180909'
|
|
29
29
|
|
|
30
30
|
# View and modify your beacons
|
|
31
31
|
AUTH_USERLOCATION_BEACON_REGISTRY = 'https://www.googleapis.com/auth/userlocation.beacon.registry'
|
|
@@ -324,13 +324,13 @@ module Google
|
|
|
324
324
|
end
|
|
325
325
|
end
|
|
326
326
|
|
|
327
|
-
# Represents a whole calendar date,
|
|
328
|
-
# time zone are either specified elsewhere or are not significant. The date
|
|
329
|
-
# is relative to the Proleptic Gregorian Calendar. The day
|
|
330
|
-
# represent a year and month where the day is not significant,
|
|
331
|
-
# expiration date. The year
|
|
332
|
-
# of year,
|
|
333
|
-
# and `google.protobuf.Timestamp`.
|
|
327
|
+
# Represents a whole calendar date, for example date of birth. The time of day
|
|
328
|
+
# and time zone are either specified elsewhere or are not significant. The date
|
|
329
|
+
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to
|
|
330
|
+
# represent a year and month where the day is not significant, for example
|
|
331
|
+
# credit card expiration date. The year can be 0 to represent a month and day
|
|
332
|
+
# independent of year, for example anniversary date. Related types are
|
|
333
|
+
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
|
334
334
|
class Date
|
|
335
335
|
include Google::Apis::Core::Hashable
|
|
336
336
|
|
|
@@ -398,13 +398,13 @@ module Google
|
|
|
398
398
|
# @return [String]
|
|
399
399
|
attr_accessor :beacon_name
|
|
400
400
|
|
|
401
|
-
# Represents a whole calendar date,
|
|
402
|
-
# time zone are either specified elsewhere or are not significant. The date
|
|
403
|
-
# is relative to the Proleptic Gregorian Calendar. The day
|
|
404
|
-
# represent a year and month where the day is not significant,
|
|
405
|
-
# expiration date. The year
|
|
406
|
-
# of year,
|
|
407
|
-
# and `google.protobuf.Timestamp`.
|
|
401
|
+
# Represents a whole calendar date, for example date of birth. The time of day
|
|
402
|
+
# and time zone are either specified elsewhere or are not significant. The date
|
|
403
|
+
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to
|
|
404
|
+
# represent a year and month where the day is not significant, for example
|
|
405
|
+
# credit card expiration date. The year can be 0 to represent a month and day
|
|
406
|
+
# independent of year, for example anniversary date. Related types are
|
|
407
|
+
# google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
|
408
408
|
# Corresponds to the JSON property `estimatedLowBatteryDate`
|
|
409
409
|
# @return [Google::Apis::ProximitybeaconV1beta1::Date]
|
|
410
410
|
attr_accessor :estimated_low_battery_date
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
|
27
27
|
module ServiceconsumermanagementV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180908'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1242,79 +1242,79 @@ module Google
|
|
|
1242
1242
|
end
|
|
1243
1243
|
end
|
|
1244
1244
|
|
|
1245
|
-
#
|
|
1246
|
-
#
|
|
1247
|
-
#
|
|
1248
|
-
#
|
|
1249
|
-
#
|
|
1250
|
-
#
|
|
1251
|
-
#
|
|
1252
|
-
#
|
|
1253
|
-
#
|
|
1254
|
-
#
|
|
1245
|
+
# # gRPC Transcoding
|
|
1246
|
+
# gRPC Transcoding is a feature for mapping between a gRPC method and one or
|
|
1247
|
+
# more HTTP REST endpoints. It allows developers to build a single API service
|
|
1248
|
+
# that supports both gRPC APIs and REST APIs. Many systems, including [Google
|
|
1249
|
+
# APIs](https://github.com/googleapis/googleapis),
|
|
1250
|
+
# [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
|
|
1251
|
+
# Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
|
|
1252
|
+
# and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
|
|
1253
|
+
# and use it for large scale production services.
|
|
1254
|
+
# `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
|
|
1255
|
+
# how different portions of the gRPC request message are mapped to the URL
|
|
1256
|
+
# path, URL query parameters, and HTTP request body. It also controls how the
|
|
1257
|
+
# gRPC response message is mapped to the HTTP response body. `HttpRule` is
|
|
1258
|
+
# typically specified as an `google.api.http` annotation on the gRPC method.
|
|
1259
|
+
# Each mapping specifies a URL path template and an HTTP method. The path
|
|
1260
|
+
# template may refer to one or more fields in the gRPC request message, as long
|
|
1261
|
+
# as each field is a non-repeated field with a primitive (non-message) type.
|
|
1262
|
+
# The path template controls how fields of the request message are mapped to
|
|
1263
|
+
# the URL path.
|
|
1264
|
+
# Example:
|
|
1255
1265
|
# service Messaging `
|
|
1256
1266
|
# rpc GetMessage(GetMessageRequest) returns (Message) `
|
|
1257
|
-
# option (google.api.http)
|
|
1258
|
-
#
|
|
1267
|
+
# option (google.api.http) = `
|
|
1268
|
+
# get: "/v1/`name=messages/*"`"
|
|
1269
|
+
# `;
|
|
1259
1270
|
# `
|
|
1260
1271
|
# `
|
|
1261
1272
|
# message GetMessageRequest `
|
|
1262
|
-
#
|
|
1263
|
-
# string subfield = 1;
|
|
1264
|
-
# `
|
|
1265
|
-
# string message_id = 1; // mapped to the URL
|
|
1266
|
-
# SubMessage sub = 2; // `sub.subfield` is url-mapped
|
|
1273
|
+
# string name = 1; // Mapped to URL path.
|
|
1267
1274
|
# `
|
|
1268
1275
|
# message Message `
|
|
1269
|
-
# string text = 1; //
|
|
1276
|
+
# string text = 1; // The resource content.
|
|
1270
1277
|
# `
|
|
1271
|
-
#
|
|
1272
|
-
#
|
|
1273
|
-
# http:
|
|
1274
|
-
# rules:
|
|
1275
|
-
# - selector: <proto_package_name>.Messaging.GetMessage
|
|
1276
|
-
# get: /v1/messages/`message_id`/`sub.subfield`
|
|
1277
|
-
# This definition enables an automatic, bidrectional mapping of HTTP
|
|
1278
|
-
# JSON to RPC. Example:
|
|
1279
|
-
# HTTP | RPC
|
|
1278
|
+
# This enables an HTTP REST to gRPC mapping as below:
|
|
1279
|
+
# HTTP | gRPC
|
|
1280
1280
|
# -----|-----
|
|
1281
|
-
# `GET /v1/messages/123456
|
|
1282
|
-
#
|
|
1283
|
-
#
|
|
1284
|
-
#
|
|
1285
|
-
# repeated and must have a primitive (non-message) type.
|
|
1286
|
-
# Any fields in the request message which are not bound by the path
|
|
1287
|
-
# pattern automatically become (optional) HTTP query
|
|
1288
|
-
# parameters. Assume the following definition of the request message:
|
|
1281
|
+
# `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
|
|
1282
|
+
# Any fields in the request message which are not bound by the path template
|
|
1283
|
+
# automatically become HTTP query parameters if there is no HTTP request body.
|
|
1284
|
+
# For example:
|
|
1289
1285
|
# service Messaging `
|
|
1290
1286
|
# rpc GetMessage(GetMessageRequest) returns (Message) `
|
|
1291
|
-
# option (google.api.http)
|
|
1287
|
+
# option (google.api.http) = `
|
|
1288
|
+
# get:"/v1/messages/`message_id`"
|
|
1289
|
+
# `;
|
|
1292
1290
|
# `
|
|
1293
1291
|
# `
|
|
1294
1292
|
# message GetMessageRequest `
|
|
1295
1293
|
# message SubMessage `
|
|
1296
1294
|
# string subfield = 1;
|
|
1297
1295
|
# `
|
|
1298
|
-
# string message_id = 1; //
|
|
1299
|
-
# int64 revision = 2; //
|
|
1300
|
-
# SubMessage sub = 3; // `sub.subfield
|
|
1296
|
+
# string message_id = 1; // Mapped to URL path.
|
|
1297
|
+
# int64 revision = 2; // Mapped to URL query parameter `revision`.
|
|
1298
|
+
# SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
|
|
1301
1299
|
# `
|
|
1302
1300
|
# This enables a HTTP JSON to RPC mapping as below:
|
|
1303
|
-
# HTTP |
|
|
1301
|
+
# HTTP | gRPC
|
|
1304
1302
|
# -----|-----
|
|
1305
1303
|
# `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id:
|
|
1306
1304
|
# "123456" revision: 2 sub: SubMessage(subfield: "foo"))`
|
|
1307
|
-
# Note that fields which are mapped to
|
|
1308
|
-
# primitive type or a repeated primitive type
|
|
1309
|
-
#
|
|
1310
|
-
#
|
|
1311
|
-
#
|
|
1305
|
+
# Note that fields which are mapped to URL query parameters must have a
|
|
1306
|
+
# primitive type or a repeated primitive type or a non-repeated message type.
|
|
1307
|
+
# In the case of a repeated type, the parameter can be repeated in the URL
|
|
1308
|
+
# as `...?param=A¶m=B`. In the case of a message type, each field of the
|
|
1309
|
+
# message is mapped to a separate parameter, such as
|
|
1310
|
+
# `...?foo.a=A&foo.b=B&foo.c=C`.
|
|
1311
|
+
# For HTTP methods that allow a request body, the `body` field
|
|
1312
1312
|
# specifies the mapping. Consider a REST update method on the
|
|
1313
1313
|
# message resource collection:
|
|
1314
1314
|
# service Messaging `
|
|
1315
1315
|
# rpc UpdateMessage(UpdateMessageRequest) returns (Message) `
|
|
1316
1316
|
# option (google.api.http) = `
|
|
1317
|
-
#
|
|
1317
|
+
# patch: "/v1/messages/`message_id`"
|
|
1318
1318
|
# body: "message"
|
|
1319
1319
|
# `;
|
|
1320
1320
|
# `
|
|
@@ -1326,9 +1326,9 @@ module Google
|
|
|
1326
1326
|
# The following HTTP JSON to RPC mapping is enabled, where the
|
|
1327
1327
|
# representation of the JSON in the request body is determined by
|
|
1328
1328
|
# protos JSON encoding:
|
|
1329
|
-
# HTTP |
|
|
1329
|
+
# HTTP | gRPC
|
|
1330
1330
|
# -----|-----
|
|
1331
|
-
# `
|
|
1331
|
+
# `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "
|
|
1332
1332
|
# 123456" message ` text: "Hi!" `)`
|
|
1333
1333
|
# The special name `*` can be used in the body mapping to define that
|
|
1334
1334
|
# every field not bound by the path template should be mapped to the
|
|
@@ -1337,7 +1337,7 @@ module Google
|
|
|
1337
1337
|
# service Messaging `
|
|
1338
1338
|
# rpc UpdateMessage(Message) returns (Message) `
|
|
1339
1339
|
# option (google.api.http) = `
|
|
1340
|
-
#
|
|
1340
|
+
# patch: "/v1/messages/`message_id`"
|
|
1341
1341
|
# body: "*"
|
|
1342
1342
|
# `;
|
|
1343
1343
|
# `
|
|
@@ -1347,13 +1347,13 @@ module Google
|
|
|
1347
1347
|
# string text = 2;
|
|
1348
1348
|
# `
|
|
1349
1349
|
# The following HTTP JSON to RPC mapping is enabled:
|
|
1350
|
-
# HTTP |
|
|
1350
|
+
# HTTP | gRPC
|
|
1351
1351
|
# -----|-----
|
|
1352
|
-
# `
|
|
1352
|
+
# `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "
|
|
1353
1353
|
# 123456" text: "Hi!")`
|
|
1354
1354
|
# Note that when using `*` in the body mapping, it is not possible to
|
|
1355
1355
|
# have HTTP parameters, as all fields not bound by the path end in
|
|
1356
|
-
# the body. This makes this option more rarely used in practice
|
|
1356
|
+
# the body. This makes this option more rarely used in practice when
|
|
1357
1357
|
# defining REST APIs. The common usage of `*` is in custom methods
|
|
1358
1358
|
# which don't use the URL at all for transferring data.
|
|
1359
1359
|
# It is possible to define multiple HTTP methods for one RPC by using
|
|
@@ -1372,56 +1372,96 @@ module Google
|
|
|
1372
1372
|
# string message_id = 1;
|
|
1373
1373
|
# string user_id = 2;
|
|
1374
1374
|
# `
|
|
1375
|
-
# This enables the following two alternative HTTP JSON to RPC
|
|
1376
|
-
#
|
|
1377
|
-
# HTTP | RPC
|
|
1375
|
+
# This enables the following two alternative HTTP JSON to RPC mappings:
|
|
1376
|
+
# HTTP | gRPC
|
|
1378
1377
|
# -----|-----
|
|
1379
1378
|
# `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
|
|
1380
1379
|
# `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "
|
|
1381
1380
|
# 123456")`
|
|
1382
|
-
#
|
|
1383
|
-
#
|
|
1384
|
-
#
|
|
1385
|
-
#
|
|
1386
|
-
#
|
|
1387
|
-
#
|
|
1388
|
-
#
|
|
1389
|
-
#
|
|
1390
|
-
#
|
|
1391
|
-
#
|
|
1392
|
-
#
|
|
1393
|
-
#
|
|
1394
|
-
#
|
|
1395
|
-
#
|
|
1381
|
+
# ## Rules for HTTP mapping
|
|
1382
|
+
# 1. Leaf request fields (recursive expansion nested messages in the request
|
|
1383
|
+
# message) are classified into three categories:
|
|
1384
|
+
# - Fields referred by the path template. They are passed via the URL path.
|
|
1385
|
+
# - Fields referred by the HttpRule.body. They are passed via the HTTP
|
|
1386
|
+
# request body.
|
|
1387
|
+
# - All other fields are passed via the URL query parameters, and the
|
|
1388
|
+
# parameter name is the field path in the request message. A repeated
|
|
1389
|
+
# field can be represented as multiple query parameters under the same
|
|
1390
|
+
# name.
|
|
1391
|
+
# 2. If HttpRule.body is "*", there is no URL query parameter, all fields
|
|
1392
|
+
# are passed via URL path and HTTP request body.
|
|
1393
|
+
# 3. If HttpRule.body is omitted, there is no HTTP request body, all
|
|
1394
|
+
# fields are passed via URL path and URL query parameters.
|
|
1395
|
+
# ### Path template syntax
|
|
1396
1396
|
# Template = "/" Segments [ Verb ] ;
|
|
1397
1397
|
# Segments = Segment ` "/" Segment ` ;
|
|
1398
1398
|
# Segment = "*" | "**" | LITERAL | Variable ;
|
|
1399
1399
|
# Variable = "`" FieldPath [ "=" Segments ] "`" ;
|
|
1400
1400
|
# FieldPath = IDENT ` "." IDENT ` ;
|
|
1401
1401
|
# Verb = ":" LITERAL ;
|
|
1402
|
-
# The syntax `*` matches a single path segment. The syntax `**` matches
|
|
1403
|
-
# or more path segments, which must be the last part of the path
|
|
1404
|
-
# `Verb`.
|
|
1402
|
+
# The syntax `*` matches a single URL path segment. The syntax `**` matches
|
|
1403
|
+
# zero or more URL path segments, which must be the last part of the URL path
|
|
1404
|
+
# except the `Verb`.
|
|
1405
1405
|
# The syntax `Variable` matches part of the URL path as specified by its
|
|
1406
1406
|
# template. A variable template must not contain other variables. If a variable
|
|
1407
1407
|
# matches a single path segment, its template may be omitted, e.g. ``var``
|
|
1408
1408
|
# is equivalent to ``var=*``.
|
|
1409
|
+
# The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
|
|
1410
|
+
# contains any reserved character, such characters should be percent-encoded
|
|
1411
|
+
# before the matching.
|
|
1409
1412
|
# If a variable contains exactly one path segment, such as `"`var`"` or
|
|
1410
|
-
# `"`var=*`"`, when such a variable is expanded into a URL path
|
|
1411
|
-
# except `[-_.~0-9a-zA-Z]` are percent-encoded.
|
|
1412
|
-
#
|
|
1413
|
-
#
|
|
1414
|
-
#
|
|
1415
|
-
#
|
|
1416
|
-
#
|
|
1417
|
-
#
|
|
1418
|
-
#
|
|
1419
|
-
#
|
|
1420
|
-
#
|
|
1413
|
+
# `"`var=*`"`, when such a variable is expanded into a URL path on the client
|
|
1414
|
+
# side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
|
|
1415
|
+
# server side does the reverse decoding. Such variables show up in the
|
|
1416
|
+
# [Discovery Document](https://developers.google.com/discovery/v1/reference/apis)
|
|
1417
|
+
# as ``var``.
|
|
1418
|
+
# If a variable contains multiple path segments, such as `"`var=foo/*`"`
|
|
1419
|
+
# or `"`var=**`"`, when such a variable is expanded into a URL path on the
|
|
1420
|
+
# client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
|
|
1421
|
+
# The server side does the reverse decoding, except "%2F" and "%2f" are left
|
|
1422
|
+
# unchanged. Such variables show up in the
|
|
1423
|
+
# [Discovery Document](https://developers.google.com/discovery/v1/reference/apis)
|
|
1424
|
+
# as ``+var``.
|
|
1425
|
+
# ## Using gRPC API Service Configuration
|
|
1426
|
+
# gRPC API Service Configuration (service config) is a configuration language
|
|
1427
|
+
# for configuring a gRPC service to become a user-facing product. The
|
|
1428
|
+
# service config is simply the YAML representation of the `google.api.Service`
|
|
1429
|
+
# proto message.
|
|
1430
|
+
# As an alternative to annotating your proto file, you can configure gRPC
|
|
1431
|
+
# transcoding in your service config YAML files. You do this by specifying a
|
|
1432
|
+
# `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
|
|
1433
|
+
# effect as the proto annotation. This can be particularly useful if you
|
|
1434
|
+
# have a proto that is reused in multiple services. Note that any transcoding
|
|
1435
|
+
# specified in the service config will override any matching transcoding
|
|
1436
|
+
# configuration in the proto.
|
|
1437
|
+
# Example:
|
|
1438
|
+
# http:
|
|
1439
|
+
# rules:
|
|
1440
|
+
# # Selects a gRPC method and applies HttpRule to it.
|
|
1441
|
+
# - selector: example.v1.Messaging.GetMessage
|
|
1442
|
+
# get: /v1/messages/`message_id`/`sub.subfield`
|
|
1443
|
+
# ## Special notes
|
|
1444
|
+
# When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
|
|
1445
|
+
# proto to JSON conversion must follow the [proto3
|
|
1446
|
+
# specification](https://developers.google.com/protocol-buffers/docs/proto3#json)
|
|
1447
|
+
# .
|
|
1448
|
+
# While the single segment variable follows the semantics of
|
|
1449
|
+
# [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
|
|
1450
|
+
# Expansion, the multi segment variable **does not** follow RFC 6570 Section
|
|
1451
|
+
# 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
|
|
1421
1452
|
# does not expand special characters like `?` and `#`, which would lead
|
|
1422
|
-
# to invalid URLs.
|
|
1423
|
-
#
|
|
1424
|
-
# repeated
|
|
1453
|
+
# to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
|
|
1454
|
+
# for multi segment variables.
|
|
1455
|
+
# The path variables **must not** refer to any repeated or mapped field,
|
|
1456
|
+
# because client libraries are not capable of handling such variable expansion.
|
|
1457
|
+
# The path variables **must not** capture the leading "/" character. The reason
|
|
1458
|
+
# is that the most common use case "`var`" does not capture the leading "/"
|
|
1459
|
+
# character. For consistency, all path variables must share the same behavior.
|
|
1460
|
+
# Repeated message fields must not be mapped to URL query parameters, because
|
|
1461
|
+
# no client library can support such complicated mapping.
|
|
1462
|
+
# If an API needs to use a JSON array for request or response body, it can map
|
|
1463
|
+
# the request or response body to a repeated field. However, some gRPC
|
|
1464
|
+
# Transcoding implementations may not support this feature.
|
|
1425
1465
|
class HttpRule
|
|
1426
1466
|
include Google::Apis::Core::Hashable
|
|
1427
1467
|
|
|
@@ -1440,10 +1480,11 @@ module Google
|
|
|
1440
1480
|
# @return [Array<Google::Apis::ServiceconsumermanagementV1::AuthorizationRule>]
|
|
1441
1481
|
attr_accessor :authorizations
|
|
1442
1482
|
|
|
1443
|
-
# The name of the request field whose value is mapped to the HTTP
|
|
1444
|
-
# `*` for mapping all fields not captured by the path
|
|
1445
|
-
#
|
|
1446
|
-
# present at the top-level of request
|
|
1483
|
+
# The name of the request field whose value is mapped to the HTTP request
|
|
1484
|
+
# body, or `*` for mapping all request fields not captured by the path
|
|
1485
|
+
# pattern to the HTTP body, or omitted for not having any HTTP request body.
|
|
1486
|
+
# NOTE: the referred field must be present at the top-level of the request
|
|
1487
|
+
# message type.
|
|
1447
1488
|
# Corresponds to the JSON property `body`
|
|
1448
1489
|
# @return [String]
|
|
1449
1490
|
attr_accessor :body
|
|
@@ -1453,12 +1494,13 @@ module Google
|
|
|
1453
1494
|
# @return [Google::Apis::ServiceconsumermanagementV1::CustomHttpPattern]
|
|
1454
1495
|
attr_accessor :custom
|
|
1455
1496
|
|
|
1456
|
-
# Used for deleting a resource.
|
|
1497
|
+
# Maps to HTTP DELETE. Used for deleting a resource.
|
|
1457
1498
|
# Corresponds to the JSON property `delete`
|
|
1458
1499
|
# @return [String]
|
|
1459
1500
|
attr_accessor :delete
|
|
1460
1501
|
|
|
1461
|
-
# Used for listing and getting information about
|
|
1502
|
+
# Maps to HTTP GET. Used for listing and getting information about
|
|
1503
|
+
# resources.
|
|
1462
1504
|
# Corresponds to the JSON property `get`
|
|
1463
1505
|
# @return [String]
|
|
1464
1506
|
attr_accessor :get
|
|
@@ -1479,24 +1521,26 @@ module Google
|
|
|
1479
1521
|
# @return [Google::Apis::ServiceconsumermanagementV1::MediaUpload]
|
|
1480
1522
|
attr_accessor :media_upload
|
|
1481
1523
|
|
|
1482
|
-
# Used for updating a resource.
|
|
1524
|
+
# Maps to HTTP PATCH. Used for updating a resource.
|
|
1483
1525
|
# Corresponds to the JSON property `patch`
|
|
1484
1526
|
# @return [String]
|
|
1485
1527
|
attr_accessor :patch
|
|
1486
1528
|
|
|
1487
|
-
# Used for creating a resource.
|
|
1529
|
+
# Maps to HTTP POST. Used for creating a resource or performing an action.
|
|
1488
1530
|
# Corresponds to the JSON property `post`
|
|
1489
1531
|
# @return [String]
|
|
1490
1532
|
attr_accessor :post
|
|
1491
1533
|
|
|
1492
|
-
# Used for
|
|
1534
|
+
# Maps to HTTP PUT. Used for replacing a resource.
|
|
1493
1535
|
# Corresponds to the JSON property `put`
|
|
1494
1536
|
# @return [String]
|
|
1495
1537
|
attr_accessor :put
|
|
1496
1538
|
|
|
1497
1539
|
# Optional. The name of the response field whose value is mapped to the HTTP
|
|
1498
|
-
# body
|
|
1499
|
-
#
|
|
1540
|
+
# response body. When omitted, the entire response message will be used
|
|
1541
|
+
# as the HTTP response body.
|
|
1542
|
+
# NOTE: The referred field must be present at the top-level of the response
|
|
1543
|
+
# message type.
|
|
1500
1544
|
# Corresponds to the JSON property `responseBody`
|
|
1501
1545
|
# @return [String]
|
|
1502
1546
|
attr_accessor :response_body
|
|
@@ -1539,7 +1583,7 @@ module Google
|
|
|
1539
1583
|
# @return [String]
|
|
1540
1584
|
attr_accessor :rest_method_name
|
|
1541
1585
|
|
|
1542
|
-
# Selects
|
|
1586
|
+
# Selects a method to which this rule applies.
|
|
1543
1587
|
# Refer to selector for syntax details.
|
|
1544
1588
|
# Corresponds to the JSON property `selector`
|
|
1545
1589
|
# @return [String]
|