google-api-client 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +34 -0
- data/api_names.yaml +3 -0
- data/api_names_out.yaml +1058 -20
- data/bin/generate-api +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +203 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +78 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +36 -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/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +2 -3
- data/generated/google/apis/androidenterprise_v1/classes.rb +11 -4
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +5 -6
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +47 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +6 -0
- data/generated/google/apis/appengine_v1beta5.rb +2 -3
- data/generated/google/apis/appengine_v1beta5/classes.rb +143 -8
- data/generated/google/apis/appengine_v1beta5/representations.rb +42 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +48 -6
- 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 +68 -14
- data/generated/google/apis/bigquery_v2/representations.rb +30 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +68 -3
- data/generated/google/apis/books_v1/representations.rb +21 -0
- data/generated/google/apis/calendar_v3.rb +2 -2
- data/generated/google/apis/calendar_v3/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/clouduseraccounts_beta.rb +1 -1
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +1 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +138 -108
- data/generated/google/apis/compute_beta/representations.rb +16 -18
- data/generated/google/apis/compute_beta/service.rb +52 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +55 -74
- data/generated/google/apis/compute_v1/representations.rb +14 -18
- data/generated/google/apis/compute_v1/service.rb +45 -1
- data/generated/google/apis/container_v1.rb +3 -3
- data/generated/google/apis/container_v1/classes.rb +200 -42
- data/generated/google/apis/container_v1/representations.rb +54 -0
- data/generated/google/apis/container_v1/service.rb +31 -30
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/datastore_v1beta2.rb +2 -2
- data/generated/google/apis/datastore_v1beta2/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +2 -3
- data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -1
- data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +26 -27
- data/generated/google/apis/dfareporting_v2_3.rb +2 -2
- data/generated/google/apis/dfareporting_v2_3/classes.rb +1 -1
- data/generated/google/apis/dfareporting_v2_3/service.rb +2 -2
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +10 -4
- 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/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +2 -2
- data/generated/google/apis/genomics_v1/classes.rb +770 -82
- data/generated/google/apis/genomics_v1/representations.rb +287 -24
- data/generated/google/apis/genomics_v1/service.rb +412 -13
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +13 -6
- data/generated/google/apis/groupssettings_v1/representations.rb +1 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +50 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +10 -0
- data/generated/google/apis/logging_v2beta1.rb +2 -3
- data/generated/google/apis/logging_v2beta1/classes.rb +219 -63
- data/generated/google/apis/logging_v2beta1/representations.rb +24 -1
- data/generated/google/apis/logging_v2beta1/service.rb +25 -32
- data/generated/google/apis/oauth2_v2.rb +2 -2
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +20 -12
- data/generated/google/apis/pubsub_v1/service.rb +32 -35
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +23 -9
- data/generated/google/apis/reseller_v1/representations.rb +2 -0
- data/generated/google/apis/sheets_v1.rb +43 -0
- data/generated/google/apis/sheets_v1/classes.rb +4542 -0
- data/generated/google/apis/sheets_v1/representations.rb +1703 -0
- data/generated/google/apis/sheets_v1/service.rb +363 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +3 -2
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +4 -3
- data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +2 -2
- data/generated/google/apis/vision_v1/classes.rb +11 -11
- data/generated/google/apis/vision_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3.rb +2 -2
- data/generated/google/apis/webmasters_v3/classes.rb +7 -0
- data/generated/google/apis/webmasters_v3/representations.rb +1 -0
- data/generated/google/apis/webmasters_v3/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +37 -0
- data/generated/google/apis/youtube_partner_v1/classes.rb +3656 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +1452 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +3165 -0
- data/generated/google/apis/youtube_v3.rb +3 -2
- data/generated/google/apis/youtube_v3/classes.rb +100 -3
- data/generated/google/apis/youtube_v3/representations.rb +50 -0
- data/generated/google/apis/youtube_v3/service.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +17 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +2 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +21 -3
- data/google-api-client.gemspec +2 -0
- data/lib/google/apis.rb +12 -2
- data/lib/google/apis/version.rb +1 -1
- data/script/generate +5 -2
- data/spec/google/apis/logging_spec.rb +55 -0
- metadata +12 -4
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/google-apps/groups-settings/get_started
|
26
26
|
module GroupssettingsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160323'
|
29
29
|
|
30
30
|
# View and manage the settings of a Google Apps Group
|
31
31
|
AUTH_APPS_GROUPS_SETTINGS = 'https://www.googleapis.com/auth/apps.groups.settings'
|
@@ -136,15 +136,21 @@ module Google
|
|
136
136
|
# @return [String]
|
137
137
|
attr_accessor :spam_moderation_level
|
138
138
|
|
139
|
-
#
|
139
|
+
# Permissions to add members. Possible values are: ALL_MANAGERS_CAN_ADD
|
140
|
+
# ALL_MEMBERS_CAN_ADD NONE_CAN_ADD
|
141
|
+
# Corresponds to the JSON property `whoCanAdd`
|
142
|
+
# @return [String]
|
143
|
+
attr_accessor :who_can_add
|
144
|
+
|
145
|
+
# Permission to contact owner of the group via web UI. Possible values are:
|
140
146
|
# ANYONE_CAN_CONTACT ALL_IN_DOMAIN_CAN_CONTACT ALL_MEMBERS_CAN_CONTACT
|
141
147
|
# ALL_MANAGERS_CAN_CONTACT
|
142
148
|
# Corresponds to the JSON property `whoCanContactOwner`
|
143
149
|
# @return [String]
|
144
150
|
attr_accessor :who_can_contact_owner
|
145
151
|
|
146
|
-
# Permissions to invite members.
|
147
|
-
# ALL_MANAGERS_CAN_INVITE
|
152
|
+
# Permissions to invite members. Possible values are: ALL_MEMBERS_CAN_INVITE
|
153
|
+
# ALL_MANAGERS_CAN_INVITE NONE_CAN_INVITE
|
148
154
|
# Corresponds to the JSON property `whoCanInvite`
|
149
155
|
# @return [String]
|
150
156
|
attr_accessor :who_can_invite
|
@@ -156,7 +162,7 @@ module Google
|
|
156
162
|
attr_accessor :who_can_join
|
157
163
|
|
158
164
|
# Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE
|
159
|
-
# ALL_MEMBERS_CAN_LEAVE
|
165
|
+
# ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE
|
160
166
|
# Corresponds to the JSON property `whoCanLeaveGroup`
|
161
167
|
# @return [String]
|
162
168
|
attr_accessor :who_can_leave_group
|
@@ -168,13 +174,13 @@ module Google
|
|
168
174
|
# @return [String]
|
169
175
|
attr_accessor :who_can_post_message
|
170
176
|
|
171
|
-
# Permissions to view group.
|
177
|
+
# Permissions to view group. Possible values are: ANYONE_CAN_VIEW
|
172
178
|
# ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW
|
173
179
|
# Corresponds to the JSON property `whoCanViewGroup`
|
174
180
|
# @return [String]
|
175
181
|
attr_accessor :who_can_view_group
|
176
182
|
|
177
|
-
# Permissions to view membership.
|
183
|
+
# Permissions to view membership. Possible values are: ALL_IN_DOMAIN_CAN_VIEW
|
178
184
|
# ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW
|
179
185
|
# Corresponds to the JSON property `whoCanViewMembership`
|
180
186
|
# @return [String]
|
@@ -207,6 +213,7 @@ module Google
|
|
207
213
|
@send_message_deny_notification = args[:send_message_deny_notification] if args.key?(:send_message_deny_notification)
|
208
214
|
@show_in_group_directory = args[:show_in_group_directory] if args.key?(:show_in_group_directory)
|
209
215
|
@spam_moderation_level = args[:spam_moderation_level] if args.key?(:spam_moderation_level)
|
216
|
+
@who_can_add = args[:who_can_add] if args.key?(:who_can_add)
|
210
217
|
@who_can_contact_owner = args[:who_can_contact_owner] if args.key?(:who_can_contact_owner)
|
211
218
|
@who_can_invite = args[:who_can_invite] if args.key?(:who_can_invite)
|
212
219
|
@who_can_join = args[:who_can_join] if args.key?(:who_can_join)
|
@@ -52,6 +52,7 @@ module Google
|
|
52
52
|
property :send_message_deny_notification, as: 'sendMessageDenyNotification'
|
53
53
|
property :show_in_group_directory, as: 'showInGroupDirectory'
|
54
54
|
property :spam_moderation_level, as: 'spamModerationLevel'
|
55
|
+
property :who_can_add, as: 'whoCanAdd'
|
55
56
|
property :who_can_contact_owner, as: 'whoCanContactOwner'
|
56
57
|
property :who_can_invite, as: 'whoCanInvite'
|
57
58
|
property :who_can_join, as: 'whoCanJoin'
|
@@ -479,11 +479,22 @@ module Google
|
|
479
479
|
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
480
480
|
attr_accessor :change_email_template
|
481
481
|
|
482
|
+
# Whether anonymous user is enabled.
|
483
|
+
# Corresponds to the JSON property `enableAnonymousUser`
|
484
|
+
# @return [Boolean]
|
485
|
+
attr_accessor :enable_anonymous_user
|
486
|
+
alias_method :enable_anonymous_user?, :enable_anonymous_user
|
487
|
+
|
482
488
|
# OAuth2 provider configuration.
|
483
489
|
# Corresponds to the JSON property `idpConfig`
|
484
490
|
# @return [Array<Google::Apis::IdentitytoolkitV3::IdpConfig>]
|
485
491
|
attr_accessor :idp_config
|
486
492
|
|
493
|
+
# Template for an email template.
|
494
|
+
# Corresponds to the JSON property `legacyResetPasswordTemplate`
|
495
|
+
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
496
|
+
attr_accessor :legacy_reset_password_template
|
497
|
+
|
487
498
|
# Project ID of the relying party.
|
488
499
|
# Corresponds to the JSON property `projectId`
|
489
500
|
# @return [String]
|
@@ -515,7 +526,9 @@ module Google
|
|
515
526
|
@api_key = args[:api_key] if args.key?(:api_key)
|
516
527
|
@authorized_domains = args[:authorized_domains] if args.key?(:authorized_domains)
|
517
528
|
@change_email_template = args[:change_email_template] if args.key?(:change_email_template)
|
529
|
+
@enable_anonymous_user = args[:enable_anonymous_user] if args.key?(:enable_anonymous_user)
|
518
530
|
@idp_config = args[:idp_config] if args.key?(:idp_config)
|
531
|
+
@legacy_reset_password_template = args[:legacy_reset_password_template] if args.key?(:legacy_reset_password_template)
|
519
532
|
@project_id = args[:project_id] if args.key?(:project_id)
|
520
533
|
@reset_password_template = args[:reset_password_template] if args.key?(:reset_password_template)
|
521
534
|
@use_email_sending = args[:use_email_sending] if args.key?(:use_email_sending)
|
@@ -707,6 +720,11 @@ module Google
|
|
707
720
|
# @return [String]
|
708
721
|
attr_accessor :api_key
|
709
722
|
|
723
|
+
# Authorized domains for widget redirect.
|
724
|
+
# Corresponds to the JSON property `authorizedDomains`
|
725
|
+
# @return [Array<String>]
|
726
|
+
attr_accessor :authorized_domains
|
727
|
+
|
710
728
|
# Template for an email template.
|
711
729
|
# Corresponds to the JSON property `changeEmailTemplate`
|
712
730
|
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
@@ -718,11 +736,22 @@ module Google
|
|
718
736
|
# @return [String]
|
719
737
|
attr_accessor :delegated_project_number
|
720
738
|
|
739
|
+
# Whether to enable anonymous user.
|
740
|
+
# Corresponds to the JSON property `enableAnonymousUser`
|
741
|
+
# @return [Boolean]
|
742
|
+
attr_accessor :enable_anonymous_user
|
743
|
+
alias_method :enable_anonymous_user?, :enable_anonymous_user
|
744
|
+
|
721
745
|
# Oauth2 provider configuration.
|
722
746
|
# Corresponds to the JSON property `idpConfig`
|
723
747
|
# @return [Array<Google::Apis::IdentitytoolkitV3::IdpConfig>]
|
724
748
|
attr_accessor :idp_config
|
725
749
|
|
750
|
+
# Template for an email template.
|
751
|
+
# Corresponds to the JSON property `legacyResetPasswordTemplate`
|
752
|
+
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
753
|
+
attr_accessor :legacy_reset_password_template
|
754
|
+
|
726
755
|
# Template for an email template.
|
727
756
|
# Corresponds to the JSON property `resetPasswordTemplate`
|
728
757
|
# @return [Google::Apis::IdentitytoolkitV3::EmailTemplate]
|
@@ -747,9 +776,12 @@ module Google
|
|
747
776
|
def update!(**args)
|
748
777
|
@allow_password_user = args[:allow_password_user] if args.key?(:allow_password_user)
|
749
778
|
@api_key = args[:api_key] if args.key?(:api_key)
|
779
|
+
@authorized_domains = args[:authorized_domains] if args.key?(:authorized_domains)
|
750
780
|
@change_email_template = args[:change_email_template] if args.key?(:change_email_template)
|
751
781
|
@delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number)
|
782
|
+
@enable_anonymous_user = args[:enable_anonymous_user] if args.key?(:enable_anonymous_user)
|
752
783
|
@idp_config = args[:idp_config] if args.key?(:idp_config)
|
784
|
+
@legacy_reset_password_template = args[:legacy_reset_password_template] if args.key?(:legacy_reset_password_template)
|
753
785
|
@reset_password_template = args[:reset_password_template] if args.key?(:reset_password_template)
|
754
786
|
@use_email_sending = args[:use_email_sending] if args.key?(:use_email_sending)
|
755
787
|
@verify_email_template = args[:verify_email_template] if args.key?(:verify_email_template)
|
@@ -1134,6 +1166,11 @@ module Google
|
|
1134
1166
|
# @return [String]
|
1135
1167
|
attr_accessor :provider
|
1136
1168
|
|
1169
|
+
# OAuth2 client secret.
|
1170
|
+
# Corresponds to the JSON property `secret`
|
1171
|
+
# @return [String]
|
1172
|
+
attr_accessor :secret
|
1173
|
+
|
1137
1174
|
def initialize(**args)
|
1138
1175
|
update!(**args)
|
1139
1176
|
end
|
@@ -1144,6 +1181,7 @@ module Google
|
|
1144
1181
|
@enabled = args[:enabled] if args.key?(:enabled)
|
1145
1182
|
@experiment_percent = args[:experiment_percent] if args.key?(:experiment_percent)
|
1146
1183
|
@provider = args[:provider] if args.key?(:provider)
|
1184
|
+
@secret = args[:secret] if args.key?(:secret)
|
1147
1185
|
end
|
1148
1186
|
end
|
1149
1187
|
|
@@ -1269,6 +1307,11 @@ module Google
|
|
1269
1307
|
# @return [String]
|
1270
1308
|
attr_accessor :new_email
|
1271
1309
|
|
1310
|
+
# The user's hashed password.
|
1311
|
+
# Corresponds to the JSON property `passwordHash`
|
1312
|
+
# @return [String]
|
1313
|
+
attr_accessor :password_hash
|
1314
|
+
|
1272
1315
|
# The photo url of the user.
|
1273
1316
|
# Corresponds to the JSON property `photoUrl`
|
1274
1317
|
# @return [String]
|
@@ -1296,6 +1339,7 @@ module Google
|
|
1296
1339
|
@id_token = args[:id_token] if args.key?(:id_token)
|
1297
1340
|
@kind = args[:kind] if args.key?(:kind)
|
1298
1341
|
@new_email = args[:new_email] if args.key?(:new_email)
|
1342
|
+
@password_hash = args[:password_hash] if args.key?(:password_hash)
|
1299
1343
|
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
1300
1344
|
@provider_user_info = args[:provider_user_info] if args.key?(:provider_user_info)
|
1301
1345
|
@refresh_token = args[:refresh_token] if args.key?(:refresh_token)
|
@@ -1719,6 +1763,11 @@ module Google
|
|
1719
1763
|
# @return [Fixnum]
|
1720
1764
|
attr_accessor :oauth_expire_in
|
1721
1765
|
|
1766
|
+
# The OIDC id token.
|
1767
|
+
# Corresponds to the JSON property `oauthIdToken`
|
1768
|
+
# @return [String]
|
1769
|
+
attr_accessor :oauth_id_token
|
1770
|
+
|
1722
1771
|
# The user approved request token for the OpenID OAuth extension.
|
1723
1772
|
# Corresponds to the JSON property `oauthRequestToken`
|
1724
1773
|
# @return [String]
|
@@ -1800,6 +1849,7 @@ module Google
|
|
1800
1849
|
@oauth_access_token = args[:oauth_access_token] if args.key?(:oauth_access_token)
|
1801
1850
|
@oauth_authorization_code = args[:oauth_authorization_code] if args.key?(:oauth_authorization_code)
|
1802
1851
|
@oauth_expire_in = args[:oauth_expire_in] if args.key?(:oauth_expire_in)
|
1852
|
+
@oauth_id_token = args[:oauth_id_token] if args.key?(:oauth_id_token)
|
1803
1853
|
@oauth_request_token = args[:oauth_request_token] if args.key?(:oauth_request_token)
|
1804
1854
|
@oauth_scope = args[:oauth_scope] if args.key?(:oauth_scope)
|
1805
1855
|
@oauth_token_secret = args[:oauth_token_secret] if args.key?(:oauth_token_secret)
|
@@ -360,8 +360,11 @@ module Google
|
|
360
360
|
collection :authorized_domains, as: 'authorizedDomains'
|
361
361
|
property :change_email_template, as: 'changeEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
362
362
|
|
363
|
+
property :enable_anonymous_user, as: 'enableAnonymousUser'
|
363
364
|
collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation
|
364
365
|
|
366
|
+
property :legacy_reset_password_template, as: 'legacyResetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
367
|
+
|
365
368
|
property :project_id, as: 'projectId'
|
366
369
|
property :reset_password_template, as: 'resetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
367
370
|
|
@@ -411,11 +414,15 @@ module Google
|
|
411
414
|
class Representation < Google::Apis::Core::JsonRepresentation
|
412
415
|
property :allow_password_user, as: 'allowPasswordUser'
|
413
416
|
property :api_key, as: 'apiKey'
|
417
|
+
collection :authorized_domains, as: 'authorizedDomains'
|
414
418
|
property :change_email_template, as: 'changeEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
415
419
|
|
416
420
|
property :delegated_project_number, as: 'delegatedProjectNumber'
|
421
|
+
property :enable_anonymous_user, as: 'enableAnonymousUser'
|
417
422
|
collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation
|
418
423
|
|
424
|
+
property :legacy_reset_password_template, as: 'legacyResetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
425
|
+
|
419
426
|
property :reset_password_template, as: 'resetPasswordTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation
|
420
427
|
|
421
428
|
property :use_email_sending, as: 'useEmailSending'
|
@@ -520,6 +527,7 @@ module Google
|
|
520
527
|
property :enabled, as: 'enabled'
|
521
528
|
property :experiment_percent, as: 'experimentPercent'
|
522
529
|
property :provider, as: 'provider'
|
530
|
+
property :secret, as: 'secret'
|
523
531
|
end
|
524
532
|
end
|
525
533
|
|
@@ -554,6 +562,7 @@ module Google
|
|
554
562
|
property :id_token, as: 'idToken'
|
555
563
|
property :kind, as: 'kind'
|
556
564
|
property :new_email, as: 'newEmail'
|
565
|
+
property :password_hash, :base64 => true, as: 'passwordHash'
|
557
566
|
property :photo_url, as: 'photoUrl'
|
558
567
|
collection :provider_user_info, as: 'providerUserInfo', class: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo, decorator: Google::Apis::IdentitytoolkitV3::SetAccountInfoResponse::ProviderUserInfo::Representation
|
559
568
|
|
@@ -659,6 +668,7 @@ module Google
|
|
659
668
|
property :oauth_access_token, as: 'oauthAccessToken'
|
660
669
|
property :oauth_authorization_code, as: 'oauthAuthorizationCode'
|
661
670
|
property :oauth_expire_in, as: 'oauthExpireIn'
|
671
|
+
property :oauth_id_token, as: 'oauthIdToken'
|
662
672
|
property :oauth_request_token, as: 'oauthRequestToken'
|
663
673
|
property :oauth_scope, as: 'oauthScope'
|
664
674
|
property :oauth_token_secret, as: 'oauthTokenSecret'
|
@@ -20,13 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Google Cloud Logging API
|
22
22
|
#
|
23
|
-
#
|
24
|
-
# log sinks and logs-based metrics.
|
23
|
+
# Writes log entries and manages your logs, log sinks, and logs-based metrics.
|
25
24
|
#
|
26
25
|
# @see https://cloud.google.com/logging/docs/
|
27
26
|
module LoggingV2beta1
|
28
27
|
VERSION = 'V2beta1'
|
29
|
-
REVISION = '
|
28
|
+
REVISION = '20160322'
|
30
29
|
|
31
30
|
# View and manage your data across Google Cloud Platform services
|
32
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -50,7 +50,16 @@ module Google
|
|
50
50
|
# @return [String]
|
51
51
|
attr_accessor :log_name
|
52
52
|
|
53
|
-
#
|
53
|
+
# An object representing a resource that can be used for monitoring, logging,
|
54
|
+
# billing, or other purposes. Examples include virtual machine instances,
|
55
|
+
# databases, and storage devices such as disks. The `type` field identifies a
|
56
|
+
# MonitoredResourceDescriptor object that describes the resource's schema.
|
57
|
+
# Information in the `labels` field identifies the actual resource and its
|
58
|
+
# attributes according to the schema. For example, a particular Compute Engine
|
59
|
+
# VM instance could be represented by the following object, because the
|
60
|
+
# MonitoredResourceDescriptor for `"gce_instance"` has labels `"instance_id"`
|
61
|
+
# and `"zone"`: ` "type": "gce_instance", "labels": ` "instance_id": "my-
|
62
|
+
# instance", "zone": "us-central1-a" ``
|
54
63
|
# Corresponds to the JSON property `resource`
|
55
64
|
# @return [Google::Apis::LoggingV2beta1::MonitoredResource]
|
56
65
|
attr_accessor :resource
|
@@ -68,6 +77,16 @@ module Google
|
|
68
77
|
# @return [Array<Google::Apis::LoggingV2beta1::LogEntry>]
|
69
78
|
attr_accessor :entries
|
70
79
|
|
80
|
+
# Optional. Whether valid entries should be written even if some other entries
|
81
|
+
# fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not
|
82
|
+
# written, the response status will be the error associated with one of the
|
83
|
+
# failed entries and include error details in the form of
|
84
|
+
# WriteLogEntriesPartialErrors.
|
85
|
+
# Corresponds to the JSON property `partialSuccess`
|
86
|
+
# @return [Boolean]
|
87
|
+
attr_accessor :partial_success
|
88
|
+
alias_method :partial_success?, :partial_success
|
89
|
+
|
71
90
|
def initialize(**args)
|
72
91
|
update!(**args)
|
73
92
|
end
|
@@ -78,25 +97,33 @@ module Google
|
|
78
97
|
@resource = args[:resource] if args.key?(:resource)
|
79
98
|
@labels = args[:labels] if args.key?(:labels)
|
80
99
|
@entries = args[:entries] if args.key?(:entries)
|
100
|
+
@partial_success = args[:partial_success] if args.key?(:partial_success)
|
81
101
|
end
|
82
102
|
end
|
83
103
|
|
84
|
-
#
|
104
|
+
# An object representing a resource that can be used for monitoring, logging,
|
105
|
+
# billing, or other purposes. Examples include virtual machine instances,
|
106
|
+
# databases, and storage devices such as disks. The `type` field identifies a
|
107
|
+
# MonitoredResourceDescriptor object that describes the resource's schema.
|
108
|
+
# Information in the `labels` field identifies the actual resource and its
|
109
|
+
# attributes according to the schema. For example, a particular Compute Engine
|
110
|
+
# VM instance could be represented by the following object, because the
|
111
|
+
# MonitoredResourceDescriptor for `"gce_instance"` has labels `"instance_id"`
|
112
|
+
# and `"zone"`: ` "type": "gce_instance", "labels": ` "instance_id": "my-
|
113
|
+
# instance", "zone": "us-central1-a" ``
|
85
114
|
class MonitoredResource
|
86
115
|
include Google::Apis::Core::Hashable
|
87
116
|
|
88
|
-
# The
|
89
|
-
#
|
90
|
-
# cloudsql_database"
|
117
|
+
# Required. The monitored resource type. This field must match the `type` field
|
118
|
+
# of a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL
|
119
|
+
# database is `"cloudsql_database"`.
|
91
120
|
# Corresponds to the JSON property `type`
|
92
121
|
# @return [String]
|
93
122
|
attr_accessor :type
|
94
123
|
|
95
|
-
# Values for
|
96
|
-
# resource descriptor. For example,
|
97
|
-
#
|
98
|
-
# set of all Cloud SQL databases in a particular location by supplying a value
|
99
|
-
# for only the `"zone"` label.
|
124
|
+
# Required. Values for all of the labels listed in the associated monitored
|
125
|
+
# resource descriptor. For example, Cloud SQL databases use the labels `"
|
126
|
+
# database_id"` and `"zone"`.
|
100
127
|
# Corresponds to the JSON property `labels`
|
101
128
|
# @return [Hash<String,String>]
|
102
129
|
attr_accessor :labels
|
@@ -117,18 +144,27 @@ module Google
|
|
117
144
|
include Google::Apis::Core::Hashable
|
118
145
|
|
119
146
|
# Required. The resource name of the log to which this log entry belongs. The
|
120
|
-
# format of the name is `projects
|
121
|
-
# projects/my-projectid/logs/syslog"`, `"projects/
|
122
|
-
# googleapis.com%2Fbook_log"`. The log ID part of
|
123
|
-
# than 512 characters long and can only include the
|
124
|
-
# and lower case alphanumeric characters: [A-Za-z0-9]
|
125
|
-
# characters: forward-slash, underscore, hyphen, and period.
|
126
|
-
# characters in the log ID must be URL-encoded.
|
147
|
+
# format of the name is `"projects/
|
148
|
+
# /logs/"`. Examples: `"projects/my-projectid/logs/syslog"`, `"projects/
|
149
|
+
# 1234567890/logs/library.googleapis.com%2Fbook_log"`. The log ID part of
|
150
|
+
# resource name must be less than 512 characters long and can only include the
|
151
|
+
# following characters: upper and lower case alphanumeric characters: [A-Za-z0-9]
|
152
|
+
# ; and punctuation characters: forward-slash, underscore, hyphen, and period.
|
153
|
+
# Forward-slash (`/`) characters in the log ID must be URL-encoded.
|
127
154
|
# Corresponds to the JSON property `logName`
|
128
155
|
# @return [String]
|
129
156
|
attr_accessor :log_name
|
130
157
|
|
131
|
-
#
|
158
|
+
# An object representing a resource that can be used for monitoring, logging,
|
159
|
+
# billing, or other purposes. Examples include virtual machine instances,
|
160
|
+
# databases, and storage devices such as disks. The `type` field identifies a
|
161
|
+
# MonitoredResourceDescriptor object that describes the resource's schema.
|
162
|
+
# Information in the `labels` field identifies the actual resource and its
|
163
|
+
# attributes according to the schema. For example, a particular Compute Engine
|
164
|
+
# VM instance could be represented by the following object, because the
|
165
|
+
# MonitoredResourceDescriptor for `"gce_instance"` has labels `"instance_id"`
|
166
|
+
# and `"zone"`: ` "type": "gce_instance", "labels": ` "instance_id": "my-
|
167
|
+
# instance", "zone": "us-central1-a" ``
|
132
168
|
# Corresponds to the JSON property `resource`
|
133
169
|
# @return [Google::Apis::LoggingV2beta1::MonitoredResource]
|
134
170
|
attr_accessor :resource
|
@@ -257,6 +293,12 @@ module Google
|
|
257
293
|
# @return [String]
|
258
294
|
attr_accessor :referer
|
259
295
|
|
296
|
+
# Whether or not a cache lookup was attempted.
|
297
|
+
# Corresponds to the JSON property `cacheLookup`
|
298
|
+
# @return [Boolean]
|
299
|
+
attr_accessor :cache_lookup
|
300
|
+
alias_method :cache_lookup?, :cache_lookup
|
301
|
+
|
260
302
|
# Whether or not an entity was served from cache (with or without validation).
|
261
303
|
# Corresponds to the JSON property `cacheHit`
|
262
304
|
# @return [Boolean]
|
@@ -265,10 +307,16 @@ module Google
|
|
265
307
|
|
266
308
|
# Whether or not the response was validated with the origin server before being
|
267
309
|
# served from cache. This field is only meaningful if `cache_hit` is True.
|
268
|
-
# Corresponds to the JSON property `
|
310
|
+
# Corresponds to the JSON property `cacheValidatedWithOriginServer`
|
269
311
|
# @return [Boolean]
|
270
|
-
attr_accessor :
|
271
|
-
alias_method :
|
312
|
+
attr_accessor :cache_validated_with_origin_server
|
313
|
+
alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server
|
314
|
+
|
315
|
+
# The number of HTTP response bytes inserted into cache. Set only when a cache
|
316
|
+
# fill was attempted.
|
317
|
+
# Corresponds to the JSON property `cacheFillBytes`
|
318
|
+
# @return [String]
|
319
|
+
attr_accessor :cache_fill_bytes
|
272
320
|
|
273
321
|
def initialize(**args)
|
274
322
|
update!(**args)
|
@@ -284,8 +332,10 @@ module Google
|
|
284
332
|
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
285
333
|
@remote_ip = args[:remote_ip] if args.key?(:remote_ip)
|
286
334
|
@referer = args[:referer] if args.key?(:referer)
|
335
|
+
@cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup)
|
287
336
|
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
288
|
-
@
|
337
|
+
@cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server)
|
338
|
+
@cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes)
|
289
339
|
end
|
290
340
|
end
|
291
341
|
|
@@ -364,33 +414,39 @@ module Google
|
|
364
414
|
attr_accessor :filter
|
365
415
|
|
366
416
|
# Optional. How the results should be sorted. Presently, the only permitted
|
367
|
-
# values are `"timestamp"` (default) and `"timestamp desc"`. The first
|
368
|
-
# returns entries in order of increasing values of `LogEntry.timestamp` (
|
369
|
-
# first), and the second option returns entries in order of decreasing
|
417
|
+
# values are `"timestamp asc"` (default) and `"timestamp desc"`. The first
|
418
|
+
# option returns entries in order of increasing values of `LogEntry.timestamp` (
|
419
|
+
# oldest first), and the second option returns entries in order of decreasing
|
370
420
|
# timestamps (newest first). Entries with equal timestamps are returned in order
|
371
421
|
# of `LogEntry.insertId`.
|
372
422
|
# Corresponds to the JSON property `orderBy`
|
373
423
|
# @return [String]
|
374
424
|
attr_accessor :order_by
|
375
425
|
|
376
|
-
# Optional. The maximum number of results to return from this request.
|
377
|
-
#
|
378
|
-
#
|
379
|
-
#
|
380
|
-
# request.
|
426
|
+
# Optional. The maximum number of results to return from this request. You must
|
427
|
+
# check for presence of `nextPageToken` to determine if additional results are
|
428
|
+
# available, which you can retrieve by passing the `nextPageToken` value as the `
|
429
|
+
# pageToken` parameter in the next request.
|
381
430
|
# Corresponds to the JSON property `pageSize`
|
382
431
|
# @return [Fixnum]
|
383
432
|
attr_accessor :page_size
|
384
433
|
|
385
|
-
# Optional. If the `pageToken`
|
386
|
-
#
|
387
|
-
#
|
388
|
-
#
|
389
|
-
# as in the previous request.
|
434
|
+
# Optional. If the `pageToken` parameter is supplied, then the next page of
|
435
|
+
# results is retrieved. The `pageToken` parameter must be set to the value of
|
436
|
+
# the `nextPageToken` from the previous response. The values of `projectIds`, `
|
437
|
+
# filter`, and `orderBy` must be the same as in the previous request.
|
390
438
|
# Corresponds to the JSON property `pageToken`
|
391
439
|
# @return [String]
|
392
440
|
attr_accessor :page_token
|
393
441
|
|
442
|
+
# Optional. If true, read access to all projects is not required and results
|
443
|
+
# will be returned for the subset of projects for which read access is permitted
|
444
|
+
# (empty subset is permitted).
|
445
|
+
# Corresponds to the JSON property `partialSuccess`
|
446
|
+
# @return [Boolean]
|
447
|
+
attr_accessor :partial_success
|
448
|
+
alias_method :partial_success?, :partial_success
|
449
|
+
|
394
450
|
def initialize(**args)
|
395
451
|
update!(**args)
|
396
452
|
end
|
@@ -402,6 +458,7 @@ module Google
|
|
402
458
|
@order_by = args[:order_by] if args.key?(:order_by)
|
403
459
|
@page_size = args[:page_size] if args.key?(:page_size)
|
404
460
|
@page_token = args[:page_token] if args.key?(:page_token)
|
461
|
+
@partial_success = args[:partial_success] if args.key?(:partial_success)
|
405
462
|
end
|
406
463
|
end
|
407
464
|
|
@@ -414,13 +471,19 @@ module Google
|
|
414
471
|
# @return [Array<Google::Apis::LoggingV2beta1::LogEntry>]
|
415
472
|
attr_accessor :entries
|
416
473
|
|
417
|
-
# If there are more results than were returned, then `nextPageToken` is
|
418
|
-
#
|
419
|
-
#
|
474
|
+
# If there are more results than were returned, then `nextPageToken` is included
|
475
|
+
# in the response. To get the next set of results, call this method again using
|
476
|
+
# the value of `nextPageToken` as `pageToken`.
|
420
477
|
# Corresponds to the JSON property `nextPageToken`
|
421
478
|
# @return [String]
|
422
479
|
attr_accessor :next_page_token
|
423
480
|
|
481
|
+
# If partial_success is true, contains the project ids that had errors and the
|
482
|
+
# associated errors.
|
483
|
+
# Corresponds to the JSON property `projectIdErrors`
|
484
|
+
# @return [Hash<String,Google::Apis::LoggingV2beta1::Status>]
|
485
|
+
attr_accessor :project_id_errors
|
486
|
+
|
424
487
|
def initialize(**args)
|
425
488
|
update!(**args)
|
426
489
|
end
|
@@ -429,6 +492,72 @@ module Google
|
|
429
492
|
def update!(**args)
|
430
493
|
@entries = args[:entries] if args.key?(:entries)
|
431
494
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
495
|
+
@project_id_errors = args[:project_id_errors] if args.key?(:project_id_errors)
|
496
|
+
end
|
497
|
+
end
|
498
|
+
|
499
|
+
# The `Status` type defines a logical error model that is suitable for different
|
500
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
501
|
+
# gRPC](https://github.com/grpc). The error model is designed to be: - Simple to
|
502
|
+
# use and understand for most users - Flexible enough to meet unexpected needs #
|
503
|
+
# Overview The `Status` message contains three pieces of data: error code, error
|
504
|
+
# message, and error details. The error code should be an enum value of google.
|
505
|
+
# rpc.Code, but it may accept additional error codes if needed. The error
|
506
|
+
# message should be a developer-facing English message that helps developers *
|
507
|
+
# understand* and *resolve* the error. If a localized user-facing error message
|
508
|
+
# is needed, put the localized message in the error details or localize it in
|
509
|
+
# the client. The optional error details may contain arbitrary information about
|
510
|
+
# the error. There is a predefined set of error detail types in the package `
|
511
|
+
# google.rpc` which can be used for common error conditions. # Language mapping
|
512
|
+
# The `Status` message is the logical representation of the error model, but it
|
513
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
514
|
+
# exposed in different client libraries and different wire protocols, it can be
|
515
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
516
|
+
# in Java, but more likely mapped to some error codes in C. # Other uses The
|
517
|
+
# error model and the `Status` message can be used in a variety of environments,
|
518
|
+
# either with or without APIs, to provide a consistent developer experience
|
519
|
+
# across different environments. Example uses of this error model include: -
|
520
|
+
# Partial errors. If a service needs to return partial errors to the client, it
|
521
|
+
# may embed the `Status` in the normal response to indicate the partial errors. -
|
522
|
+
# Workflow errors. A typical workflow has multiple steps. Each step may have a `
|
523
|
+
# Status` message for error reporting purpose. - Batch operations. If a client
|
524
|
+
# uses batch request and batch response, the `Status` message should be used
|
525
|
+
# directly inside batch response, one for each error sub-response. -
|
526
|
+
# Asynchronous operations. If an API call embeds asynchronous operation results
|
527
|
+
# in its response, the status of those operations should be represented directly
|
528
|
+
# using the `Status` message. - Logging. If some API errors are stored in logs,
|
529
|
+
# the message `Status` could be used directly after any stripping needed for
|
530
|
+
# security/privacy reasons.
|
531
|
+
class Status
|
532
|
+
include Google::Apis::Core::Hashable
|
533
|
+
|
534
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
535
|
+
# Corresponds to the JSON property `code`
|
536
|
+
# @return [Fixnum]
|
537
|
+
attr_accessor :code
|
538
|
+
|
539
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
540
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
541
|
+
# field, or localized by the client.
|
542
|
+
# Corresponds to the JSON property `message`
|
543
|
+
# @return [String]
|
544
|
+
attr_accessor :message
|
545
|
+
|
546
|
+
# A list of messages that carry the error details. There will be a common set of
|
547
|
+
# message types for APIs to use.
|
548
|
+
# Corresponds to the JSON property `details`
|
549
|
+
# @return [Array<Hash<String,Object>>]
|
550
|
+
attr_accessor :details
|
551
|
+
|
552
|
+
def initialize(**args)
|
553
|
+
update!(**args)
|
554
|
+
end
|
555
|
+
|
556
|
+
# Update properties of this object
|
557
|
+
def update!(**args)
|
558
|
+
@code = args[:code] if args.key?(:code)
|
559
|
+
@message = args[:message] if args.key?(:message)
|
560
|
+
@details = args[:details] if args.key?(:details)
|
432
561
|
end
|
433
562
|
end
|
434
563
|
|
@@ -441,9 +570,9 @@ module Google
|
|
441
570
|
# @return [Array<Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor>]
|
442
571
|
attr_accessor :resource_descriptors
|
443
572
|
|
444
|
-
# If there are more results than were returned, then `nextPageToken` is
|
445
|
-
# in the response. To get the next
|
446
|
-
#
|
573
|
+
# If there are more results than were returned, then `nextPageToken` is included
|
574
|
+
# in the response. To get the next set of results, call this method again using
|
575
|
+
# the value of `nextPageToken` as `pageToken`.
|
447
576
|
# Corresponds to the JSON property `nextPageToken`
|
448
577
|
# @return [String]
|
449
578
|
attr_accessor :next_page_token
|
@@ -459,31 +588,47 @@ module Google
|
|
459
588
|
end
|
460
589
|
end
|
461
590
|
|
462
|
-
#
|
591
|
+
# An object that describes the schema of a MonitoredResource object using a type
|
592
|
+
# name and a set of labels. For example, the monitored resource descriptor for
|
593
|
+
# Google Compute Engine VM instances has a type of `"gce_instance"` and
|
594
|
+
# specifies the use of the labels `"instance_id"` and `"zone"` to identify
|
595
|
+
# particular VM instances. Different APIs can support different monitored
|
596
|
+
# resource types. APIs generally provide a `list` method that returns the
|
597
|
+
# monitored resource descriptors used by the API.
|
463
598
|
class MonitoredResourceDescriptor
|
464
599
|
include Google::Apis::Core::Hashable
|
465
600
|
|
466
|
-
# The
|
467
|
-
#
|
601
|
+
# Optional. The resource name of the monitored resource descriptor: `"projects/`
|
602
|
+
# project_id`/monitoredResourceDescriptors/`type`"` where `type` is the value of
|
603
|
+
# the `type` field in this object and `project_id` is a project ID that provides
|
604
|
+
# API-specific context for accessing the type. APIs that do not use project
|
605
|
+
# information can use the resource name format `"monitoredResourceDescriptors/`
|
606
|
+
# type`"`.
|
607
|
+
# Corresponds to the JSON property `name`
|
608
|
+
# @return [String]
|
609
|
+
attr_accessor :name
|
610
|
+
|
611
|
+
# Required. The monitored resource type. For example, the type `"
|
612
|
+
# cloudsql_database"` represents databases in Google Cloud SQL.
|
468
613
|
# Corresponds to the JSON property `type`
|
469
614
|
# @return [String]
|
470
615
|
attr_accessor :type
|
471
616
|
|
472
|
-
# A concise name for the monitored resource type
|
473
|
-
# interfaces. For example, `"Cloud SQL Database"`.
|
617
|
+
# Optional. A concise name for the monitored resource type that might be
|
618
|
+
# displayed in user interfaces. For example, `"Google Cloud SQL Database"`.
|
474
619
|
# Corresponds to the JSON property `displayName`
|
475
620
|
# @return [String]
|
476
621
|
attr_accessor :display_name
|
477
622
|
|
478
|
-
# A detailed description of the monitored resource type
|
479
|
-
# documentation.
|
623
|
+
# Optional. A detailed description of the monitored resource type that might be
|
624
|
+
# used in documentation.
|
480
625
|
# Corresponds to the JSON property `description`
|
481
626
|
# @return [String]
|
482
627
|
attr_accessor :description
|
483
628
|
|
484
|
-
# A set of labels
|
485
|
-
# resource type. For example,
|
486
|
-
# database_id"` and
|
629
|
+
# Required. A set of labels used to describe instances of this monitored
|
630
|
+
# resource type. For example, an individual Google Cloud SQL database is
|
631
|
+
# identified by values for the labels `"database_id"` and `"zone"`.
|
487
632
|
# Corresponds to the JSON property `labels`
|
488
633
|
# @return [Array<Google::Apis::LoggingV2beta1::LabelDescriptor>]
|
489
634
|
attr_accessor :labels
|
@@ -494,6 +639,7 @@ module Google
|
|
494
639
|
|
495
640
|
# Update properties of this object
|
496
641
|
def update!(**args)
|
642
|
+
@name = args[:name] if args.key?(:name)
|
497
643
|
@type = args[:type] if args.key?(:type)
|
498
644
|
@display_name = args[:display_name] if args.key?(:display_name)
|
499
645
|
@description = args[:description] if args.key?(:description)
|
@@ -541,9 +687,9 @@ module Google
|
|
541
687
|
# @return [Array<Google::Apis::LoggingV2beta1::LogSink>]
|
542
688
|
attr_accessor :sinks
|
543
689
|
|
544
|
-
# If there are more results than were returned, then `nextPageToken` is
|
545
|
-
#
|
546
|
-
#
|
690
|
+
# If there are more results than were returned, then `nextPageToken` is included
|
691
|
+
# in the response. To get the next set of results, call this method again using
|
692
|
+
# the value of `nextPageToken` as `pageToken`.
|
547
693
|
# Corresponds to the JSON property `nextPageToken`
|
548
694
|
# @return [String]
|
549
695
|
attr_accessor :next_page_token
|
@@ -578,16 +724,17 @@ module Google
|
|
578
724
|
# @return [String]
|
579
725
|
attr_accessor :destination
|
580
726
|
|
581
|
-
# An [advanced logs filter](/logging/docs/view/advanced_filters)
|
582
|
-
#
|
583
|
-
# entry format
|
584
|
-
# the format of the log entry that was originally written to Cloud
|
585
|
-
# Example: `"logName
|
727
|
+
# An [advanced logs filter](/logging/docs/view/advanced_filters). Only log
|
728
|
+
# entries matching that filter are exported. The filter must be consistent with
|
729
|
+
# the log entry format specified by the `outputVersionFormat` parameter,
|
730
|
+
# regardless of the format of the log entry that was originally written to Cloud
|
731
|
+
# Logging. Example (V2 format): `"logName=projects/my-projectid/logs/syslog AND
|
732
|
+
# severity>=ERROR"`.
|
586
733
|
# Corresponds to the JSON property `filter`
|
587
734
|
# @return [String]
|
588
735
|
attr_accessor :filter
|
589
736
|
|
590
|
-
# The log entry version
|
737
|
+
# The log entry version to use for this sink's exported log entries. This
|
591
738
|
# version does not have to correspond to the version of the log entry when it
|
592
739
|
# was written to Cloud Logging.
|
593
740
|
# Corresponds to the JSON property `outputVersionFormat`
|
@@ -616,9 +763,9 @@ module Google
|
|
616
763
|
# @return [Array<Google::Apis::LoggingV2beta1::LogMetric>]
|
617
764
|
attr_accessor :metrics
|
618
765
|
|
619
|
-
# If there are more results than were returned, then `nextPageToken` is
|
620
|
-
#
|
621
|
-
#
|
766
|
+
# If there are more results than were returned, then `nextPageToken` is included
|
767
|
+
# in the response. To get the next set of results, call this method again using
|
768
|
+
# the value of `nextPageToken` as `pageToken`.
|
622
769
|
# Corresponds to the JSON property `nextPageToken`
|
623
770
|
# @return [String]
|
624
771
|
attr_accessor :next_page_token
|
@@ -818,6 +965,14 @@ module Google
|
|
818
965
|
attr_accessor :finished
|
819
966
|
alias_method :finished?, :finished
|
820
967
|
|
968
|
+
# Whether this is the first RequestLog entry for this request. If an active
|
969
|
+
# request has several RequestLog entries written to Cloud Logging, this field
|
970
|
+
# will be set for one of them.
|
971
|
+
# Corresponds to the JSON property `first`
|
972
|
+
# @return [Boolean]
|
973
|
+
attr_accessor :first
|
974
|
+
alias_method :first?, :first
|
975
|
+
|
821
976
|
# An identifier for the instance that handled the request.
|
822
977
|
# Corresponds to the JSON property `instanceId`
|
823
978
|
# @return [String]
|
@@ -877,6 +1032,7 @@ module Google
|
|
877
1032
|
@pending_time = args[:pending_time] if args.key?(:pending_time)
|
878
1033
|
@instance_index = args[:instance_index] if args.key?(:instance_index)
|
879
1034
|
@finished = args[:finished] if args.key?(:finished)
|
1035
|
+
@first = args[:first] if args.key?(:first)
|
880
1036
|
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
881
1037
|
@line = args[:line] if args.key?(:line)
|
882
1038
|
@app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release)
|