Autogenerated update (2019-05-25)

Update:
- fcm_v1
- securitycenter_v1
- securitycenter_v1beta1
This commit is contained in:
Google APIs 2019-05-25 00:38:22 +00:00
parent dd7edcba0a
commit 616c097d1c
7 changed files with 40 additions and 11 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://firebase.google.com/docs/cloud-messaging # @see https://firebase.google.com/docs/cloud-messaging
module FcmV1 module FcmV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190516' REVISION = '20190524'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -207,6 +207,11 @@ module Google
class ApnsConfig class ApnsConfig
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Options for features provided by the FCM SDK for iOS.
# Corresponds to the JSON property `fcmOptions`
# @return [Google::Apis::FcmV1::ApnsFcmOptions]
attr_accessor :fcm_options
# HTTP request headers defined in Apple Push Notification Service. Refer to # HTTP request headers defined in Apple Push Notification Service. Refer to
# [APNs request headers](https://goo.gl/C6Yhia) for # [APNs request headers](https://goo.gl/C6Yhia) for
# supported headers, e.g. "apns-priority": "10". # supported headers, e.g. "apns-priority": "10".
@ -228,11 +233,25 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@fcm_options = args[:fcm_options] if args.key?(:fcm_options)
@headers = args[:headers] if args.key?(:headers) @headers = args[:headers] if args.key?(:headers)
@payload = args[:payload] if args.key?(:payload) @payload = args[:payload] if args.key?(:payload)
end end
end end
# Options for features provided by the FCM SDK for iOS.
class ApnsFcmOptions
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# Message to send by Firebase Cloud Messaging Service. # Message to send by Firebase Cloud Messaging Service.
class Message class Message
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -40,6 +40,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ApnsFcmOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Message class Message
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -104,11 +110,19 @@ module Google
class ApnsConfig class ApnsConfig
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :fcm_options, as: 'fcmOptions', class: Google::Apis::FcmV1::ApnsFcmOptions, decorator: Google::Apis::FcmV1::ApnsFcmOptions::Representation
hash :headers, as: 'headers' hash :headers, as: 'headers'
hash :payload, as: 'payload' hash :payload, as: 'payload'
end end
end end
class ApnsFcmOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Message class Message
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
module SecuritycenterV1 module SecuritycenterV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190503' REVISION = '20190522'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1481,10 +1481,8 @@ module Google
# The source's display name. # The source's display name.
# A source's display name must be unique amongst its siblings, for example, # A source's display name must be unique amongst its siblings, for example,
# two sources with the same parent can't share the same display name. # two sources with the same parent can't share the same display name.
# The display name must start and end with a letter or digit, may contain # The display name must have a length between 1 and 64 characters
# letters, digits, spaces, hyphens, and underscores, and can be no longer # (inclusive).
# than 32 characters. This is captured by the regular expression:
# [\p`L`\p`N`](`\p`L`\p`N`_- ]`0,30`[\p`L`\p`N`])?.
# Corresponds to the JSON property `displayName` # Corresponds to the JSON property `displayName`
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name

View File

@ -26,7 +26,7 @@ module Google
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
module SecuritycenterV1beta1 module SecuritycenterV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190503' REVISION = '20190522'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1368,10 +1368,8 @@ module Google
# The sources display name. # The sources display name.
# A sources display name must be unique amongst its siblings, for example, # A sources display name must be unique amongst its siblings, for example,
# two sources with the same parent can't share the same display name. # two sources with the same parent can't share the same display name.
# The display name must start and end with a letter or digit, may contain # The display name must have a length between 1 and 64 characters
# letters, digits, spaces, hyphens, and underscores, and can be no longer # (inclusive).
# than 32 characters. This is captured by the regular expression:
# [\p`L`\p`N`](`\p`L`\p`N`_- ]`0,30`[\p`L`\p`N`])?.
# Corresponds to the JSON property `displayName` # Corresponds to the JSON property `displayName`
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name