google-api-client 0.9.15 → 0.9.18
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/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +82 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +80 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +23 -0
- data/generated/google/apis/admin_directory_v1/service.rb +39 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +11 -5
- data/generated/google/apis/analytics_v3/representations.rb +1 -0
- data/generated/google/apis/analytics_v3/service.rb +17 -18
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +80 -2
- data/generated/google/apis/androidenterprise_v1/representations.rb +30 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +55 -6
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/service.rb +36 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +2 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +2 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +7 -0
- data/generated/google/apis/classroom_v1/representations.rb +1 -0
- data/generated/google/apis/classroom_v1/service.rb +25 -15
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +56 -8
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +535 -298
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +141 -36
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +250 -45
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +99 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +44 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +24 -33
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +44 -29
- data/generated/google/apis/compute_beta/representations.rb +1 -0
- data/generated/google/apis/compute_beta/service.rb +123 -25
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +43 -20
- data/generated/google/apis/compute_v1/representations.rb +3 -0
- data/generated/google/apis/compute_v1/service.rb +608 -67
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +38 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +4009 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +1718 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +515 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
- 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 +9 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +8 -1
- 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/drive_v3/service.rb +8 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +181 -206
- data/generated/google/apis/iam_v1/representations.rb +36 -45
- data/generated/google/apis/iam_v1/service.rb +101 -67
- data/generated/google/apis/identitytoolkit_v3.rb +4 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +11 -27
- data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -16
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +4 -2
- data/generated/google/apis/language_v1beta1/service.rb +2 -4
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +742 -732
- data/generated/google/apis/logging_v2beta1/representations.rb +134 -147
- data/generated/google/apis/logging_v2beta1/service.rb +276 -209
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +20 -13
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/oauth2_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/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +10 -9
- data/generated/google/apis/pubsub_v1/service.rb +128 -27
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +20 -30
- data/generated/google/apis/speech_v1beta1/representations.rb +6 -7
- data/generated/google/apis/speech_v1beta1/service.rb +68 -65
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +6 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +3 -3
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1/service.rb +5 -2
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -2
|
@@ -3203,6 +3203,7 @@ module Google
|
|
|
3203
3203
|
property :self_link, as: 'selfLink'
|
|
3204
3204
|
property :usage_export_location, as: 'usageExportLocation', class: Google::Apis::ComputeBeta::UsageExportLocation, decorator: Google::Apis::ComputeBeta::UsageExportLocation::Representation
|
|
3205
3205
|
|
|
3206
|
+
property :xpn_project_status, as: 'xpnProjectStatus'
|
|
3206
3207
|
end
|
|
3207
3208
|
end
|
|
3208
3209
|
|
|
@@ -1107,10 +1107,10 @@ module Google
|
|
|
1107
1107
|
execute_or_queue_command(command, &block)
|
|
1108
1108
|
end
|
|
1109
1109
|
|
|
1110
|
-
# Updates the
|
|
1111
|
-
# restrictions and guidelines to keep in mind when
|
|
1112
|
-
# Read Restrictions and Guidelines for more
|
|
1113
|
-
# patch semantics.
|
|
1110
|
+
# Updates the specified BackendService resource with the data included in the
|
|
1111
|
+
# request. There are several restrictions and guidelines to keep in mind when
|
|
1112
|
+
# updating a backend service. Read Restrictions and Guidelines for more
|
|
1113
|
+
# information. This method supports patch semantics.
|
|
1114
1114
|
# @param [String] project
|
|
1115
1115
|
# Project ID for this request.
|
|
1116
1116
|
# @param [String] backend_service
|
|
@@ -1192,9 +1192,10 @@ module Google
|
|
|
1192
1192
|
execute_or_queue_command(command, &block)
|
|
1193
1193
|
end
|
|
1194
1194
|
|
|
1195
|
-
# Updates the
|
|
1196
|
-
# restrictions and guidelines to keep in mind when
|
|
1197
|
-
# Read Restrictions and Guidelines for more
|
|
1195
|
+
# Updates the specified BackendService resource with the data included in the
|
|
1196
|
+
# request. There are several restrictions and guidelines to keep in mind when
|
|
1197
|
+
# updating a backend service. Read Restrictions and Guidelines for more
|
|
1198
|
+
# information.
|
|
1198
1199
|
# @param [String] project
|
|
1199
1200
|
# Project ID for this request.
|
|
1200
1201
|
# @param [String] backend_service
|
|
@@ -8110,7 +8111,7 @@ module Google
|
|
|
8110
8111
|
execute_or_queue_command(command, &block)
|
|
8111
8112
|
end
|
|
8112
8113
|
|
|
8113
|
-
# Updates
|
|
8114
|
+
# Updates an autoscaler in the specified project using the data included in the
|
|
8114
8115
|
# request. This method supports patch semantics.
|
|
8115
8116
|
# @param [String] project
|
|
8116
8117
|
# Project ID for this request.
|
|
@@ -8199,7 +8200,7 @@ module Google
|
|
|
8199
8200
|
execute_or_queue_command(command, &block)
|
|
8200
8201
|
end
|
|
8201
8202
|
|
|
8202
|
-
# Updates
|
|
8203
|
+
# Updates an autoscaler in the specified project using the data included in the
|
|
8203
8204
|
# request.
|
|
8204
8205
|
# @param [String] project
|
|
8205
8206
|
# Project ID for this request.
|
|
@@ -8494,10 +8495,10 @@ module Google
|
|
|
8494
8495
|
execute_or_queue_command(command, &block)
|
|
8495
8496
|
end
|
|
8496
8497
|
|
|
8497
|
-
#
|
|
8498
|
-
# several restrictions and guidelines to keep in mind
|
|
8499
|
-
# service. Read Restrictions and Guidelines for more
|
|
8500
|
-
# supports patch semantics.
|
|
8498
|
+
# Updates the specified regional BackendService resource with the data included
|
|
8499
|
+
# in the request. There are several restrictions and guidelines to keep in mind
|
|
8500
|
+
# when updating a backend service. Read Restrictions and Guidelines for more
|
|
8501
|
+
# information. This method supports patch semantics.
|
|
8501
8502
|
# @param [String] project
|
|
8502
8503
|
# Project ID for this request.
|
|
8503
8504
|
# @param [String] region
|
|
@@ -8585,9 +8586,10 @@ module Google
|
|
|
8585
8586
|
execute_or_queue_command(command, &block)
|
|
8586
8587
|
end
|
|
8587
8588
|
|
|
8588
|
-
#
|
|
8589
|
-
# several restrictions and guidelines to keep in mind
|
|
8590
|
-
# service. Read Restrictions and Guidelines for more
|
|
8589
|
+
# Updates the specified regional BackendService resource with the data included
|
|
8590
|
+
# in the request. There are several restrictions and guidelines to keep in mind
|
|
8591
|
+
# when updating a backend service. Read Restrictions and Guidelines for more
|
|
8592
|
+
# information.
|
|
8591
8593
|
# @param [String] project
|
|
8592
8594
|
# Project ID for this request.
|
|
8593
8595
|
# @param [String] region
|
|
@@ -8774,7 +8776,7 @@ module Google
|
|
|
8774
8776
|
execute_or_queue_command(command, &block)
|
|
8775
8777
|
end
|
|
8776
8778
|
|
|
8777
|
-
# Returns all of the details
|
|
8779
|
+
# Returns all of the details about the specified managed instance group.
|
|
8778
8780
|
# @param [String] project
|
|
8779
8781
|
# Project ID for this request.
|
|
8780
8782
|
# @param [String] region
|
|
@@ -8985,6 +8987,54 @@ module Google
|
|
|
8985
8987
|
execute_or_queue_command(command, &block)
|
|
8986
8988
|
end
|
|
8987
8989
|
|
|
8990
|
+
# Updates a managed instance group using the information that you specify in the
|
|
8991
|
+
# request. This operation is marked as DONE when the group is updated even if
|
|
8992
|
+
# the instances in the group have not yet been updated. You must separately
|
|
8993
|
+
# verify the status of the individual instances with the listmanagedinstances
|
|
8994
|
+
# method. This method supports patch semantics.
|
|
8995
|
+
# @param [String] project
|
|
8996
|
+
# Project ID for this request.
|
|
8997
|
+
# @param [String] region
|
|
8998
|
+
# Name of the region scoping this request.
|
|
8999
|
+
# @param [String] instance_group_manager
|
|
9000
|
+
# The name of the instance group manager.
|
|
9001
|
+
# @param [Google::Apis::ComputeBeta::InstanceGroupManager] instance_group_manager_object
|
|
9002
|
+
# @param [String] fields
|
|
9003
|
+
# Selector specifying which fields to include in a partial response.
|
|
9004
|
+
# @param [String] quota_user
|
|
9005
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9006
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9007
|
+
# Overrides userIp if both are provided.
|
|
9008
|
+
# @param [String] user_ip
|
|
9009
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
9010
|
+
# enforce per-user limits.
|
|
9011
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9012
|
+
# Request-specific options
|
|
9013
|
+
#
|
|
9014
|
+
# @yield [result, err] Result & error if block supplied
|
|
9015
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
9016
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9017
|
+
#
|
|
9018
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
9019
|
+
#
|
|
9020
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9021
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9022
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9023
|
+
def patch_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9024
|
+
command = make_simple_command(:patch, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
|
|
9025
|
+
command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation
|
|
9026
|
+
command.request_object = instance_group_manager_object
|
|
9027
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
9028
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
9029
|
+
command.params['project'] = project unless project.nil?
|
|
9030
|
+
command.params['region'] = region unless region.nil?
|
|
9031
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
9032
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9033
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9034
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
9035
|
+
execute_or_queue_command(command, &block)
|
|
9036
|
+
end
|
|
9037
|
+
|
|
8988
9038
|
# Schedules a group action to recreate the specified instances in the managed
|
|
8989
9039
|
# instance group. The instances are deleted and recreated using the current
|
|
8990
9040
|
# instance template for the managed instance group. This operation is marked as
|
|
@@ -9129,8 +9179,8 @@ module Google
|
|
|
9129
9179
|
execute_or_queue_command(command, &block)
|
|
9130
9180
|
end
|
|
9131
9181
|
|
|
9132
|
-
# Sets the instance template to use when creating new instances
|
|
9133
|
-
# Existing instances are not affected.
|
|
9182
|
+
# Sets the instance template to use when creating new instances or recreating
|
|
9183
|
+
# instances in this group. Existing instances are not affected.
|
|
9134
9184
|
# @param [String] project
|
|
9135
9185
|
# Project ID for this request.
|
|
9136
9186
|
# @param [String] region
|
|
@@ -9263,6 +9313,54 @@ module Google
|
|
|
9263
9313
|
execute_or_queue_command(command, &block)
|
|
9264
9314
|
end
|
|
9265
9315
|
|
|
9316
|
+
# Updates a managed instance group using the information that you specify in the
|
|
9317
|
+
# request. This operation is marked as DONE when the group is updated even if
|
|
9318
|
+
# the instances in the group have not yet been updated. You must separately
|
|
9319
|
+
# verify the status of the individual instances with the listmanagedinstances
|
|
9320
|
+
# method.
|
|
9321
|
+
# @param [String] project
|
|
9322
|
+
# Project ID for this request.
|
|
9323
|
+
# @param [String] region
|
|
9324
|
+
# Name of the region scoping this request.
|
|
9325
|
+
# @param [String] instance_group_manager
|
|
9326
|
+
# The name of the instance group manager.
|
|
9327
|
+
# @param [Google::Apis::ComputeBeta::InstanceGroupManager] instance_group_manager_object
|
|
9328
|
+
# @param [String] fields
|
|
9329
|
+
# Selector specifying which fields to include in a partial response.
|
|
9330
|
+
# @param [String] quota_user
|
|
9331
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9332
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9333
|
+
# Overrides userIp if both are provided.
|
|
9334
|
+
# @param [String] user_ip
|
|
9335
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
9336
|
+
# enforce per-user limits.
|
|
9337
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9338
|
+
# Request-specific options
|
|
9339
|
+
#
|
|
9340
|
+
# @yield [result, err] Result & error if block supplied
|
|
9341
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
9342
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9343
|
+
#
|
|
9344
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
9345
|
+
#
|
|
9346
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9347
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9348
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9349
|
+
def update_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9350
|
+
command = make_simple_command(:put, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
|
|
9351
|
+
command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation
|
|
9352
|
+
command.request_object = instance_group_manager_object
|
|
9353
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
9354
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
9355
|
+
command.params['project'] = project unless project.nil?
|
|
9356
|
+
command.params['region'] = region unless region.nil?
|
|
9357
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
9358
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9359
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9360
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
9361
|
+
execute_or_queue_command(command, &block)
|
|
9362
|
+
end
|
|
9363
|
+
|
|
9266
9364
|
# Returns the specified instance group resource.
|
|
9267
9365
|
# @param [String] project
|
|
9268
9366
|
# Project ID for this request.
|
|
@@ -10160,8 +10258,8 @@ module Google
|
|
|
10160
10258
|
execute_or_queue_command(command, &block)
|
|
10161
10259
|
end
|
|
10162
10260
|
|
|
10163
|
-
# Updates the
|
|
10164
|
-
# semantics.
|
|
10261
|
+
# Updates the specified Router resource with the data included in the request.
|
|
10262
|
+
# This method supports patch semantics.
|
|
10165
10263
|
# @param [String] project
|
|
10166
10264
|
# Project ID for this request.
|
|
10167
10265
|
# @param [String] region
|
|
@@ -10294,7 +10392,7 @@ module Google
|
|
|
10294
10392
|
execute_or_queue_command(command, &block)
|
|
10295
10393
|
end
|
|
10296
10394
|
|
|
10297
|
-
# Updates the
|
|
10395
|
+
# Updates the specified Router resource with the data included in the request.
|
|
10298
10396
|
# @param [String] project
|
|
10299
10397
|
# Project ID for this request.
|
|
10300
10398
|
# @param [String] region
|
|
@@ -13853,8 +13951,8 @@ module Google
|
|
|
13853
13951
|
execute_or_queue_command(command, &block)
|
|
13854
13952
|
end
|
|
13855
13953
|
|
|
13856
|
-
# Updates the
|
|
13857
|
-
# semantics.
|
|
13954
|
+
# Updates the specified UrlMap resource with the data included in the request.
|
|
13955
|
+
# This method supports patch semantics.
|
|
13858
13956
|
# @param [String] project
|
|
13859
13957
|
# Project ID for this request.
|
|
13860
13958
|
# @param [String] url_map
|
|
@@ -13936,7 +14034,7 @@ module Google
|
|
|
13936
14034
|
execute_or_queue_command(command, &block)
|
|
13937
14035
|
end
|
|
13938
14036
|
|
|
13939
|
-
# Updates the
|
|
14037
|
+
# Updates the specified UrlMap resource with the data included in the request.
|
|
13940
14038
|
# @param [String] project
|
|
13941
14039
|
# Project ID for this request.
|
|
13942
14040
|
# @param [String] url_map
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
|
26
26
|
module ComputeV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160926'
|
|
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'
|
|
@@ -565,6 +565,12 @@ module Google
|
|
|
565
565
|
# @return [String]
|
|
566
566
|
attr_accessor :name
|
|
567
567
|
|
|
568
|
+
# [Output Only] URL of the region where the instance group resides (for
|
|
569
|
+
# autoscalers living in regional scope).
|
|
570
|
+
# Corresponds to the JSON property `region`
|
|
571
|
+
# @return [String]
|
|
572
|
+
attr_accessor :region
|
|
573
|
+
|
|
568
574
|
# [Output Only] Server-defined URL for the resource.
|
|
569
575
|
# Corresponds to the JSON property `selfLink`
|
|
570
576
|
# @return [String]
|
|
@@ -593,6 +599,7 @@ module Google
|
|
|
593
599
|
@id = args[:id] if args.key?(:id)
|
|
594
600
|
@kind = args[:kind] if args.key?(:kind)
|
|
595
601
|
@name = args[:name] if args.key?(:name)
|
|
602
|
+
@region = args[:region] if args.key?(:region)
|
|
596
603
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
597
604
|
@target = args[:target] if args.key?(:target)
|
|
598
605
|
@zone = args[:zone] if args.key?(:zone)
|
|
@@ -879,12 +886,12 @@ module Google
|
|
|
879
886
|
class AutoscalingPolicyCustomMetricUtilization
|
|
880
887
|
include Google::Apis::Core::Hashable
|
|
881
888
|
|
|
882
|
-
# The identifier of the
|
|
883
|
-
# values and should be a utilization metric, which means that the
|
|
884
|
-
# virtual machines handling requests should increase or decrease
|
|
885
|
-
# to the metric. The metric must also have a label of compute.
|
|
886
|
-
# resource_id with the value of the instance's unique ID,
|
|
887
|
-
# does not guarantee that the metric is valid.
|
|
889
|
+
# The identifier of the Stackdriver Monitoring metric. The metric cannot have
|
|
890
|
+
# negative values and should be a utilization metric, which means that the
|
|
891
|
+
# number of virtual machines handling requests should increase or decrease
|
|
892
|
+
# proportionally to the metric. The metric must also have a label of compute.
|
|
893
|
+
# googleapis.com/resource_id with the value of the instance's unique ID,
|
|
894
|
+
# although this alone does not guarantee that the metric is valid.
|
|
888
895
|
# For example, the following is a valid metric:
|
|
889
896
|
# compute.googleapis.com/instance/network/received_bytes_count
|
|
890
897
|
# The following is not a valid metric because it does not increase or decrease
|
|
@@ -900,7 +907,7 @@ module Google
|
|
|
900
907
|
# @return [Float]
|
|
901
908
|
attr_accessor :utilization_target
|
|
902
909
|
|
|
903
|
-
# Defines how target utilization value is expressed for a
|
|
910
|
+
# Defines how target utilization value is expressed for a Stackdriver Monitoring
|
|
904
911
|
# metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not specified,
|
|
905
912
|
# the default is GAUGE.
|
|
906
913
|
# Corresponds to the JSON property `utilizationTargetType`
|
|
@@ -3314,7 +3321,7 @@ module Google
|
|
|
3314
3321
|
# @return [String]
|
|
3315
3322
|
attr_accessor :archive_size_bytes
|
|
3316
3323
|
|
|
3317
|
-
# Creation timestamp in RFC3339 text format.
|
|
3324
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
|
3318
3325
|
# Corresponds to the JSON property `creationTimestamp`
|
|
3319
3326
|
# @return [String]
|
|
3320
3327
|
attr_accessor :creation_timestamp
|
|
@@ -3754,8 +3761,8 @@ module Google
|
|
|
3754
3761
|
# @return [String]
|
|
3755
3762
|
attr_accessor :fingerprint
|
|
3756
3763
|
|
|
3757
|
-
# [Output Only] A unique identifier for this instance group
|
|
3758
|
-
#
|
|
3764
|
+
# [Output Only] A unique identifier for this instance group, generated by the
|
|
3765
|
+
# server.
|
|
3759
3766
|
# Corresponds to the JSON property `id`
|
|
3760
3767
|
# @return [String]
|
|
3761
3768
|
attr_accessor :id
|
|
@@ -3786,6 +3793,12 @@ module Google
|
|
|
3786
3793
|
# @return [String]
|
|
3787
3794
|
attr_accessor :network
|
|
3788
3795
|
|
|
3796
|
+
# The URL of the region where the instance group is located (for regional
|
|
3797
|
+
# resources).
|
|
3798
|
+
# Corresponds to the JSON property `region`
|
|
3799
|
+
# @return [String]
|
|
3800
|
+
attr_accessor :region
|
|
3801
|
+
|
|
3789
3802
|
# [Output Only] The URL for this instance group. The server generates this URL.
|
|
3790
3803
|
# Corresponds to the JSON property `selfLink`
|
|
3791
3804
|
# @return [String]
|
|
@@ -3821,6 +3834,7 @@ module Google
|
|
|
3821
3834
|
@name = args[:name] if args.key?(:name)
|
|
3822
3835
|
@named_ports = args[:named_ports] if args.key?(:named_ports)
|
|
3823
3836
|
@network = args[:network] if args.key?(:network)
|
|
3837
|
+
@region = args[:region] if args.key?(:region)
|
|
3824
3838
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
3825
3839
|
@size = args[:size] if args.key?(:size)
|
|
3826
3840
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
|
@@ -3998,6 +4012,12 @@ module Google
|
|
|
3998
4012
|
# @return [Array<Google::Apis::ComputeV1::NamedPort>]
|
|
3999
4013
|
attr_accessor :named_ports
|
|
4000
4014
|
|
|
4015
|
+
# [Output Only] The URL of the region where the managed instance group resides (
|
|
4016
|
+
# for regional resources).
|
|
4017
|
+
# Corresponds to the JSON property `region`
|
|
4018
|
+
# @return [String]
|
|
4019
|
+
attr_accessor :region
|
|
4020
|
+
|
|
4001
4021
|
# [Output Only] The URL for this managed instance group. The server defines this
|
|
4002
4022
|
# URL.
|
|
4003
4023
|
# Corresponds to the JSON property `selfLink`
|
|
@@ -4041,6 +4061,7 @@ module Google
|
|
|
4041
4061
|
@kind = args[:kind] if args.key?(:kind)
|
|
4042
4062
|
@name = args[:name] if args.key?(:name)
|
|
4043
4063
|
@named_ports = args[:named_ports] if args.key?(:named_ports)
|
|
4064
|
+
@region = args[:region] if args.key?(:region)
|
|
4044
4065
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
4045
4066
|
@target_pools = args[:target_pools] if args.key?(:target_pools)
|
|
4046
4067
|
@target_size = args[:target_size] if args.key?(:target_size)
|
|
@@ -4072,7 +4093,7 @@ module Google
|
|
|
4072
4093
|
# [Output Only] The number of instances that the managed instance group will
|
|
4073
4094
|
# attempt to create. The group attempts to create each instance only once. If
|
|
4074
4095
|
# the group fails to create any of these instances, it decreases the group's
|
|
4075
|
-
#
|
|
4096
|
+
# targetSize value accordingly.
|
|
4076
4097
|
# Corresponds to the JSON property `creatingWithoutRetries`
|
|
4077
4098
|
# @return [Fixnum]
|
|
4078
4099
|
attr_accessor :creating_without_retries
|
|
@@ -4207,7 +4228,7 @@ module Google
|
|
|
4207
4228
|
# @return [String]
|
|
4208
4229
|
attr_accessor :next_page_token
|
|
4209
4230
|
|
|
4210
|
-
# [Output Only]
|
|
4231
|
+
# [Output Only] Server-defined URL for this resource.
|
|
4211
4232
|
# Corresponds to the JSON property `selfLink`
|
|
4212
4233
|
# @return [String]
|
|
4213
4234
|
attr_accessor :self_link
|
|
@@ -5912,7 +5933,7 @@ module Google
|
|
|
5912
5933
|
# @return [String]
|
|
5913
5934
|
attr_accessor :next_page_token
|
|
5914
5935
|
|
|
5915
|
-
# [Output Only] Server-defined URL for this resource
|
|
5936
|
+
# [Output Only] Server-defined URL for this resource.
|
|
5916
5937
|
# Corresponds to the JSON property `selfLink`
|
|
5917
5938
|
# @return [String]
|
|
5918
5939
|
attr_accessor :self_link
|
|
@@ -6048,7 +6069,9 @@ module Google
|
|
|
6048
6069
|
# @return [String]
|
|
6049
6070
|
attr_accessor :target_id
|
|
6050
6071
|
|
|
6051
|
-
# [Output Only] The URL of the resource that the operation modifies.
|
|
6072
|
+
# [Output Only] The URL of the resource that the operation modifies. If creating
|
|
6073
|
+
# a persistent disk snapshot, this points to the persistent disk that the
|
|
6074
|
+
# snapshot was created from.
|
|
6052
6075
|
# Corresponds to the JSON property `targetLink`
|
|
6053
6076
|
# @return [String]
|
|
6054
6077
|
attr_accessor :target_link
|
|
@@ -6725,7 +6748,7 @@ module Google
|
|
|
6725
6748
|
class ResourceGroupReference
|
|
6726
6749
|
include Google::Apis::Core::Hashable
|
|
6727
6750
|
|
|
6728
|
-
# A URI referencing one of the
|
|
6751
|
+
# A URI referencing one of the instance groups listed in the backend service.
|
|
6729
6752
|
# Corresponds to the JSON property `group`
|
|
6730
6753
|
# @return [String]
|
|
6731
6754
|
attr_accessor :group
|
|
@@ -7264,7 +7287,7 @@ module Google
|
|
|
7264
7287
|
# @return [String]
|
|
7265
7288
|
attr_accessor :next_page_token
|
|
7266
7289
|
|
|
7267
|
-
# [Output Only] Server-defined URL for
|
|
7290
|
+
# [Output Only] Server-defined URL for this resource.
|
|
7268
7291
|
# Corresponds to the JSON property `selfLink`
|
|
7269
7292
|
# @return [String]
|
|
7270
7293
|
attr_accessor :self_link
|
|
@@ -7627,7 +7650,7 @@ module Google
|
|
|
7627
7650
|
# @return [String]
|
|
7628
7651
|
attr_accessor :kind
|
|
7629
7652
|
|
|
7630
|
-
# [Output Only] Server-defined URL for
|
|
7653
|
+
# [Output Only] Server-defined URL for this resource.
|
|
7631
7654
|
# Corresponds to the JSON property `selfLink`
|
|
7632
7655
|
# @return [String]
|
|
7633
7656
|
attr_accessor :self_link
|
|
@@ -9586,7 +9609,7 @@ module Google
|
|
|
9586
9609
|
# @return [String]
|
|
9587
9610
|
attr_accessor :next_page_token
|
|
9588
9611
|
|
|
9589
|
-
# [Output Only] Server-defined URL for
|
|
9612
|
+
# [Output Only] Server-defined URL for this resource.
|
|
9590
9613
|
# Corresponds to the JSON property `selfLink`
|
|
9591
9614
|
# @return [String]
|
|
9592
9615
|
attr_accessor :self_link
|
|
@@ -9635,7 +9658,7 @@ module Google
|
|
|
9635
9658
|
# @return [String]
|
|
9636
9659
|
attr_accessor :next_page_token
|
|
9637
9660
|
|
|
9638
|
-
# [Output Only] Server-defined URL for
|
|
9661
|
+
# [Output Only] Server-defined URL for this resource.
|
|
9639
9662
|
# Corresponds to the JSON property `selfLink`
|
|
9640
9663
|
# @return [String]
|
|
9641
9664
|
attr_accessor :self_link
|
|
@@ -10298,7 +10321,7 @@ module Google
|
|
|
10298
10321
|
# @return [String]
|
|
10299
10322
|
attr_accessor :next_page_token
|
|
10300
10323
|
|
|
10301
|
-
# [Output Only] Server-defined URL for
|
|
10324
|
+
# [Output Only] Server-defined URL for this resource.
|
|
10302
10325
|
# Corresponds to the JSON property `selfLink`
|
|
10303
10326
|
# @return [String]
|
|
10304
10327
|
attr_accessor :self_link
|