google-api-client 0.30.1 → 0.30.2
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 +64 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +8 -74
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +156 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +68 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +8 -64
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +8 -64
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -64
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +12 -4
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +8 -74
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -74
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2/service.rb +1 -2
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +8 -82
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +1 -2
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +6 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +6 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +12 -111
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +8 -74
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +6 -0
- data/generated/google/apis/content_v2/representations.rb +2 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -0
- data/generated/google/apis/content_v2_1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +12 -111
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +27 -117
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -74
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +10 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +56 -0
- data/generated/google/apis/fcm_v1/representations.rb +31 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +6 -6
- data/generated/google/apis/file_v1/representations.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +6 -6
- data/generated/google/apis/file_v1beta1/representations.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +8 -74
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +8 -74
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +14 -113
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +10 -2
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +62 -113
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +17 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +2 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +14 -113
- data/generated/google/apis/healthcare_v1beta1/service.rb +2 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -3
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +4 -37
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +4 -37
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +4 -37
- data/generated/google/apis/logging_v2.rb +5 -2
- data/generated/google/apis/logging_v2/service.rb +4 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +27 -77
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3.rb +5 -2
- data/generated/google/apis/monitoring_v3/classes.rb +13 -97
- data/generated/google/apis/monitoring_v3/service.rb +4 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +12 -78
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +12 -78
- data/generated/google/apis/redis_v1beta1/service.rb +2 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +20 -185
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +20 -185
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +28 -259
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +8 -74
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +12 -111
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +35 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +223 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +114 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +211 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +0 -7
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -78
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +36 -333
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +32 -296
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +32 -296
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +2 -2
- data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
|
@@ -1347,6 +1347,7 @@ module Google
|
|
|
1347
1347
|
# @private
|
|
1348
1348
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1349
1349
|
property :audio_encoding, as: 'audioEncoding'
|
|
1350
|
+
property :enable_word_info, as: 'enableWordInfo'
|
|
1350
1351
|
property :language_code, as: 'languageCode'
|
|
1351
1352
|
property :model, as: 'model'
|
|
1352
1353
|
property :model_variant, as: 'modelVariant'
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/dlp/docs/
|
|
28
28
|
module DlpV2
|
|
29
29
|
VERSION = 'V2'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20190604'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -2105,43 +2105,10 @@ module Google
|
|
|
2105
2105
|
|
|
2106
2106
|
# The `Status` type defines a logical error model that is suitable for
|
|
2107
2107
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
2108
|
-
# used by [gRPC](https://github.com/grpc).
|
|
2109
|
-
#
|
|
2110
|
-
#
|
|
2111
|
-
#
|
|
2112
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
2113
|
-
# message, and error details. The error code should be an enum value of
|
|
2114
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
2115
|
-
# error message should be a developer-facing English message that helps
|
|
2116
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
2117
|
-
# error message is needed, put the localized message in the error details or
|
|
2118
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
2119
|
-
# information about the error. There is a predefined set of error detail types
|
|
2120
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
2121
|
-
# # Language mapping
|
|
2122
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
2123
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
2124
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
2125
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
2126
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
2127
|
-
# # Other uses
|
|
2128
|
-
# The error model and the `Status` message can be used in a variety of
|
|
2129
|
-
# environments, either with or without APIs, to provide a
|
|
2130
|
-
# consistent developer experience across different environments.
|
|
2131
|
-
# Example uses of this error model include:
|
|
2132
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
2133
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
2134
|
-
# errors.
|
|
2135
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
2136
|
-
# have a `Status` message for error reporting.
|
|
2137
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
2138
|
-
# `Status` message should be used directly inside batch response, one for
|
|
2139
|
-
# each error sub-response.
|
|
2140
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
2141
|
-
# results in its response, the status of those operations should be
|
|
2142
|
-
# represented directly using the `Status` message.
|
|
2143
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
2144
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
2108
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
2109
|
+
# three pieces of data: error code, error message, and error details.
|
|
2110
|
+
# You can find out more about this error model and how to work with it in the
|
|
2111
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
2145
2112
|
# Corresponds to the JSON property `details`
|
|
2146
2113
|
# @return [Google::Apis::DlpV2::GoogleRpcStatus]
|
|
2147
2114
|
attr_accessor :details
|
|
@@ -5962,43 +5929,10 @@ module Google
|
|
|
5962
5929
|
|
|
5963
5930
|
# The `Status` type defines a logical error model that is suitable for
|
|
5964
5931
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
5965
|
-
# used by [gRPC](https://github.com/grpc).
|
|
5966
|
-
#
|
|
5967
|
-
#
|
|
5968
|
-
#
|
|
5969
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
5970
|
-
# message, and error details. The error code should be an enum value of
|
|
5971
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
5972
|
-
# error message should be a developer-facing English message that helps
|
|
5973
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
5974
|
-
# error message is needed, put the localized message in the error details or
|
|
5975
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
5976
|
-
# information about the error. There is a predefined set of error detail types
|
|
5977
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
5978
|
-
# # Language mapping
|
|
5979
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
5980
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
5981
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
5982
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
5983
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
5984
|
-
# # Other uses
|
|
5985
|
-
# The error model and the `Status` message can be used in a variety of
|
|
5986
|
-
# environments, either with or without APIs, to provide a
|
|
5987
|
-
# consistent developer experience across different environments.
|
|
5988
|
-
# Example uses of this error model include:
|
|
5989
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
5990
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
5991
|
-
# errors.
|
|
5992
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
5993
|
-
# have a `Status` message for error reporting.
|
|
5994
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
5995
|
-
# `Status` message should be used directly inside batch response, one for
|
|
5996
|
-
# each error sub-response.
|
|
5997
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
5998
|
-
# results in its response, the status of those operations should be
|
|
5999
|
-
# represented directly using the `Status` message.
|
|
6000
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
6001
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
5932
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
5933
|
+
# three pieces of data: error code, error message, and error details.
|
|
5934
|
+
# You can find out more about this error model and how to work with it in the
|
|
5935
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
6002
5936
|
class GoogleRpcStatus
|
|
6003
5937
|
include Google::Apis::Core::Hashable
|
|
6004
5938
|
|
|
@@ -4623,6 +4623,8 @@ module Google
|
|
|
4623
4623
|
end
|
|
4624
4624
|
|
|
4625
4625
|
# A border around a table cell.
|
|
4626
|
+
# Table cell borders cannot be transparent. To hide a table cell border, make
|
|
4627
|
+
# its width 0.
|
|
4626
4628
|
class TableCellBorder
|
|
4627
4629
|
include Google::Apis::Core::Hashable
|
|
4628
4630
|
|
|
@@ -4698,21 +4700,29 @@ module Google
|
|
|
4698
4700
|
attr_accessor :background_color
|
|
4699
4701
|
|
|
4700
4702
|
# A border around a table cell.
|
|
4703
|
+
# Table cell borders cannot be transparent. To hide a table cell border, make
|
|
4704
|
+
# its width 0.
|
|
4701
4705
|
# Corresponds to the JSON property `borderBottom`
|
|
4702
4706
|
# @return [Google::Apis::DocsV1::TableCellBorder]
|
|
4703
4707
|
attr_accessor :border_bottom
|
|
4704
4708
|
|
|
4705
4709
|
# A border around a table cell.
|
|
4710
|
+
# Table cell borders cannot be transparent. To hide a table cell border, make
|
|
4711
|
+
# its width 0.
|
|
4706
4712
|
# Corresponds to the JSON property `borderLeft`
|
|
4707
4713
|
# @return [Google::Apis::DocsV1::TableCellBorder]
|
|
4708
4714
|
attr_accessor :border_left
|
|
4709
4715
|
|
|
4710
4716
|
# A border around a table cell.
|
|
4717
|
+
# Table cell borders cannot be transparent. To hide a table cell border, make
|
|
4718
|
+
# its width 0.
|
|
4711
4719
|
# Corresponds to the JSON property `borderRight`
|
|
4712
4720
|
# @return [Google::Apis::DocsV1::TableCellBorder]
|
|
4713
4721
|
attr_accessor :border_right
|
|
4714
4722
|
|
|
4715
4723
|
# A border around a table cell.
|
|
4724
|
+
# Table cell borders cannot be transparent. To hide a table cell border, make
|
|
4725
|
+
# its width 0.
|
|
4716
4726
|
# Corresponds to the JSON property `borderTop`
|
|
4717
4727
|
# @return [Google::Apis::DocsV1::TableCellBorder]
|
|
4718
4728
|
attr_accessor :border_top
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://firebase.google.com/docs/cloud-messaging
|
|
27
27
|
module FcmV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190605'
|
|
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'
|
|
@@ -40,6 +40,11 @@ module Google
|
|
|
40
40
|
# @return [Hash<String,String>]
|
|
41
41
|
attr_accessor :data
|
|
42
42
|
|
|
43
|
+
# Options for features provided by the FCM SDK for Android.
|
|
44
|
+
# Corresponds to the JSON property `fcmOptions`
|
|
45
|
+
# @return [Google::Apis::FcmV1::AndroidFcmOptions]
|
|
46
|
+
attr_accessor :fcm_options
|
|
47
|
+
|
|
43
48
|
# Notification to send to android devices.
|
|
44
49
|
# Corresponds to the JSON property `notification`
|
|
45
50
|
# @return [Google::Apis::FcmV1::AndroidNotification]
|
|
@@ -81,6 +86,7 @@ module Google
|
|
|
81
86
|
def update!(**args)
|
|
82
87
|
@collapse_key = args[:collapse_key] if args.key?(:collapse_key)
|
|
83
88
|
@data = args[:data] if args.key?(:data)
|
|
89
|
+
@fcm_options = args[:fcm_options] if args.key?(:fcm_options)
|
|
84
90
|
@notification = args[:notification] if args.key?(:notification)
|
|
85
91
|
@priority = args[:priority] if args.key?(:priority)
|
|
86
92
|
@restricted_package_name = args[:restricted_package_name] if args.key?(:restricted_package_name)
|
|
@@ -88,6 +94,25 @@ module Google
|
|
|
88
94
|
end
|
|
89
95
|
end
|
|
90
96
|
|
|
97
|
+
# Options for features provided by the FCM SDK for Android.
|
|
98
|
+
class AndroidFcmOptions
|
|
99
|
+
include Google::Apis::Core::Hashable
|
|
100
|
+
|
|
101
|
+
# Label that the message's analytics data will be associated with.
|
|
102
|
+
# Corresponds to the JSON property `analyticsLabel`
|
|
103
|
+
# @return [String]
|
|
104
|
+
attr_accessor :analytics_label
|
|
105
|
+
|
|
106
|
+
def initialize(**args)
|
|
107
|
+
update!(**args)
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Update properties of this object
|
|
111
|
+
def update!(**args)
|
|
112
|
+
@analytics_label = args[:analytics_label] if args.key?(:analytics_label)
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
|
|
91
116
|
# Notification to send to android devices.
|
|
92
117
|
class AndroidNotification
|
|
93
118
|
include Google::Apis::Core::Hashable
|
|
@@ -243,12 +268,37 @@ module Google
|
|
|
243
268
|
class ApnsFcmOptions
|
|
244
269
|
include Google::Apis::Core::Hashable
|
|
245
270
|
|
|
271
|
+
# Label that the message's analytics data will be associated with.
|
|
272
|
+
# Corresponds to the JSON property `analyticsLabel`
|
|
273
|
+
# @return [String]
|
|
274
|
+
attr_accessor :analytics_label
|
|
275
|
+
|
|
276
|
+
def initialize(**args)
|
|
277
|
+
update!(**args)
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
# Update properties of this object
|
|
281
|
+
def update!(**args)
|
|
282
|
+
@analytics_label = args[:analytics_label] if args.key?(:analytics_label)
|
|
283
|
+
end
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
# Platform independent options for features provided by the FCM SDKs.
|
|
287
|
+
class FcmOptions
|
|
288
|
+
include Google::Apis::Core::Hashable
|
|
289
|
+
|
|
290
|
+
# Label that the message's analytics data will be associated with.
|
|
291
|
+
# Corresponds to the JSON property `analyticsLabel`
|
|
292
|
+
# @return [String]
|
|
293
|
+
attr_accessor :analytics_label
|
|
294
|
+
|
|
246
295
|
def initialize(**args)
|
|
247
296
|
update!(**args)
|
|
248
297
|
end
|
|
249
298
|
|
|
250
299
|
# Update properties of this object
|
|
251
300
|
def update!(**args)
|
|
301
|
+
@analytics_label = args[:analytics_label] if args.key?(:analytics_label)
|
|
252
302
|
end
|
|
253
303
|
end
|
|
254
304
|
|
|
@@ -278,6 +328,11 @@ module Google
|
|
|
278
328
|
# @return [Hash<String,String>]
|
|
279
329
|
attr_accessor :data
|
|
280
330
|
|
|
331
|
+
# Platform independent options for features provided by the FCM SDKs.
|
|
332
|
+
# Corresponds to the JSON property `fcmOptions`
|
|
333
|
+
# @return [Google::Apis::FcmV1::FcmOptions]
|
|
334
|
+
attr_accessor :fcm_options
|
|
335
|
+
|
|
281
336
|
# Output Only. The identifier of the message sent, in the format of
|
|
282
337
|
# `projects/*/messages/`message_id``.
|
|
283
338
|
# Corresponds to the JSON property `name`
|
|
@@ -315,6 +370,7 @@ module Google
|
|
|
315
370
|
@apns = args[:apns] if args.key?(:apns)
|
|
316
371
|
@condition = args[:condition] if args.key?(:condition)
|
|
317
372
|
@data = args[:data] if args.key?(:data)
|
|
373
|
+
@fcm_options = args[:fcm_options] if args.key?(:fcm_options)
|
|
318
374
|
@name = args[:name] if args.key?(:name)
|
|
319
375
|
@notification = args[:notification] if args.key?(:notification)
|
|
320
376
|
@token = args[:token] if args.key?(:token)
|
|
@@ -28,6 +28,12 @@ module Google
|
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
+
class AndroidFcmOptions
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
31
37
|
class AndroidNotification
|
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
39
|
|
|
@@ -46,6 +52,12 @@ module Google
|
|
|
46
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
53
|
end
|
|
48
54
|
|
|
55
|
+
class FcmOptions
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
49
61
|
class Message
|
|
50
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
63
|
|
|
@@ -81,6 +93,8 @@ module Google
|
|
|
81
93
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
82
94
|
property :collapse_key, as: 'collapseKey'
|
|
83
95
|
hash :data, as: 'data'
|
|
96
|
+
property :fcm_options, as: 'fcmOptions', class: Google::Apis::FcmV1::AndroidFcmOptions, decorator: Google::Apis::FcmV1::AndroidFcmOptions::Representation
|
|
97
|
+
|
|
84
98
|
property :notification, as: 'notification', class: Google::Apis::FcmV1::AndroidNotification, decorator: Google::Apis::FcmV1::AndroidNotification::Representation
|
|
85
99
|
|
|
86
100
|
property :priority, as: 'priority'
|
|
@@ -89,6 +103,13 @@ module Google
|
|
|
89
103
|
end
|
|
90
104
|
end
|
|
91
105
|
|
|
106
|
+
class AndroidFcmOptions
|
|
107
|
+
# @private
|
|
108
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
109
|
+
property :analytics_label, as: 'analyticsLabel'
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
92
113
|
class AndroidNotification
|
|
93
114
|
# @private
|
|
94
115
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -120,6 +141,14 @@ module Google
|
|
|
120
141
|
class ApnsFcmOptions
|
|
121
142
|
# @private
|
|
122
143
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
144
|
+
property :analytics_label, as: 'analyticsLabel'
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
class FcmOptions
|
|
149
|
+
# @private
|
|
150
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
151
|
+
property :analytics_label, as: 'analyticsLabel'
|
|
123
152
|
end
|
|
124
153
|
end
|
|
125
154
|
|
|
@@ -132,6 +161,8 @@ module Google
|
|
|
132
161
|
|
|
133
162
|
property :condition, as: 'condition'
|
|
134
163
|
hash :data, as: 'data'
|
|
164
|
+
property :fcm_options, as: 'fcmOptions', class: Google::Apis::FcmV1::FcmOptions, decorator: Google::Apis::FcmV1::FcmOptions::Representation
|
|
165
|
+
|
|
135
166
|
property :name, as: 'name'
|
|
136
167
|
property :notification, as: 'notification', class: Google::Apis::FcmV1::Notification, decorator: Google::Apis::FcmV1::Notification::Representation
|
|
137
168
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/filestore/
|
|
26
26
|
module FileV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190605'
|
|
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'
|
|
@@ -426,7 +426,7 @@ module Google
|
|
|
426
426
|
end
|
|
427
427
|
end
|
|
428
428
|
|
|
429
|
-
#
|
|
429
|
+
# SloExclusion represents an excusion in SLI calculation applies to all SLOs.
|
|
430
430
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
|
431
431
|
include Google::Apis::Core::Hashable
|
|
432
432
|
|
|
@@ -454,12 +454,12 @@ module Google
|
|
|
454
454
|
# @return [String]
|
|
455
455
|
attr_accessor :reason
|
|
456
456
|
|
|
457
|
-
# Name of an SLI
|
|
458
|
-
# signaling that the instance should be excluded from all
|
|
457
|
+
# Name of an SLI that this exclusion applies to. Can be left empty,
|
|
458
|
+
# signaling that the instance should be excluded from all SLIs defined
|
|
459
459
|
# in the service SLO configuration.
|
|
460
|
-
# Corresponds to the JSON property `
|
|
460
|
+
# Corresponds to the JSON property `sliName`
|
|
461
461
|
# @return [String]
|
|
462
|
-
attr_accessor :
|
|
462
|
+
attr_accessor :sli_name
|
|
463
463
|
|
|
464
464
|
def initialize(**args)
|
|
465
465
|
update!(**args)
|
|
@@ -470,7 +470,7 @@ module Google
|
|
|
470
470
|
@exclusion_duration = args[:exclusion_duration] if args.key?(:exclusion_duration)
|
|
471
471
|
@exclusion_start_time = args[:exclusion_start_time] if args.key?(:exclusion_start_time)
|
|
472
472
|
@reason = args[:reason] if args.key?(:reason)
|
|
473
|
-
@
|
|
473
|
+
@sli_name = args[:sli_name] if args.key?(:sli_name)
|
|
474
474
|
end
|
|
475
475
|
end
|
|
476
476
|
|
|
@@ -236,7 +236,7 @@ module Google
|
|
|
236
236
|
property :exclusion_duration, as: 'exclusionDuration'
|
|
237
237
|
property :exclusion_start_time, as: 'exclusionStartTime'
|
|
238
238
|
property :reason, as: 'reason'
|
|
239
|
-
property :
|
|
239
|
+
property :sli_name, as: 'sliName'
|
|
240
240
|
end
|
|
241
241
|
end
|
|
242
242
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/filestore/
|
|
26
26
|
module FileV1beta1
|
|
27
27
|
VERSION = 'V1beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190605'
|
|
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'
|
|
@@ -426,7 +426,7 @@ module Google
|
|
|
426
426
|
end
|
|
427
427
|
end
|
|
428
428
|
|
|
429
|
-
#
|
|
429
|
+
# SloExclusion represents an excusion in SLI calculation applies to all SLOs.
|
|
430
430
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
|
431
431
|
include Google::Apis::Core::Hashable
|
|
432
432
|
|
|
@@ -454,12 +454,12 @@ module Google
|
|
|
454
454
|
# @return [String]
|
|
455
455
|
attr_accessor :reason
|
|
456
456
|
|
|
457
|
-
# Name of an SLI
|
|
458
|
-
# signaling that the instance should be excluded from all
|
|
457
|
+
# Name of an SLI that this exclusion applies to. Can be left empty,
|
|
458
|
+
# signaling that the instance should be excluded from all SLIs defined
|
|
459
459
|
# in the service SLO configuration.
|
|
460
|
-
# Corresponds to the JSON property `
|
|
460
|
+
# Corresponds to the JSON property `sliName`
|
|
461
461
|
# @return [String]
|
|
462
|
-
attr_accessor :
|
|
462
|
+
attr_accessor :sli_name
|
|
463
463
|
|
|
464
464
|
def initialize(**args)
|
|
465
465
|
update!(**args)
|
|
@@ -470,7 +470,7 @@ module Google
|
|
|
470
470
|
@exclusion_duration = args[:exclusion_duration] if args.key?(:exclusion_duration)
|
|
471
471
|
@exclusion_start_time = args[:exclusion_start_time] if args.key?(:exclusion_start_time)
|
|
472
472
|
@reason = args[:reason] if args.key?(:reason)
|
|
473
|
-
@
|
|
473
|
+
@sli_name = args[:sli_name] if args.key?(:sli_name)
|
|
474
474
|
end
|
|
475
475
|
end
|
|
476
476
|
|
|
@@ -236,7 +236,7 @@ module Google
|
|
|
236
236
|
property :exclusion_duration, as: 'exclusionDuration'
|
|
237
237
|
property :exclusion_start_time, as: 'exclusionStartTime'
|
|
238
238
|
property :reason, as: 'reason'
|
|
239
|
-
property :
|
|
239
|
+
property :sli_name, as: 'sliName'
|
|
240
240
|
end
|
|
241
241
|
end
|
|
242
242
|
|