google-api-client 0.14.4 → 0.14.5
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 +41 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +111 -0
- data/generated/google/apis/appengine_v1/representations.rb +59 -0
- data/generated/google/apis/appengine_v1/service.rb +220 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +361 -0
- data/generated/google/apis/classroom_v1/representations.rb +161 -0
- data/generated/google/apis/classroom_v1/service.rb +426 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +3 -3
- data/generated/google/apis/cloudiot_v1.rb +38 -0
- data/generated/google/apis/cloudiot_v1/classes.rb +1197 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +473 -0
- data/generated/google/apis/cloudiot_v1/service.rb +657 -0
- data/generated/google/apis/cloudiot_v1beta1.rb +38 -0
- data/generated/google/apis/cloudiot_v1beta1/classes.rb +1064 -0
- data/generated/google/apis/cloudiot_v1beta1/representations.rb +442 -0
- data/generated/google/apis/cloudiot_v1beta1/service.rb +725 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +4 -4
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/service.rb +1 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +34 -4
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +34 -4
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +91 -9
- data/generated/google/apis/content_v2/representations.rb +20 -0
- data/generated/google/apis/content_v2/service.rb +1 -2
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +90 -8
- data/generated/google/apis/content_v2sandbox/representations.rb +20 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +53 -3
- data/generated/google/apis/dataflow_v1b3/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +461 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +194 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +452 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +30 -1
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +8 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +2 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2 -1
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +2 -2
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +44 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +17 -0
- data/generated/google/apis/firebaserules_v1/service.rb +35 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +3 -3
- data/generated/google/apis/fitness_v1/service.rb +4 -4
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +14 -14
- data/generated/google/apis/iam_v1/service.rb +29 -29
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +11 -9
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +11 -9
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +5 -4
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +2 -1
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/service.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +19 -23
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +106 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +32 -0
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +92 -92
- data/generated/google/apis/serviceuser_v1/representations.rb +27 -15
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +7 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +53 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +29 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +37 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -2
|
@@ -574,9 +574,9 @@ module Google
|
|
|
574
574
|
# Deletes a ServiceAccount.
|
|
575
575
|
# @param [String] name
|
|
576
576
|
# The resource name of the service account in the following format:
|
|
577
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`
|
|
578
|
-
# Using `-` as a wildcard for the
|
|
579
|
-
# the account. The `
|
|
577
|
+
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
578
|
+
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
|
|
579
|
+
# the account. The `ACCOUNT` value can be the `email` address or the
|
|
580
580
|
# `unique_id` of the service account.
|
|
581
581
|
# @param [String] fields
|
|
582
582
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -608,9 +608,9 @@ module Google
|
|
|
608
608
|
# Gets a ServiceAccount.
|
|
609
609
|
# @param [String] name
|
|
610
610
|
# The resource name of the service account in the following format:
|
|
611
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`
|
|
612
|
-
# Using `-` as a wildcard for the
|
|
613
|
-
# the account. The `
|
|
611
|
+
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
612
|
+
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
|
|
613
|
+
# the account. The `ACCOUNT` value can be the `email` address or the
|
|
614
614
|
# `unique_id` of the service account.
|
|
615
615
|
# @param [String] fields
|
|
616
616
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -750,9 +750,9 @@ module Google
|
|
|
750
750
|
# Signs a blob using a service account's system-managed private key.
|
|
751
751
|
# @param [String] name
|
|
752
752
|
# The resource name of the service account in the following format:
|
|
753
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`
|
|
754
|
-
# Using `-` as a wildcard for the
|
|
755
|
-
# the account. The `
|
|
753
|
+
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
754
|
+
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
|
|
755
|
+
# the account. The `ACCOUNT` value can be the `email` address or the
|
|
756
756
|
# `unique_id` of the service account.
|
|
757
757
|
# @param [Google::Apis::IamV1::SignBlobRequest] sign_blob_request_object
|
|
758
758
|
# @param [String] fields
|
|
@@ -790,9 +790,9 @@ module Google
|
|
|
790
790
|
# more than one hour, the request will fail.
|
|
791
791
|
# @param [String] name
|
|
792
792
|
# The resource name of the service account in the following format:
|
|
793
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`
|
|
794
|
-
# Using `-` as a wildcard for the
|
|
795
|
-
# the account. The `
|
|
793
|
+
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
794
|
+
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
|
|
795
|
+
# the account. The `ACCOUNT` value can be the `email` address or the
|
|
796
796
|
# `unique_id` of the service account.
|
|
797
797
|
# @param [Google::Apis::IamV1::SignJwtRequest] sign_jwt_request_object
|
|
798
798
|
# @param [String] fields
|
|
@@ -865,12 +865,12 @@ module Google
|
|
|
865
865
|
# The `etag` is mandatory.
|
|
866
866
|
# @param [String] name
|
|
867
867
|
# The resource name of the service account in the following format:
|
|
868
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`
|
|
869
|
-
# Requests using `-` as a wildcard for the
|
|
870
|
-
# from the `account` and the `
|
|
871
|
-
# the `unique_id` of the service account.
|
|
868
|
+
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
869
|
+
# Requests using `-` as a wildcard for the `PROJECT_ID` will infer the
|
|
870
|
+
# project from the `account` and the `ACCOUNT` value can be the `email`
|
|
871
|
+
# address or the `unique_id` of the service account.
|
|
872
872
|
# In responses the resource name will always be in the format
|
|
873
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`
|
|
873
|
+
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
874
874
|
# @param [Google::Apis::IamV1::ServiceAccount] service_account_object
|
|
875
875
|
# @param [String] fields
|
|
876
876
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -905,9 +905,9 @@ module Google
|
|
|
905
905
|
# and returns it.
|
|
906
906
|
# @param [String] name
|
|
907
907
|
# The resource name of the service account in the following format:
|
|
908
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`
|
|
909
|
-
# Using `-` as a wildcard for the
|
|
910
|
-
# the account. The `
|
|
908
|
+
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
909
|
+
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
|
|
910
|
+
# the account. The `ACCOUNT` value can be the `email` address or the
|
|
911
911
|
# `unique_id` of the service account.
|
|
912
912
|
# @param [Google::Apis::IamV1::CreateServiceAccountKeyRequest] create_service_account_key_request_object
|
|
913
913
|
# @param [String] fields
|
|
@@ -942,9 +942,9 @@ module Google
|
|
|
942
942
|
# Deletes a ServiceAccountKey.
|
|
943
943
|
# @param [String] name
|
|
944
944
|
# The resource name of the service account key in the following format:
|
|
945
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`
|
|
946
|
-
# Using `-` as a wildcard for the
|
|
947
|
-
# the account. The `
|
|
945
|
+
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``.
|
|
946
|
+
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
|
|
947
|
+
# the account. The `ACCOUNT` value can be the `email` address or the
|
|
948
948
|
# `unique_id` of the service account.
|
|
949
949
|
# @param [String] fields
|
|
950
950
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -977,9 +977,9 @@ module Google
|
|
|
977
977
|
# by key id.
|
|
978
978
|
# @param [String] name
|
|
979
979
|
# The resource name of the service account key in the following format:
|
|
980
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`
|
|
981
|
-
# Using `-` as a wildcard for the
|
|
982
|
-
# the account. The `
|
|
980
|
+
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``.
|
|
981
|
+
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
|
|
982
|
+
# the account. The `ACCOUNT` value can be the `email` address or the
|
|
983
983
|
# `unique_id` of the service account.
|
|
984
984
|
# @param [String] public_key_type
|
|
985
985
|
# The output format of the public key requested.
|
|
@@ -1015,9 +1015,9 @@ module Google
|
|
|
1015
1015
|
# Lists ServiceAccountKeys.
|
|
1016
1016
|
# @param [String] name
|
|
1017
1017
|
# The resource name of the service account in the following format:
|
|
1018
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`
|
|
1019
|
-
# Using `-` as a wildcard for the
|
|
1020
|
-
# the account. The `
|
|
1018
|
+
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
1019
|
+
# Using `-` as a wildcard for the `PROJECT_ID`, will infer the project from
|
|
1020
|
+
# the account. The `ACCOUNT` value can be the `email` address or the
|
|
1021
1021
|
# `unique_id` of the service account.
|
|
1022
1022
|
# @param [Array<String>, String] key_types
|
|
1023
1023
|
# Filters the types of keys the user wants to include in the list
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/logging/docs/
|
|
26
26
|
module LoggingV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170926'
|
|
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'
|
|
@@ -625,15 +625,17 @@ module Google
|
|
|
625
625
|
# "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
|
|
626
626
|
# "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
|
|
627
627
|
# "folders/[FOLDER_ID]/logs/[LOG_ID]"
|
|
628
|
-
#
|
|
629
|
-
#
|
|
630
|
-
#
|
|
631
|
-
#
|
|
632
|
-
#
|
|
633
|
-
#
|
|
634
|
-
#
|
|
635
|
-
#
|
|
636
|
-
#
|
|
628
|
+
# A project number may optionally be used in place of PROJECT_ID. The project
|
|
629
|
+
# number is translated to its corresponding PROJECT_ID internally and the
|
|
630
|
+
# log_name field will contain PROJECT_ID in queries and exports.[LOG_ID] must be
|
|
631
|
+
# URL-encoded within log_name. Example: "organizations/1234567890/logs/
|
|
632
|
+
# cloudresourcemanager.googleapis.com%2Factivity". [LOG_ID] must be less than
|
|
633
|
+
# 512 characters long and can only include the following characters: upper and
|
|
634
|
+
# lower case alphanumeric characters, forward-slash, underscore, hyphen, and
|
|
635
|
+
# period.For backward compatibility, if log_name begins with a forward-slash,
|
|
636
|
+
# such as /projects/..., then the log entry is ingested as usual but the forward-
|
|
637
|
+
# slash is removed. Listing the log entry will not show the leading slash and
|
|
638
|
+
# filtering for a log name with a leading slash will never return any results.
|
|
637
639
|
# Corresponds to the JSON property `logName`
|
|
638
640
|
# @return [String]
|
|
639
641
|
attr_accessor :log_name
|
|
@@ -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 = '20170926'
|
|
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'
|
|
@@ -598,15 +598,17 @@ module Google
|
|
|
598
598
|
# "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
|
|
599
599
|
# "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
|
|
600
600
|
# "folders/[FOLDER_ID]/logs/[LOG_ID]"
|
|
601
|
-
#
|
|
602
|
-
#
|
|
603
|
-
#
|
|
604
|
-
#
|
|
605
|
-
#
|
|
606
|
-
#
|
|
607
|
-
#
|
|
608
|
-
#
|
|
609
|
-
#
|
|
601
|
+
# A project number may optionally be used in place of PROJECT_ID. The project
|
|
602
|
+
# number is translated to its corresponding PROJECT_ID internally and the
|
|
603
|
+
# log_name field will contain PROJECT_ID in queries and exports.[LOG_ID] must be
|
|
604
|
+
# URL-encoded within log_name. Example: "organizations/1234567890/logs/
|
|
605
|
+
# cloudresourcemanager.googleapis.com%2Factivity". [LOG_ID] must be less than
|
|
606
|
+
# 512 characters long and can only include the following characters: upper and
|
|
607
|
+
# lower case alphanumeric characters, forward-slash, underscore, hyphen, and
|
|
608
|
+
# period.For backward compatibility, if log_name begins with a forward-slash,
|
|
609
|
+
# such as /projects/..., then the log entry is ingested as usual but the forward-
|
|
610
|
+
# slash is removed. Listing the log entry will not show the leading slash and
|
|
611
|
+
# filtering for a log name with a leading slash will never return any results.
|
|
610
612
|
# Corresponds to the JSON property `logName`
|
|
611
613
|
# @return [String]
|
|
612
614
|
attr_accessor :log_name
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/ml/
|
|
26
26
|
module MlV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170926'
|
|
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'
|
|
@@ -186,7 +186,8 @@ module Google
|
|
|
186
186
|
class GoogleCloudMlV1HyperparameterOutput
|
|
187
187
|
include Google::Apis::Core::Hashable
|
|
188
188
|
|
|
189
|
-
# All recorded object metrics for this trial.
|
|
189
|
+
# All recorded object metrics for this trial. This field is not currently
|
|
190
|
+
# populated.
|
|
190
191
|
# Corresponds to the JSON property `allMetrics`
|
|
191
192
|
# @return [Array<Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric>]
|
|
192
193
|
attr_accessor :all_metrics
|
|
@@ -465,7 +466,7 @@ module Google
|
|
|
465
466
|
# information about all of the versions of a given model by calling
|
|
466
467
|
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
|
467
468
|
# versions/list).
|
|
468
|
-
# Next ID:
|
|
469
|
+
# Next ID: 19
|
|
469
470
|
# LINT.IfChange
|
|
470
471
|
# Corresponds to the JSON property `defaultVersion`
|
|
471
472
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
|
@@ -558,7 +559,7 @@ module Google
|
|
|
558
559
|
# information about all of the versions of a given model by calling
|
|
559
560
|
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
|
560
561
|
# versions/list).
|
|
561
|
-
# Next ID:
|
|
562
|
+
# Next ID: 19
|
|
562
563
|
# LINT.IfChange
|
|
563
564
|
# Corresponds to the JSON property `version`
|
|
564
565
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
|
@@ -1215,7 +1216,7 @@ module Google
|
|
|
1215
1216
|
# information about all of the versions of a given model by calling
|
|
1216
1217
|
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
|
1217
1218
|
# versions/list).
|
|
1218
|
-
# Next ID:
|
|
1219
|
+
# Next ID: 19
|
|
1219
1220
|
# LINT.IfChange
|
|
1220
1221
|
class GoogleCloudMlV1Version
|
|
1221
1222
|
include Google::Apis::Core::Hashable
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/compute/docs/oslogin/rest/
|
|
26
26
|
module OsloginV1alpha
|
|
27
27
|
VERSION = 'V1alpha'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170926'
|
|
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'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/compute/docs/oslogin/rest/
|
|
26
26
|
module OsloginV1beta
|
|
27
27
|
VERSION = 'V1beta'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170926'
|
|
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'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/pubsub/docs
|
|
26
26
|
module PubsubV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170918'
|
|
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'
|
|
@@ -558,7 +558,8 @@ module Google
|
|
|
558
558
|
# For pull subscriptions, this value is used as the initial value for the ack
|
|
559
559
|
# deadline. To override this value for a given message, call
|
|
560
560
|
# `ModifyAckDeadline` with the corresponding `ack_id` if using
|
|
561
|
-
# pull
|
|
561
|
+
# non-streaming pull or send the `ack_id` in a
|
|
562
|
+
# `StreamingModifyAckDeadlineRequest` if using streaming pull.
|
|
562
563
|
# The minimum custom deadline you can specify is 10 seconds.
|
|
563
564
|
# The maximum custom deadline you can specify is 600 seconds (10 minutes).
|
|
564
565
|
# If this parameter is 0, a default value of 10 seconds is used.
|
|
@@ -20,12 +20,12 @@ module Google
|
|
|
20
20
|
module Apis
|
|
21
21
|
# Google Apps Script Execution API
|
|
22
22
|
#
|
|
23
|
-
#
|
|
23
|
+
# An API for managing and executing Google Apps Script projects.
|
|
24
24
|
#
|
|
25
25
|
# @see https://developers.google.com/apps-script/execution/rest/v1/scripts/run
|
|
26
26
|
module ScriptV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170927'
|
|
29
29
|
|
|
30
30
|
# Read, send, delete, and manage your email
|
|
31
31
|
AUTH_SCOPE = 'https://mail.google.com/'
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/service-control/
|
|
27
27
|
module ServicecontrolV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20170925'
|
|
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'
|
|
@@ -1084,6 +1084,7 @@ module Google
|
|
|
1084
1084
|
# @return [Google::Apis::ServicecontrolV1::QuotaProperties]
|
|
1085
1085
|
attr_accessor :quota_properties
|
|
1086
1086
|
|
|
1087
|
+
# DO NOT USE. This field is deprecated, use "resources" field instead.
|
|
1087
1088
|
# The resource name of the parent of a resource in the resource hierarchy.
|
|
1088
1089
|
# This can be in one of the following formats:
|
|
1089
1090
|
# - “projects/<project-id or project-number>”
|
|
@@ -1292,21 +1293,6 @@ module Google
|
|
|
1292
1293
|
class QuotaProperties
|
|
1293
1294
|
include Google::Apis::Core::Hashable
|
|
1294
1295
|
|
|
1295
|
-
# LimitType IDs that should be used for checking quota. Key in this map
|
|
1296
|
-
# should be a valid LimitType string, and the value is the ID to be used. For
|
|
1297
|
-
# example, an entry <USER, 123> will cause all user quota limits to use 123
|
|
1298
|
-
# as the user ID. See google/api/quota.proto for the definition of LimitType.
|
|
1299
|
-
# CLIENT_PROJECT: Not supported.
|
|
1300
|
-
# USER: Value of this entry will be used for enforcing user-level quota
|
|
1301
|
-
# limits. If none specified, caller IP passed in the
|
|
1302
|
-
# servicecontrol.googleapis.com/caller_ip label will be used instead.
|
|
1303
|
-
# If the server cannot resolve a value for this LimitType, an error
|
|
1304
|
-
# will be thrown. No validation will be performed on this ID.
|
|
1305
|
-
# Deprecated: use servicecontrol.googleapis.com/user label to send user ID.
|
|
1306
|
-
# Corresponds to the JSON property `limitByIds`
|
|
1307
|
-
# @return [Hash<String,String>]
|
|
1308
|
-
attr_accessor :limit_by_ids
|
|
1309
|
-
|
|
1310
1296
|
# Quota mode for this operation.
|
|
1311
1297
|
# Corresponds to the JSON property `quotaMode`
|
|
1312
1298
|
# @return [String]
|
|
@@ -1318,7 +1304,6 @@ module Google
|
|
|
1318
1304
|
|
|
1319
1305
|
# Update properties of this object
|
|
1320
1306
|
def update!(**args)
|
|
1321
|
-
@limit_by_ids = args[:limit_by_ids] if args.key?(:limit_by_ids)
|
|
1322
1307
|
@quota_mode = args[:quota_mode] if args.key?(:quota_mode)
|
|
1323
1308
|
end
|
|
1324
1309
|
end
|
|
@@ -1575,16 +1560,27 @@ module Google
|
|
|
1575
1560
|
|
|
1576
1561
|
# The IP address of the caller.
|
|
1577
1562
|
# For caller from internet, this will be public IPv4 or IPv6 address.
|
|
1578
|
-
# For caller from
|
|
1579
|
-
# external IP address. For caller from
|
|
1580
|
-
#
|
|
1581
|
-
#
|
|
1582
|
-
#
|
|
1563
|
+
# For caller from a Compute Engine VM with external IP address, this
|
|
1564
|
+
# will be the VM's external IP address. For caller from a Compute
|
|
1565
|
+
# Engine VM without external IP address, if the VM is in the same
|
|
1566
|
+
# organization (or project) as the accessed resource, `caller_ip` will
|
|
1567
|
+
# be the VM's internal IPv4 address, otherwise the `caller_ip` will be
|
|
1568
|
+
# redacted to "gce-internal-ip".
|
|
1583
1569
|
# See https://cloud.google.com/compute/docs/vpc/ for more information.
|
|
1584
1570
|
# Corresponds to the JSON property `callerIp`
|
|
1585
1571
|
# @return [String]
|
|
1586
1572
|
attr_accessor :caller_ip
|
|
1587
1573
|
|
|
1574
|
+
# The network of the caller.
|
|
1575
|
+
# Set only if the network host project is part of the same GCP organization
|
|
1576
|
+
# (or project) as the accessed resource.
|
|
1577
|
+
# See https://cloud.google.com/compute/docs/vpc/ for more information.
|
|
1578
|
+
# This is a scheme-less URI full resource name. For example:
|
|
1579
|
+
# "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID"
|
|
1580
|
+
# Corresponds to the JSON property `callerNetwork`
|
|
1581
|
+
# @return [String]
|
|
1582
|
+
attr_accessor :caller_network
|
|
1583
|
+
|
|
1588
1584
|
# The user agent of the caller.
|
|
1589
1585
|
# This information is not authenticated and should be treated accordingly.
|
|
1590
1586
|
# For example:
|
|
@@ -1607,12 +1603,12 @@ module Google
|
|
|
1607
1603
|
# Update properties of this object
|
|
1608
1604
|
def update!(**args)
|
|
1609
1605
|
@caller_ip = args[:caller_ip] if args.key?(:caller_ip)
|
|
1606
|
+
@caller_network = args[:caller_network] if args.key?(:caller_network)
|
|
1610
1607
|
@caller_supplied_user_agent = args[:caller_supplied_user_agent] if args.key?(:caller_supplied_user_agent)
|
|
1611
1608
|
end
|
|
1612
1609
|
end
|
|
1613
1610
|
|
|
1614
|
-
#
|
|
1615
|
-
# This definition is not ready for use yet.
|
|
1611
|
+
# Describes a resource associated with this operation.
|
|
1616
1612
|
class ResourceInfo
|
|
1617
1613
|
include Google::Apis::Core::Hashable
|
|
1618
1614
|
|
|
@@ -534,7 +534,6 @@ module Google
|
|
|
534
534
|
class QuotaProperties
|
|
535
535
|
# @private
|
|
536
536
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
537
|
-
hash :limit_by_ids, as: 'limitByIds'
|
|
538
537
|
property :quota_mode, as: 'quotaMode'
|
|
539
538
|
end
|
|
540
539
|
end
|
|
@@ -602,6 +601,7 @@ module Google
|
|
|
602
601
|
# @private
|
|
603
602
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
604
603
|
property :caller_ip, as: 'callerIp'
|
|
604
|
+
property :caller_network, as: 'callerNetwork'
|
|
605
605
|
property :caller_supplied_user_agent, as: 'callerSuppliedUserAgent'
|
|
606
606
|
end
|
|
607
607
|
end
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/service-management/
|
|
28
28
|
module ServicemanagementV1
|
|
29
29
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20170926'
|
|
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'
|
|
@@ -555,6 +555,74 @@ module Google
|
|
|
555
555
|
end
|
|
556
556
|
end
|
|
557
557
|
|
|
558
|
+
# Billing related configuration of the service.
|
|
559
|
+
# The following example shows how to configure monitored resources and metrics
|
|
560
|
+
# for billing:
|
|
561
|
+
# monitored_resources:
|
|
562
|
+
# - type: library.googleapis.com/branch
|
|
563
|
+
# labels:
|
|
564
|
+
# - key: /city
|
|
565
|
+
# description: The city where the library branch is located in.
|
|
566
|
+
# - key: /name
|
|
567
|
+
# description: The name of the branch.
|
|
568
|
+
# metrics:
|
|
569
|
+
# - name: library.googleapis.com/book/borrowed_count
|
|
570
|
+
# metric_kind: DELTA
|
|
571
|
+
# value_type: INT64
|
|
572
|
+
# billing:
|
|
573
|
+
# consumer_destinations:
|
|
574
|
+
# - monitored_resource: library.googleapis.com/branch
|
|
575
|
+
# metrics:
|
|
576
|
+
# - library.googleapis.com/book/borrowed_count
|
|
577
|
+
class Billing
|
|
578
|
+
include Google::Apis::Core::Hashable
|
|
579
|
+
|
|
580
|
+
# Billing configurations for sending metrics to the consumer project.
|
|
581
|
+
# There can be multiple consumer destinations per service, each one must have
|
|
582
|
+
# a different monitored resource type. A metric can be used in at most
|
|
583
|
+
# one consumer destination.
|
|
584
|
+
# Corresponds to the JSON property `consumerDestinations`
|
|
585
|
+
# @return [Array<Google::Apis::ServicemanagementV1::BillingDestination>]
|
|
586
|
+
attr_accessor :consumer_destinations
|
|
587
|
+
|
|
588
|
+
def initialize(**args)
|
|
589
|
+
update!(**args)
|
|
590
|
+
end
|
|
591
|
+
|
|
592
|
+
# Update properties of this object
|
|
593
|
+
def update!(**args)
|
|
594
|
+
@consumer_destinations = args[:consumer_destinations] if args.key?(:consumer_destinations)
|
|
595
|
+
end
|
|
596
|
+
end
|
|
597
|
+
|
|
598
|
+
# Configuration of a specific billing destination (Currently only support
|
|
599
|
+
# bill against consumer project).
|
|
600
|
+
class BillingDestination
|
|
601
|
+
include Google::Apis::Core::Hashable
|
|
602
|
+
|
|
603
|
+
# Names of the metrics to report to this billing destination.
|
|
604
|
+
# Each name must be defined in Service.metrics section.
|
|
605
|
+
# Corresponds to the JSON property `metrics`
|
|
606
|
+
# @return [Array<String>]
|
|
607
|
+
attr_accessor :metrics
|
|
608
|
+
|
|
609
|
+
# The monitored resource type. The type must be defined in
|
|
610
|
+
# Service.monitored_resources section.
|
|
611
|
+
# Corresponds to the JSON property `monitoredResource`
|
|
612
|
+
# @return [String]
|
|
613
|
+
attr_accessor :monitored_resource
|
|
614
|
+
|
|
615
|
+
def initialize(**args)
|
|
616
|
+
update!(**args)
|
|
617
|
+
end
|
|
618
|
+
|
|
619
|
+
# Update properties of this object
|
|
620
|
+
def update!(**args)
|
|
621
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
|
622
|
+
@monitored_resource = args[:monitored_resource] if args.key?(:monitored_resource)
|
|
623
|
+
end
|
|
624
|
+
end
|
|
625
|
+
|
|
558
626
|
# Associates `members` with a `role`.
|
|
559
627
|
class Binding
|
|
560
628
|
include Google::Apis::Core::Hashable
|
|
@@ -1531,6 +1599,13 @@ module Google
|
|
|
1531
1599
|
# @return [String]
|
|
1532
1600
|
attr_accessor :flow_name
|
|
1533
1601
|
|
|
1602
|
+
# Operation type which is a flow type and subtype info as that is missing in
|
|
1603
|
+
# our datastore otherwise. This maps to the ordinal value of the enum:
|
|
1604
|
+
# jcg/api/tenant/operations/OperationNamespace.java
|
|
1605
|
+
# Corresponds to the JSON property `operationType`
|
|
1606
|
+
# @return [Fixnum]
|
|
1607
|
+
attr_accessor :operation_type
|
|
1608
|
+
|
|
1534
1609
|
# The full name of the resources that this flow is directly associated with.
|
|
1535
1610
|
# Corresponds to the JSON property `resourceNames`
|
|
1536
1611
|
# @return [Array<String>]
|
|
@@ -1541,6 +1616,11 @@ module Google
|
|
|
1541
1616
|
# @return [String]
|
|
1542
1617
|
attr_accessor :start_time
|
|
1543
1618
|
|
|
1619
|
+
#
|
|
1620
|
+
# Corresponds to the JSON property `surface`
|
|
1621
|
+
# @return [String]
|
|
1622
|
+
attr_accessor :surface
|
|
1623
|
+
|
|
1544
1624
|
def initialize(**args)
|
|
1545
1625
|
update!(**args)
|
|
1546
1626
|
end
|
|
@@ -1550,8 +1630,10 @@ module Google
|
|
|
1550
1630
|
@cancel_state = args[:cancel_state] if args.key?(:cancel_state)
|
|
1551
1631
|
@deadline = args[:deadline] if args.key?(:deadline)
|
|
1552
1632
|
@flow_name = args[:flow_name] if args.key?(:flow_name)
|
|
1633
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
|
1553
1634
|
@resource_names = args[:resource_names] if args.key?(:resource_names)
|
|
1554
1635
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
1636
|
+
@surface = args[:surface] if args.key?(:surface)
|
|
1555
1637
|
end
|
|
1556
1638
|
end
|
|
1557
1639
|
|
|
@@ -3514,6 +3596,29 @@ module Google
|
|
|
3514
3596
|
# @return [Google::Apis::ServicemanagementV1::Backend]
|
|
3515
3597
|
attr_accessor :backend
|
|
3516
3598
|
|
|
3599
|
+
# Billing related configuration of the service.
|
|
3600
|
+
# The following example shows how to configure monitored resources and metrics
|
|
3601
|
+
# for billing:
|
|
3602
|
+
# monitored_resources:
|
|
3603
|
+
# - type: library.googleapis.com/branch
|
|
3604
|
+
# labels:
|
|
3605
|
+
# - key: /city
|
|
3606
|
+
# description: The city where the library branch is located in.
|
|
3607
|
+
# - key: /name
|
|
3608
|
+
# description: The name of the branch.
|
|
3609
|
+
# metrics:
|
|
3610
|
+
# - name: library.googleapis.com/book/borrowed_count
|
|
3611
|
+
# metric_kind: DELTA
|
|
3612
|
+
# value_type: INT64
|
|
3613
|
+
# billing:
|
|
3614
|
+
# consumer_destinations:
|
|
3615
|
+
# - monitored_resource: library.googleapis.com/branch
|
|
3616
|
+
# metrics:
|
|
3617
|
+
# - library.googleapis.com/book/borrowed_count
|
|
3618
|
+
# Corresponds to the JSON property `billing`
|
|
3619
|
+
# @return [Google::Apis::ServicemanagementV1::Billing]
|
|
3620
|
+
attr_accessor :billing
|
|
3621
|
+
|
|
3517
3622
|
# The semantic version of the service configuration. The config version
|
|
3518
3623
|
# affects the interpretation of the service configuration. For example,
|
|
3519
3624
|
# certain features are enabled by default for certain config versions.
|
|
@@ -3866,6 +3971,7 @@ module Google
|
|
|
3866
3971
|
@apis = args[:apis] if args.key?(:apis)
|
|
3867
3972
|
@authentication = args[:authentication] if args.key?(:authentication)
|
|
3868
3973
|
@backend = args[:backend] if args.key?(:backend)
|
|
3974
|
+
@billing = args[:billing] if args.key?(:billing)
|
|
3869
3975
|
@config_version = args[:config_version] if args.key?(:config_version)
|
|
3870
3976
|
@context = args[:context] if args.key?(:context)
|
|
3871
3977
|
@control = args[:control] if args.key?(:control)
|