google-api-client 0.9.19 → 0.9.20
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 +5 -1
- data/api_names.yaml +2 -0
- 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 +20 -3
- 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/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +9 -7
- data/generated/google/apis/androidenterprise_v1/service.rb +7 -1
- data/generated/google/apis/appengine_v1beta5.rb +7 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +86 -25
- data/generated/google/apis/appengine_v1beta5/representations.rb +31 -12
- data/generated/google/apis/appengine_v1beta5/service.rb +33 -33
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
- 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 +27 -18
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +243 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +64 -0
- data/generated/google/apis/classroom_v1/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +443 -13
- data/generated/google/apis/compute_beta/representations.rb +155 -0
- data/generated/google/apis/compute_beta/service.rb +383 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +43 -13
- data/generated/google/apis/compute_v1/representations.rb +13 -0
- data/generated/google/apis/compute_v1/service.rb +89 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +48 -0
- data/generated/google/apis/content_v2/representations.rb +18 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +44 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +18 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +367 -7
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +213 -68
- data/generated/google/apis/dataproc_v1/representations.rb +38 -0
- data/generated/google/apis/dataproc_v1/service.rb +78 -48
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +3 -3
- data/generated/google/apis/deploymentmanager_v2/service.rb +55 -5
- data/generated/google/apis/dfareporting_v2_6.rb +1 -1
- data/generated/google/apis/dfareporting_v2_6/classes.rb +4 -3
- data/generated/google/apis/dfareporting_v2_6/service.rb +48 -29
- 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 +7 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +7 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- 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/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +9 -2
- data/generated/google/apis/genomics_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -1
- data/generated/google/apis/gmail_v1.rb +4 -1
- data/generated/google/apis/gmail_v1/classes.rb +8 -10
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +39 -6
- data/generated/google/apis/identitytoolkit_v3/representations.rb +6 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +3 -2
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +22 -18
- data/generated/google/apis/logging_v2beta1/service.rb +17 -3
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +26 -24
- data/generated/google/apis/oauth2_v2.rb +1 -1
- 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/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +771 -75
- data/generated/google/apis/sheets_v4/representations.rb +125 -10
- data/generated/google/apis/sheets_v4/service.rb +39 -2
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +3926 -0
- data/generated/google/apis/slides_v1/representations.rb +1722 -0
- data/generated/google/apis/slides_v1/service.rb +202 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/service.rb +25 -25
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +20 -19
- data/generated/google/apis/youtube_v3/representations.rb +3 -4
- data/generated/google/apis/youtube_v3/service.rb +35 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
|
@@ -3345,8 +3345,8 @@ module Google
|
|
|
3345
3345
|
# @return [Array<Google::Apis::GenomicsV1::OperationEvent>]
|
|
3346
3346
|
attr_accessor :events
|
|
3347
3347
|
|
|
3348
|
-
#
|
|
3349
|
-
# operation.
|
|
3348
|
+
# This field is deprecated. Use `labels` instead. Optionally provided by the
|
|
3349
|
+
# caller when submitting the request that creates the operation.
|
|
3350
3350
|
# Corresponds to the JSON property `clientId`
|
|
3351
3351
|
# @return [String]
|
|
3352
3352
|
attr_accessor :client_id
|
|
@@ -3356,6 +3356,12 @@ module Google
|
|
|
3356
3356
|
# @return [Hash<String,Object>]
|
|
3357
3357
|
attr_accessor :runtime_metadata
|
|
3358
3358
|
|
|
3359
|
+
# Optionally provided by the caller when submitting the request that creates the
|
|
3360
|
+
# operation.
|
|
3361
|
+
# Corresponds to the JSON property `labels`
|
|
3362
|
+
# @return [Hash<String,String>]
|
|
3363
|
+
attr_accessor :labels
|
|
3364
|
+
|
|
3359
3365
|
def initialize(**args)
|
|
3360
3366
|
update!(**args)
|
|
3361
3367
|
end
|
|
@@ -3370,6 +3376,7 @@ module Google
|
|
|
3370
3376
|
@events = args[:events] if args.key?(:events)
|
|
3371
3377
|
@client_id = args[:client_id] if args.key?(:client_id)
|
|
3372
3378
|
@runtime_metadata = args[:runtime_metadata] if args.key?(:runtime_metadata)
|
|
3379
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
3373
3380
|
end
|
|
3374
3381
|
end
|
|
3375
3382
|
|
|
@@ -764,7 +764,8 @@ module Google
|
|
|
764
764
|
# The time this job was created, in seconds from the [epoch](http://en.
|
|
765
765
|
# wikipedia.org/wiki/Unix_time). Can use `>=` and/or `= 1432140000` * `projectId
|
|
766
766
|
# = my-project AND createTime >= 1432140000 AND createTime <= 1432150000 AND
|
|
767
|
-
# status = RUNNING`
|
|
767
|
+
# status = RUNNING` * `projectId = my-project AND labels.color = *` * `projectId
|
|
768
|
+
# = my-project AND labels.color = red`
|
|
768
769
|
# @param [Fixnum] page_size
|
|
769
770
|
# The maximum number of results to return. If unspecified, defaults to 256. The
|
|
770
771
|
# maximum value is 2048.
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/gmail/api/
|
|
26
26
|
module GmailV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20161019'
|
|
29
29
|
|
|
30
30
|
# View and manage your mail
|
|
31
31
|
AUTH_SCOPE = 'https://mail.google.com/'
|
|
@@ -39,6 +39,9 @@ module Google
|
|
|
39
39
|
# Manage mailbox labels
|
|
40
40
|
AUTH_GMAIL_LABELS = 'https://www.googleapis.com/auth/gmail.labels'
|
|
41
41
|
|
|
42
|
+
# View your email message metadata such as labels and headers, but not the email body
|
|
43
|
+
AUTH_GMAIL_METADATA = 'https://www.googleapis.com/auth/gmail.metadata'
|
|
44
|
+
|
|
42
45
|
# View and modify but not delete your email
|
|
43
46
|
AUTH_GMAIL_MODIFY = 'https://www.googleapis.com/auth/gmail.modify'
|
|
44
47
|
|
|
@@ -870,10 +870,10 @@ module Google
|
|
|
870
870
|
# @return [String]
|
|
871
871
|
attr_accessor :attachment_id
|
|
872
872
|
|
|
873
|
-
# The body data of a MIME message part
|
|
874
|
-
# that have no message body or when the body data
|
|
875
|
-
# attachment. An attachment ID is present if the body data
|
|
876
|
-
# separate attachment.
|
|
873
|
+
# The body data of a MIME message part as a base64url encoded string. May be
|
|
874
|
+
# empty for MIME container types that have no message body or when the body data
|
|
875
|
+
# is sent as a separate attachment. An attachment ID is present if the body data
|
|
876
|
+
# is contained in a separate attachment.
|
|
877
877
|
# Corresponds to the JSON property `data`
|
|
878
878
|
# @return [String]
|
|
879
879
|
attr_accessor :data
|
|
@@ -1036,8 +1036,7 @@ module Google
|
|
|
1036
1036
|
|
|
1037
1037
|
# Settings associated with a send-as alias, which can be either the primary
|
|
1038
1038
|
# login address associated with the account or a custom "from" address. Send-as
|
|
1039
|
-
# aliases correspond to the "Send Mail As" feature in the web interface.
|
|
1040
|
-
# for more details.
|
|
1039
|
+
# aliases correspond to the "Send Mail As" feature in the web interface.
|
|
1041
1040
|
class SendAs
|
|
1042
1041
|
include Google::Apis::Core::Hashable
|
|
1043
1042
|
|
|
@@ -1092,9 +1091,8 @@ module Google
|
|
|
1092
1091
|
# @return [Google::Apis::GmailV1::SmtpMsa]
|
|
1093
1092
|
attr_accessor :smtp_msa
|
|
1094
1093
|
|
|
1095
|
-
# Whether Gmail should
|
|
1096
|
-
# email address.
|
|
1097
|
-
# from" aliases.
|
|
1094
|
+
# Whether Gmail should treat this address as an alias for the user's primary
|
|
1095
|
+
# email address. This setting only applies to custom "from" aliases.
|
|
1098
1096
|
# Corresponds to the JSON property `treatAsAlias`
|
|
1099
1097
|
# @return [Boolean]
|
|
1100
1098
|
attr_accessor :treat_as_alias
|
|
@@ -1210,7 +1208,7 @@ module Google
|
|
|
1210
1208
|
end
|
|
1211
1209
|
|
|
1212
1210
|
# Vacation auto-reply settings for an account. These settings correspond to the "
|
|
1213
|
-
# Vacation responder" feature in the web interface.
|
|
1211
|
+
# Vacation responder" feature in the web interface.
|
|
1214
1212
|
class VacationSettings
|
|
1215
1213
|
include Google::Apis::Core::Hashable
|
|
1216
1214
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/identity-toolkit/v3/
|
|
26
26
|
module IdentitytoolkitV3
|
|
27
27
|
VERSION = 'V3'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20161024'
|
|
29
29
|
|
|
30
30
|
# View and administer all your Firebase data and settings
|
|
31
31
|
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
|
|
@@ -507,6 +507,11 @@ module Google
|
|
|
507
507
|
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
|
508
508
|
attr_accessor :change_email_template
|
|
509
509
|
|
|
510
|
+
#
|
|
511
|
+
# Corresponds to the JSON property `dynamicLinksDomain`
|
|
512
|
+
# @return [String]
|
|
513
|
+
attr_accessor :dynamic_links_domain
|
|
514
|
+
|
|
510
515
|
# Whether anonymous user is enabled.
|
|
511
516
|
# Corresponds to the JSON property `enableAnonymousUser`
|
|
512
517
|
# @return [Boolean]
|
|
@@ -554,6 +559,7 @@ module Google
|
|
|
554
559
|
@api_key = args[:api_key] if args.key?(:api_key)
|
|
555
560
|
@authorized_domains = args[:authorized_domains] if args.key?(:authorized_domains)
|
|
556
561
|
@change_email_template = args[:change_email_template] if args.key?(:change_email_template)
|
|
562
|
+
@dynamic_links_domain = args[:dynamic_links_domain] if args.key?(:dynamic_links_domain)
|
|
557
563
|
@enable_anonymous_user = args[:enable_anonymous_user] if args.key?(:enable_anonymous_user)
|
|
558
564
|
@idp_config = args[:idp_config] if args.key?(:idp_config)
|
|
559
565
|
@legacy_reset_password_template = args[:legacy_reset_password_template] if args.key?(:legacy_reset_password_template)
|
|
@@ -905,6 +911,12 @@ module Google
|
|
|
905
911
|
# @return [String]
|
|
906
912
|
attr_accessor :captcha_response
|
|
907
913
|
|
|
914
|
+
# Whether to disable the user. Only can be used by service account.
|
|
915
|
+
# Corresponds to the JSON property `disabled`
|
|
916
|
+
# @return [Boolean]
|
|
917
|
+
attr_accessor :disabled
|
|
918
|
+
alias_method :disabled?, :disabled
|
|
919
|
+
|
|
908
920
|
# The name of the user.
|
|
909
921
|
# Corresponds to the JSON property `displayName`
|
|
910
922
|
# @return [String]
|
|
@@ -915,6 +927,12 @@ module Google
|
|
|
915
927
|
# @return [String]
|
|
916
928
|
attr_accessor :email
|
|
917
929
|
|
|
930
|
+
# Mark the email as verified or not. Only can be used by service account.
|
|
931
|
+
# Corresponds to the JSON property `emailVerified`
|
|
932
|
+
# @return [Boolean]
|
|
933
|
+
attr_accessor :email_verified
|
|
934
|
+
alias_method :email_verified?, :email_verified
|
|
935
|
+
|
|
918
936
|
# The GITKit token of the authenticated user.
|
|
919
937
|
# Corresponds to the JSON property `idToken`
|
|
920
938
|
# @return [String]
|
|
@@ -930,6 +948,11 @@ module Google
|
|
|
930
948
|
# @return [String]
|
|
931
949
|
attr_accessor :password
|
|
932
950
|
|
|
951
|
+
# The photo url of the user.
|
|
952
|
+
# Corresponds to the JSON property `photoUrl`
|
|
953
|
+
# @return [String]
|
|
954
|
+
attr_accessor :photo_url
|
|
955
|
+
|
|
933
956
|
def initialize(**args)
|
|
934
957
|
update!(**args)
|
|
935
958
|
end
|
|
@@ -938,11 +961,14 @@ module Google
|
|
|
938
961
|
def update!(**args)
|
|
939
962
|
@captcha_challenge = args[:captcha_challenge] if args.key?(:captcha_challenge)
|
|
940
963
|
@captcha_response = args[:captcha_response] if args.key?(:captcha_response)
|
|
964
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
|
941
965
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
942
966
|
@email = args[:email] if args.key?(:email)
|
|
967
|
+
@email_verified = args[:email_verified] if args.key?(:email_verified)
|
|
943
968
|
@id_token = args[:id_token] if args.key?(:id_token)
|
|
944
969
|
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
|
945
970
|
@password = args[:password] if args.key?(:password)
|
|
971
|
+
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
|
946
972
|
end
|
|
947
973
|
end
|
|
948
974
|
|
|
@@ -950,6 +976,12 @@ module Google
|
|
|
950
976
|
class UploadAccountRequest
|
|
951
977
|
include Google::Apis::Core::Hashable
|
|
952
978
|
|
|
979
|
+
# Whether allow overwrite existing account when user local_id exists.
|
|
980
|
+
# Corresponds to the JSON property `allowOverwrite`
|
|
981
|
+
# @return [Boolean]
|
|
982
|
+
attr_accessor :allow_overwrite
|
|
983
|
+
alias_method :allow_overwrite?, :allow_overwrite
|
|
984
|
+
|
|
953
985
|
# GCP project number of the requesting delegated app. Currently only intended
|
|
954
986
|
# for Firebase V1 migration.
|
|
955
987
|
# Corresponds to the JSON property `delegatedProjectNumber`
|
|
@@ -1005,6 +1037,7 @@ module Google
|
|
|
1005
1037
|
|
|
1006
1038
|
# Update properties of this object
|
|
1007
1039
|
def update!(**args)
|
|
1040
|
+
@allow_overwrite = args[:allow_overwrite] if args.key?(:allow_overwrite)
|
|
1008
1041
|
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
|
|
1009
1042
|
@hash_algorithm = args[:hash_algorithm] if args.key?(:hash_algorithm)
|
|
1010
1043
|
@memory_cost = args[:memory_cost] if args.key?(:memory_cost)
|
|
@@ -1646,6 +1679,11 @@ module Google
|
|
|
1646
1679
|
# @return [Array<Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo>]
|
|
1647
1680
|
attr_accessor :provider_user_info
|
|
1648
1681
|
|
|
1682
|
+
# The user's plain text password.
|
|
1683
|
+
# Corresponds to the JSON property `rawPassword`
|
|
1684
|
+
# @return [String]
|
|
1685
|
+
attr_accessor :raw_password
|
|
1686
|
+
|
|
1649
1687
|
# The user's password salt.
|
|
1650
1688
|
# Corresponds to the JSON property `salt`
|
|
1651
1689
|
# @return [String]
|
|
@@ -1684,6 +1722,7 @@ module Google
|
|
|
1684
1722
|
@password_updated_at = args[:password_updated_at] if args.key?(:password_updated_at)
|
|
1685
1723
|
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
|
1686
1724
|
@provider_user_info = args[:provider_user_info] if args.key?(:provider_user_info)
|
|
1725
|
+
@raw_password = args[:raw_password] if args.key?(:raw_password)
|
|
1687
1726
|
@salt = args[:salt] if args.key?(:salt)
|
|
1688
1727
|
@screen_name = args[:screen_name] if args.key?(:screen_name)
|
|
1689
1728
|
@valid_since = args[:valid_since] if args.key?(:valid_since)
|
|
@@ -1725,11 +1764,6 @@ module Google
|
|
|
1725
1764
|
# @return [String]
|
|
1726
1765
|
attr_accessor :raw_id
|
|
1727
1766
|
|
|
1728
|
-
# Raw IDP-returned user info.
|
|
1729
|
-
# Corresponds to the JSON property `rawUserInfo`
|
|
1730
|
-
# @return [String]
|
|
1731
|
-
attr_accessor :raw_user_info
|
|
1732
|
-
|
|
1733
1767
|
# User's screen name at Twitter or login name at Github.
|
|
1734
1768
|
# Corresponds to the JSON property `screenName`
|
|
1735
1769
|
# @return [String]
|
|
@@ -1747,7 +1781,6 @@ module Google
|
|
|
1747
1781
|
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
|
1748
1782
|
@provider_id = args[:provider_id] if args.key?(:provider_id)
|
|
1749
1783
|
@raw_id = args[:raw_id] if args.key?(:raw_id)
|
|
1750
|
-
@raw_user_info = args[:raw_user_info] if args.key?(:raw_user_info)
|
|
1751
1784
|
@screen_name = args[:screen_name] if args.key?(:screen_name)
|
|
1752
1785
|
end
|
|
1753
1786
|
end
|
|
@@ -364,6 +364,7 @@ module Google
|
|
|
364
364
|
collection :authorized_domains, as: 'authorizedDomains'
|
|
365
365
|
property :change_email_template, as: 'changeEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
|
366
366
|
|
|
367
|
+
property :dynamic_links_domain, as: 'dynamicLinksDomain'
|
|
367
368
|
property :enable_anonymous_user, as: 'enableAnonymousUser'
|
|
368
369
|
collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation
|
|
369
370
|
|
|
@@ -464,17 +465,21 @@ module Google
|
|
|
464
465
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
465
466
|
property :captcha_challenge, as: 'captchaChallenge'
|
|
466
467
|
property :captcha_response, as: 'captchaResponse'
|
|
468
|
+
property :disabled, as: 'disabled'
|
|
467
469
|
property :display_name, as: 'displayName'
|
|
468
470
|
property :email, as: 'email'
|
|
471
|
+
property :email_verified, as: 'emailVerified'
|
|
469
472
|
property :id_token, as: 'idToken'
|
|
470
473
|
property :instance_id, as: 'instanceId'
|
|
471
474
|
property :password, as: 'password'
|
|
475
|
+
property :photo_url, as: 'photoUrl'
|
|
472
476
|
end
|
|
473
477
|
end
|
|
474
478
|
|
|
475
479
|
class UploadAccountRequest
|
|
476
480
|
# @private
|
|
477
481
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
482
|
+
property :allow_overwrite, as: 'allowOverwrite'
|
|
478
483
|
property :delegated_project_number, as: 'delegatedProjectNumber'
|
|
479
484
|
property :hash_algorithm, as: 'hashAlgorithm'
|
|
480
485
|
property :memory_cost, as: 'memoryCost'
|
|
@@ -639,6 +644,7 @@ module Google
|
|
|
639
644
|
property :photo_url, as: 'photoUrl'
|
|
640
645
|
collection :provider_user_info, as: 'providerUserInfo', class: Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo::Representation
|
|
641
646
|
|
|
647
|
+
property :raw_password, as: 'rawPassword'
|
|
642
648
|
property :salt, :base64 => true, as: 'salt'
|
|
643
649
|
property :screen_name, as: 'screenName'
|
|
644
650
|
property :valid_since, as: 'validSince'
|
|
@@ -654,7 +660,6 @@ module Google
|
|
|
654
660
|
property :photo_url, as: 'photoUrl'
|
|
655
661
|
property :provider_id, as: 'providerId'
|
|
656
662
|
property :raw_id, as: 'rawId'
|
|
657
|
-
property :raw_user_info, as: 'rawUserInfo'
|
|
658
663
|
property :screen_name, as: 'screenName'
|
|
659
664
|
end
|
|
660
665
|
end
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/natural-language/
|
|
28
28
|
module LanguageV1beta1
|
|
29
29
|
VERSION = 'V1beta1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20161103'
|
|
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'
|
|
@@ -505,8 +505,9 @@ module Google
|
|
|
505
505
|
class Sentiment
|
|
506
506
|
include Google::Apis::Core::Hashable
|
|
507
507
|
|
|
508
|
-
#
|
|
509
|
-
#
|
|
508
|
+
# DEPRECATED FIELD - This field is being deprecated in
|
|
509
|
+
# favor of score. Please refer to our documentation at
|
|
510
|
+
# https://cloud.google.com/natural-language/docs for more information.
|
|
510
511
|
# Corresponds to the JSON property `polarity`
|
|
511
512
|
# @return [Float]
|
|
512
513
|
attr_accessor :polarity
|
|
@@ -30,10 +30,10 @@ module Google
|
|
|
30
30
|
# require 'google/apis/language_v1beta1'
|
|
31
31
|
#
|
|
32
32
|
# Language = Google::Apis::LanguageV1beta1 # Alias the module
|
|
33
|
-
# service = Language::
|
|
33
|
+
# service = Language::CloudNaturalLanguageService.new
|
|
34
34
|
#
|
|
35
35
|
# @see https://cloud.google.com/natural-language/
|
|
36
|
-
class
|
|
36
|
+
class CloudNaturalLanguageService < Google::Apis::Core::BaseService
|
|
37
37
|
# @return [String]
|
|
38
38
|
# API key. Your API key identifies your project and provides you with API access,
|
|
39
39
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
|
@@ -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 = '20161107'
|
|
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'
|
|
@@ -114,6 +114,10 @@ module Google
|
|
|
114
114
|
end
|
|
115
115
|
|
|
116
116
|
# Describes a sink used to export log entries outside of Stackdriver Logging.
|
|
117
|
+
# A logs filter controls which log entries are exported. Sinks can have a
|
|
118
|
+
# start time and an end time; these can be used to place log entries from an
|
|
119
|
+
# exact time range into a particular destination. If both `start_time` and
|
|
120
|
+
# `end_time` are present, then `start_time` must be less than `end_time`.
|
|
117
121
|
class LogSink
|
|
118
122
|
include Google::Apis::Core::Hashable
|
|
119
123
|
|
|
@@ -134,11 +138,14 @@ module Google
|
|
|
134
138
|
# log entry that was originally written to Stackdriver Logging.
|
|
135
139
|
# Example filter (V2 format):
|
|
136
140
|
# logName=projects/my-projectid/logs/syslog AND severity>=ERROR
|
|
141
|
+
# The maximum length of the filter is 20000 characters.
|
|
137
142
|
# Corresponds to the JSON property `filter`
|
|
138
143
|
# @return [String]
|
|
139
144
|
attr_accessor :filter
|
|
140
145
|
|
|
141
|
-
# Optional. Time at which this sink
|
|
146
|
+
# Optional. Time at which this sink will stop exporting log entries. If this
|
|
147
|
+
# value is present, then log entries are exported only if `entry.timestamp` <
|
|
148
|
+
# `end_time`.
|
|
142
149
|
# Corresponds to the JSON property `endTime`
|
|
143
150
|
# @return [String]
|
|
144
151
|
attr_accessor :end_time
|
|
@@ -152,10 +159,9 @@ module Google
|
|
|
152
159
|
# @return [String]
|
|
153
160
|
attr_accessor :name
|
|
154
161
|
|
|
155
|
-
# Optional.
|
|
156
|
-
#
|
|
157
|
-
#
|
|
158
|
-
# (half) infinite ranges. The start_time must be less than the end_time.
|
|
162
|
+
# Optional. The time at which this sink will begin exporting log entries. If
|
|
163
|
+
# this value is present, then log entries are exported only if `start_time`
|
|
164
|
+
# <=`entry.timestamp`.
|
|
159
165
|
# Corresponds to the JSON property `startTime`
|
|
160
166
|
# @return [String]
|
|
161
167
|
attr_accessor :start_time
|
|
@@ -168,15 +174,11 @@ module Google
|
|
|
168
174
|
# @return [String]
|
|
169
175
|
attr_accessor :output_version_format
|
|
170
176
|
|
|
171
|
-
# Output only.
|
|
172
|
-
#
|
|
173
|
-
#
|
|
174
|
-
#
|
|
175
|
-
#
|
|
176
|
-
# For GCS destinations, the role "roles/owner" is required on the bucket
|
|
177
|
-
# For Cloud Pubsub destinations, the role "roles/pubsub.publisher" is
|
|
178
|
-
# required on the topic
|
|
179
|
-
# For BigQuery, the role "roles/editor" is required on the dataset
|
|
177
|
+
# Output only. An IAM identity—a service account or group—that
|
|
178
|
+
# will write exported log entries to the destination on behalf of Stackdriver
|
|
179
|
+
# Logging. You must grant this identity write-access to the destination.
|
|
180
|
+
# Consult the destination service's documentation to determine the exact role
|
|
181
|
+
# that must be granted.
|
|
180
182
|
# Corresponds to the JSON property `writerIdentity`
|
|
181
183
|
# @return [String]
|
|
182
184
|
attr_accessor :writer_identity
|
|
@@ -209,6 +211,7 @@ module Google
|
|
|
209
211
|
|
|
210
212
|
# Required. An [advanced logs filter](/logging/docs/view/advanced_filters).
|
|
211
213
|
# Example: `"resource.type=gae_app AND severity>=ERROR"`.
|
|
214
|
+
# The maximum length of the filter is 20000 characters.
|
|
212
215
|
# Corresponds to the JSON property `filter`
|
|
213
216
|
# @return [String]
|
|
214
217
|
attr_accessor :filter
|
|
@@ -878,9 +881,9 @@ module Google
|
|
|
878
881
|
# @return [String]
|
|
879
882
|
attr_accessor :request_id
|
|
880
883
|
|
|
881
|
-
# Whether this is the first RequestLog entry for this request. If an
|
|
882
|
-
# request has several RequestLog entries written to
|
|
883
|
-
# will be set for one of them.
|
|
884
|
+
# Whether this is the first `RequestLog` entry for this request. If an
|
|
885
|
+
# active request has several `RequestLog` entries written to Stackdriver
|
|
886
|
+
# Logging, then this field will be set for one of them.
|
|
884
887
|
# Corresponds to the JSON property `first`
|
|
885
888
|
# @return [Boolean]
|
|
886
889
|
attr_accessor :first
|
|
@@ -986,7 +989,7 @@ module Google
|
|
|
986
989
|
# @return [String]
|
|
987
990
|
attr_accessor :app_id
|
|
988
991
|
|
|
989
|
-
#
|
|
992
|
+
# Stackdriver Trace identifier for this request.
|
|
990
993
|
# Corresponds to the JSON property `traceId`
|
|
991
994
|
# @return [String]
|
|
992
995
|
attr_accessor :trace_id
|
|
@@ -1107,6 +1110,7 @@ module Google
|
|
|
1107
1110
|
# Optional. A filter that chooses which log entries to return. See [Advanced
|
|
1108
1111
|
# Logs Filters](/logging/docs/view/advanced_filters). Only log entries that
|
|
1109
1112
|
# match the filter are returned. An empty filter matches all log entries.
|
|
1113
|
+
# The maximum length of the filter is 20000 characters.
|
|
1110
1114
|
# Corresponds to the JSON property `filter`
|
|
1111
1115
|
# @return [String]
|
|
1112
1116
|
attr_accessor :filter
|
|
@@ -260,6 +260,12 @@ module Google
|
|
|
260
260
|
# resource and the sink identifier. If the sink does not exist, this method
|
|
261
261
|
# creates the sink. Example: `"projects/my-project-id/sinks/my-sink-id"`.
|
|
262
262
|
# @param [Google::Apis::LoggingV2beta1::LogSink] log_sink_object
|
|
263
|
+
# @param [Boolean] unique_writer_identity
|
|
264
|
+
# Optional. Whether the sink will have a dedicated service account returned
|
|
265
|
+
# in the sink's writer_identity. Set this field to be true to export
|
|
266
|
+
# logs from one project to a different project. This field is ignored for
|
|
267
|
+
# non-project sinks (e.g. organization sinks) because those sinks are
|
|
268
|
+
# required to have dedicated service accounts.
|
|
263
269
|
# @param [String] quota_user
|
|
264
270
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
265
271
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -277,13 +283,14 @@ module Google
|
|
|
277
283
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
278
284
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
279
285
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
280
|
-
def update_project_sink(sink_name, log_sink_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
286
|
+
def update_project_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
281
287
|
command = make_simple_command(:put, 'v2beta1/{+sinkName}', options)
|
|
282
288
|
command.request_representation = Google::Apis::LoggingV2beta1::LogSink::Representation
|
|
283
289
|
command.request_object = log_sink_object
|
|
284
290
|
command.response_representation = Google::Apis::LoggingV2beta1::LogSink::Representation
|
|
285
291
|
command.response_class = Google::Apis::LoggingV2beta1::LogSink
|
|
286
292
|
command.params['sinkName'] = sink_name unless sink_name.nil?
|
|
293
|
+
command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil?
|
|
287
294
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
288
295
|
command.query['fields'] = fields unless fields.nil?
|
|
289
296
|
execute_or_queue_command(command, &block)
|
|
@@ -326,6 +333,12 @@ module Google
|
|
|
326
333
|
# Example: `"projects/my-project-id"`.
|
|
327
334
|
# The new sink must be provided in the request.
|
|
328
335
|
# @param [Google::Apis::LoggingV2beta1::LogSink] log_sink_object
|
|
336
|
+
# @param [Boolean] unique_writer_identity
|
|
337
|
+
# Optional. Whether the sink will have a dedicated service account returned
|
|
338
|
+
# in the sink's writer_identity. Set this field to be true to export
|
|
339
|
+
# logs from one project to a different project. This field is ignored for
|
|
340
|
+
# non-project sinks (e.g. organization sinks) because those sinks are
|
|
341
|
+
# required to have dedicated service accounts.
|
|
329
342
|
# @param [String] quota_user
|
|
330
343
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
331
344
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -343,13 +356,14 @@ module Google
|
|
|
343
356
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
344
357
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
345
358
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
346
|
-
def create_project_sink(parent, log_sink_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
359
|
+
def create_project_sink(parent, log_sink_object = nil, unique_writer_identity: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
347
360
|
command = make_simple_command(:post, 'v2beta1/{+parent}/sinks', options)
|
|
348
361
|
command.request_representation = Google::Apis::LoggingV2beta1::LogSink::Representation
|
|
349
362
|
command.request_object = log_sink_object
|
|
350
363
|
command.response_representation = Google::Apis::LoggingV2beta1::LogSink::Representation
|
|
351
364
|
command.response_class = Google::Apis::LoggingV2beta1::LogSink
|
|
352
365
|
command.params['parent'] = parent unless parent.nil?
|
|
366
|
+
command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil?
|
|
353
367
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
354
368
|
command.query['fields'] = fields unless fields.nil?
|
|
355
369
|
execute_or_queue_command(command, &block)
|
|
@@ -357,7 +371,7 @@ module Google
|
|
|
357
371
|
|
|
358
372
|
# Lists sinks.
|
|
359
373
|
# @param [String] parent
|
|
360
|
-
# Required. The
|
|
374
|
+
# Required. The resource name where this sink was created.
|
|
361
375
|
# Example: `"projects/my-logging-project"`.
|
|
362
376
|
# @param [Fixnum] page_size
|
|
363
377
|
# Optional. The maximum number of results to return from this request.
|