google-api-client 0.27.2 → 0.27.3

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.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -0
  3. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  4. data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -0
  5. data/generated/google/apis/bigtableadmin_v2/representations.rb +17 -0
  6. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  7. data/generated/google/apis/cloudkms_v1.rb +4 -1
  8. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  9. data/generated/google/apis/cloudtrace_v2/classes.rb +2 -2
  10. data/generated/google/apis/compute_alpha.rb +1 -1
  11. data/generated/google/apis/compute_alpha/classes.rb +1198 -13
  12. data/generated/google/apis/compute_alpha/representations.rb +406 -0
  13. data/generated/google/apis/compute_alpha/service.rb +200 -4
  14. data/generated/google/apis/compute_beta.rb +1 -1
  15. data/generated/google/apis/compute_beta/classes.rb +23 -9
  16. data/generated/google/apis/compute_beta/representations.rb +2 -0
  17. data/generated/google/apis/compute_beta/service.rb +41 -4
  18. data/generated/google/apis/compute_v1.rb +1 -1
  19. data/generated/google/apis/compute_v1/classes.rb +65 -6
  20. data/generated/google/apis/compute_v1/representations.rb +19 -0
  21. data/generated/google/apis/compute_v1/service.rb +4 -4
  22. data/generated/google/apis/container_v1.rb +1 -1
  23. data/generated/google/apis/container_v1/classes.rb +145 -0
  24. data/generated/google/apis/container_v1/representations.rb +54 -0
  25. data/generated/google/apis/container_v1/service.rb +69 -0
  26. data/generated/google/apis/container_v1beta1.rb +1 -1
  27. data/generated/google/apis/container_v1beta1/classes.rb +177 -0
  28. data/generated/google/apis/container_v1beta1/representations.rb +70 -0
  29. data/generated/google/apis/container_v1beta1/service.rb +69 -0
  30. data/generated/google/apis/containeranalysis_v1alpha1.rb +35 -0
  31. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +2780 -0
  32. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1106 -0
  33. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +1329 -0
  34. data/generated/google/apis/containeranalysis_v1beta1.rb +35 -0
  35. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2702 -0
  36. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1152 -0
  37. data/generated/google/apis/containeranalysis_v1beta1/service.rb +932 -0
  38. data/generated/google/apis/content_v2.rb +1 -1
  39. data/generated/google/apis/content_v2/classes.rb +84 -14
  40. data/generated/google/apis/content_v2/representations.rb +24 -0
  41. data/generated/google/apis/content_v2_1.rb +1 -1
  42. data/generated/google/apis/content_v2_1/classes.rb +70 -11
  43. data/generated/google/apis/content_v2_1/representations.rb +25 -3
  44. data/generated/google/apis/dialogflow_v2.rb +1 -1
  45. data/generated/google/apis/dialogflow_v2/classes.rb +20 -20
  46. data/generated/google/apis/dialogflow_v2/service.rb +6 -6
  47. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  48. data/generated/google/apis/dialogflow_v2beta1/classes.rb +20 -20
  49. data/generated/google/apis/dialogflow_v2beta1/service.rb +6 -6
  50. data/generated/google/apis/dns_v1.rb +1 -1
  51. data/generated/google/apis/dns_v1/classes.rb +19 -10
  52. data/generated/google/apis/dns_v1beta2.rb +1 -1
  53. data/generated/google/apis/dns_v1beta2/classes.rb +31 -22
  54. data/generated/google/apis/dns_v2beta1.rb +1 -1
  55. data/generated/google/apis/dns_v2beta1/classes.rb +19 -10
  56. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  57. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
  58. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
  59. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  60. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +7 -0
  61. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
  62. data/generated/google/apis/firestore_v1.rb +1 -1
  63. data/generated/google/apis/firestore_v1/classes.rb +18 -0
  64. data/generated/google/apis/firestore_v1/representations.rb +6 -0
  65. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  66. data/generated/google/apis/firestore_v1beta1/classes.rb +18 -0
  67. data/generated/google/apis/firestore_v1beta1/representations.rb +6 -0
  68. data/generated/google/apis/fitness_v1.rb +1 -1
  69. data/generated/google/apis/fitness_v1/classes.rb +2 -1
  70. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  71. data/generated/google/apis/jobs_v3p1beta1/classes.rb +169 -0
  72. data/generated/google/apis/jobs_v3p1beta1/representations.rb +33 -0
  73. data/generated/google/apis/jobs_v3p1beta1/service.rb +32 -0
  74. data/generated/google/apis/libraryagent_v1.rb +34 -0
  75. data/generated/google/apis/libraryagent_v1/classes.rb +151 -0
  76. data/generated/google/apis/libraryagent_v1/representations.rb +86 -0
  77. data/generated/google/apis/libraryagent_v1/service.rb +265 -0
  78. data/generated/google/apis/oslogin_v1.rb +2 -2
  79. data/generated/google/apis/oslogin_v1/service.rb +1 -1
  80. data/generated/google/apis/oslogin_v1alpha.rb +2 -2
  81. data/generated/google/apis/oslogin_v1alpha/service.rb +1 -1
  82. data/generated/google/apis/oslogin_v1beta.rb +2 -2
  83. data/generated/google/apis/oslogin_v1beta/service.rb +1 -1
  84. data/generated/google/apis/remotebuildexecution_v1.rb +34 -0
  85. data/generated/google/apis/remotebuildexecution_v1/classes.rb +3858 -0
  86. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1196 -0
  87. data/generated/google/apis/remotebuildexecution_v1/service.rb +374 -0
  88. data/generated/google/apis/remotebuildexecution_v1alpha.rb +34 -0
  89. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +3709 -0
  90. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1113 -0
  91. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +400 -0
  92. data/generated/google/apis/remotebuildexecution_v2.rb +34 -0
  93. data/generated/google/apis/remotebuildexecution_v2/classes.rb +4460 -0
  94. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1431 -0
  95. data/generated/google/apis/remotebuildexecution_v2/service.rb +542 -0
  96. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  97. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -0
  98. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -0
  99. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  100. data/generated/google/apis/servicenetworking_v1beta/classes.rb +12 -0
  101. data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -0
  102. data/generated/google/apis/serviceusage_v1.rb +1 -1
  103. data/generated/google/apis/serviceusage_v1/classes.rb +12 -0
  104. data/generated/google/apis/serviceusage_v1/representations.rb +2 -0
  105. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  106. data/generated/google/apis/serviceusage_v1beta1/classes.rb +12 -0
  107. data/generated/google/apis/serviceusage_v1beta1/representations.rb +2 -0
  108. data/generated/google/apis/sheets_v4.rb +1 -1
  109. data/generated/google/apis/sheets_v4/classes.rb +4 -4
  110. data/generated/google/apis/slides_v1.rb +1 -1
  111. data/generated/google/apis/slides_v1/classes.rb +5 -5
  112. data/generated/google/apis/speech_v1.rb +1 -1
  113. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  114. data/generated/google/apis/testing_v1.rb +1 -1
  115. data/generated/google/apis/testing_v1/classes.rb +9 -0
  116. data/generated/google/apis/testing_v1/representations.rb +1 -0
  117. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  118. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +7 -0
  119. data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +2 -0
  120. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  121. data/lib/google/apis/version.rb +1 -1
  122. metadata +26 -2
@@ -8998,8 +8998,8 @@ module Google
8998
8998
  end
8999
8999
 
9000
9000
  # Deletes the specified instance template. Deleting an instance template is
9001
- # permanent and cannot be undone. It's not possible to delete templates which
9002
- # are in use by an instance group.
9001
+ # permanent and cannot be undone. It is not possible to delete templates that
9002
+ # are already in use by a managed instance group.
9003
9003
  # @param [String] project
9004
9004
  # Project ID for this request.
9005
9005
  # @param [String] instance_template
@@ -9173,7 +9173,7 @@ module Google
9173
9173
  end
9174
9174
 
9175
9175
  # Retrieves a list of instance templates that are contained within the specified
9176
- # project and zone.
9176
+ # project.
9177
9177
  # @param [String] project
9178
9178
  # Project ID for this request.
9179
9179
  # @param [String] filter
@@ -15426,6 +15426,60 @@ module Google
15426
15426
  execute_or_queue_command(command, &block)
15427
15427
  end
15428
15428
 
15429
+ # Sets the autoscaling policy of the node group.
15430
+ # @param [String] project
15431
+ # Project ID for this request.
15432
+ # @param [String] zone
15433
+ # The name of the zone for this request.
15434
+ # @param [String] node_group
15435
+ # Name of the NodeGroup resource to update.
15436
+ # @param [Google::Apis::ComputeAlpha::NodeGroupsSetAutoscalingPolicyRequest] node_groups_set_autoscaling_policy_request_object
15437
+ # @param [String] request_id
15438
+ # An optional request ID to identify requests. Specify a unique request ID so
15439
+ # that if you must retry your request, the server will know to ignore the
15440
+ # request if it has already been completed.
15441
+ # For example, consider a situation where you make an initial request and the
15442
+ # request times out. If you make the request again with the same request ID, the
15443
+ # server can check if original operation with the same request ID was received,
15444
+ # and if so, will ignore the second request. This prevents clients from
15445
+ # accidentally creating duplicate commitments.
15446
+ # The request ID must be a valid UUID with the exception that zero UUID is not
15447
+ # supported (00000000-0000-0000-0000-000000000000).
15448
+ # @param [String] fields
15449
+ # Selector specifying which fields to include in a partial response.
15450
+ # @param [String] quota_user
15451
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
15452
+ # characters.
15453
+ # @param [String] user_ip
15454
+ # Deprecated. Please use quotaUser instead.
15455
+ # @param [Google::Apis::RequestOptions] options
15456
+ # Request-specific options
15457
+ #
15458
+ # @yield [result, err] Result & error if block supplied
15459
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
15460
+ # @yieldparam err [StandardError] error object if request failed
15461
+ #
15462
+ # @return [Google::Apis::ComputeAlpha::Operation]
15463
+ #
15464
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15465
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15466
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
15467
+ def set_node_group_autoscaling_policy(project, zone, node_group, node_groups_set_autoscaling_policy_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15468
+ command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/setAutoscalingPolicy', options)
15469
+ command.request_representation = Google::Apis::ComputeAlpha::NodeGroupsSetAutoscalingPolicyRequest::Representation
15470
+ command.request_object = node_groups_set_autoscaling_policy_request_object
15471
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
15472
+ command.response_class = Google::Apis::ComputeAlpha::Operation
15473
+ command.params['project'] = project unless project.nil?
15474
+ command.params['zone'] = zone unless zone.nil?
15475
+ command.params['nodeGroup'] = node_group unless node_group.nil?
15476
+ command.query['requestId'] = request_id unless request_id.nil?
15477
+ command.query['fields'] = fields unless fields.nil?
15478
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
15479
+ command.query['userIp'] = user_ip unless user_ip.nil?
15480
+ execute_or_queue_command(command, &block)
15481
+ end
15482
+
15429
15483
  # Sets the access control policy on the specified resource. Replaces any
15430
15484
  # existing policy.
15431
15485
  # @param [String] project
@@ -15475,7 +15529,7 @@ module Google
15475
15529
  # @param [String] zone
15476
15530
  # The name of the zone for this request.
15477
15531
  # @param [String] node_group
15478
- # Name of the NodeGroup resource to delete.
15532
+ # Name of the NodeGroup resource to update.
15479
15533
  # @param [Google::Apis::ComputeAlpha::NodeGroupsSetNodeTemplateRequest] node_groups_set_node_template_request_object
15480
15534
  # @param [String] request_id
15481
15535
  # An optional request ID to identify requests. Specify a unique request ID so
@@ -18755,6 +18809,46 @@ module Google
18755
18809
  execute_or_queue_command(command, &block)
18756
18810
  end
18757
18811
 
18812
+ # Gets the access control policy for a resource. May be empty if no such policy
18813
+ # or resource exists.
18814
+ # @param [String] project
18815
+ # Project ID for this request.
18816
+ # @param [String] region
18817
+ # The name of the region for this request.
18818
+ # @param [String] resource
18819
+ # Name or id of the resource for this request.
18820
+ # @param [String] fields
18821
+ # Selector specifying which fields to include in a partial response.
18822
+ # @param [String] quota_user
18823
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
18824
+ # characters.
18825
+ # @param [String] user_ip
18826
+ # Deprecated. Please use quotaUser instead.
18827
+ # @param [Google::Apis::RequestOptions] options
18828
+ # Request-specific options
18829
+ #
18830
+ # @yield [result, err] Result & error if block supplied
18831
+ # @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
18832
+ # @yieldparam err [StandardError] error object if request failed
18833
+ #
18834
+ # @return [Google::Apis::ComputeAlpha::Policy]
18835
+ #
18836
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18837
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18838
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18839
+ def get_region_disk_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18840
+ command = make_simple_command(:get, '{project}/regions/{region}/disks/{resource}/getIamPolicy', options)
18841
+ command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
18842
+ command.response_class = Google::Apis::ComputeAlpha::Policy
18843
+ command.params['project'] = project unless project.nil?
18844
+ command.params['region'] = region unless region.nil?
18845
+ command.params['resource'] = resource unless resource.nil?
18846
+ command.query['fields'] = fields unless fields.nil?
18847
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18848
+ command.query['userIp'] = user_ip unless user_ip.nil?
18849
+ execute_or_queue_command(command, &block)
18850
+ end
18851
+
18758
18852
  # Creates a persistent regional disk in the specified project using the data
18759
18853
  # included in the request.
18760
18854
  # @param [String] project
@@ -18992,6 +19086,49 @@ module Google
18992
19086
  execute_or_queue_command(command, &block)
18993
19087
  end
18994
19088
 
19089
+ # Sets the access control policy on the specified resource. Replaces any
19090
+ # existing policy.
19091
+ # @param [String] project
19092
+ # Project ID for this request.
19093
+ # @param [String] region
19094
+ # The name of the region for this request.
19095
+ # @param [String] resource
19096
+ # Name or id of the resource for this request.
19097
+ # @param [Google::Apis::ComputeAlpha::RegionSetPolicyRequest] region_set_policy_request_object
19098
+ # @param [String] fields
19099
+ # Selector specifying which fields to include in a partial response.
19100
+ # @param [String] quota_user
19101
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
19102
+ # characters.
19103
+ # @param [String] user_ip
19104
+ # Deprecated. Please use quotaUser instead.
19105
+ # @param [Google::Apis::RequestOptions] options
19106
+ # Request-specific options
19107
+ #
19108
+ # @yield [result, err] Result & error if block supplied
19109
+ # @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
19110
+ # @yieldparam err [StandardError] error object if request failed
19111
+ #
19112
+ # @return [Google::Apis::ComputeAlpha::Policy]
19113
+ #
19114
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19115
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19116
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19117
+ def set_region_disk_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19118
+ command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/setIamPolicy', options)
19119
+ command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation
19120
+ command.request_object = region_set_policy_request_object
19121
+ command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
19122
+ command.response_class = Google::Apis::ComputeAlpha::Policy
19123
+ command.params['project'] = project unless project.nil?
19124
+ command.params['region'] = region unless region.nil?
19125
+ command.params['resource'] = resource unless resource.nil?
19126
+ command.query['fields'] = fields unless fields.nil?
19127
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19128
+ command.query['userIp'] = user_ip unless user_ip.nil?
19129
+ execute_or_queue_command(command, &block)
19130
+ end
19131
+
18995
19132
  # Sets the labels on the target regional disk.
18996
19133
  # @param [String] project
18997
19134
  # Project ID for this request.
@@ -19565,6 +19702,65 @@ module Google
19565
19702
  execute_or_queue_command(command, &block)
19566
19703
  end
19567
19704
 
19705
+ # Creates instances with per-instance configs in this regional managed instance
19706
+ # group. Instances are created using the current instance template. The create
19707
+ # instances operation is marked DONE if the createInstances request is
19708
+ # successful. The underlying actions take additional time. You must separately
19709
+ # verify the status of the creating or actions with the listmanagedinstances
19710
+ # method.
19711
+ # @param [String] project
19712
+ # Project ID for this request.
19713
+ # @param [String] region
19714
+ # The name of the region where the managed instance group is located. It should
19715
+ # conform to RFC1035.
19716
+ # @param [String] instance_group_manager
19717
+ # The name of the managed instance group. It should conform to RFC1035.
19718
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersCreateInstancesRequest] region_instance_group_managers_create_instances_request_object
19719
+ # @param [String] request_id
19720
+ # An optional request ID to identify requests. Specify a unique request ID so
19721
+ # that if you must retry your request, the server will know to ignore the
19722
+ # request if it has already been completed.
19723
+ # For example, consider a situation where you make an initial request and the
19724
+ # request times out. If you make the request again with the same request ID, the
19725
+ # server can check if original operation with the same request ID was received,
19726
+ # and if so, will ignore the second request.
19727
+ # The request ID must be a valid UUID with the exception that zero UUID is not
19728
+ # supported (00000000-0000-0000-0000-000000000000).
19729
+ # @param [String] fields
19730
+ # Selector specifying which fields to include in a partial response.
19731
+ # @param [String] quota_user
19732
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
19733
+ # characters.
19734
+ # @param [String] user_ip
19735
+ # Deprecated. Please use quotaUser instead.
19736
+ # @param [Google::Apis::RequestOptions] options
19737
+ # Request-specific options
19738
+ #
19739
+ # @yield [result, err] Result & error if block supplied
19740
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
19741
+ # @yieldparam err [StandardError] error object if request failed
19742
+ #
19743
+ # @return [Google::Apis::ComputeAlpha::Operation]
19744
+ #
19745
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19746
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19747
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19748
+ def create_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19749
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances', options)
19750
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersCreateInstancesRequest::Representation
19751
+ command.request_object = region_instance_group_managers_create_instances_request_object
19752
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
19753
+ command.response_class = Google::Apis::ComputeAlpha::Operation
19754
+ command.params['project'] = project unless project.nil?
19755
+ command.params['region'] = region unless region.nil?
19756
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
19757
+ command.query['requestId'] = request_id unless request_id.nil?
19758
+ command.query['fields'] = fields unless fields.nil?
19759
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19760
+ command.query['userIp'] = user_ip unless user_ip.nil?
19761
+ execute_or_queue_command(command, &block)
19762
+ end
19763
+
19568
19764
  # Deletes the specified managed instance group and all of the instances in that
19569
19765
  # group.
19570
19766
  # @param [String] project
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeBeta
27
27
  VERSION = 'Beta'
28
- REVISION = '20181130'
28
+ REVISION = '20181217'
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'
@@ -33,8 +33,10 @@ module Google
33
33
  attr_accessor :accelerator_count
34
34
 
35
35
  # Full or partial URL of the accelerator type resource to attach to this
36
- # instance. If you are creating an instance template, specify only the
37
- # accelerator name.
36
+ # instance. For example: projects/my-project/zones/us-central1-c/
37
+ # acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template,
38
+ # specify only the accelerator name. See GPUs on Compute Engine for a full list
39
+ # of accelerator types.
38
40
  # Corresponds to the JSON property `acceleratorType`
39
41
  # @return [String]
40
42
  attr_accessor :accelerator_type
@@ -1598,7 +1600,7 @@ module Google
1598
1600
  # instance. This name can be used to reference the device for mounting, resizing,
1599
1601
  # and so on, from within the instance.
1600
1602
  # If not specified, the server chooses a default device name to apply to this
1601
- # disk, in the form persistent-disks-x, where x is a number assigned by Google
1603
+ # disk, in the form persistent-disk-x, where x is a number assigned by Google
1602
1604
  # Compute Engine. This field is only applicable for persistent disks.
1603
1605
  # Corresponds to the JSON property `deviceName`
1604
1606
  # @return [String]
@@ -2513,7 +2515,7 @@ module Google
2513
2515
  class AutoscalingPolicyLoadBalancingUtilization
2514
2516
  include Google::Apis::Core::Hashable
2515
2517
 
2516
- # Fraction of backend capacity utilization (set in HTTP(s) load balancing
2518
+ # Fraction of backend capacity utilization (set in HTTP(S) load balancing
2517
2519
  # configuration) that autoscaler should maintain. Must be a positive float value.
2518
2520
  # If not defined, the default is 0.8.
2519
2521
  # Corresponds to the JSON property `utilizationTarget`
@@ -11384,8 +11386,7 @@ module Google
11384
11386
  attr_accessor :labels
11385
11387
 
11386
11388
  # Type of link requested. This field indicates speed of each of the links in the
11387
- # bundle, not the entire bundle. Only 10G per link is allowed for a dedicated
11388
- # interconnect. Options: Ethernet_10G_LR
11389
+ # bundle, not the entire bundle.
11389
11390
  # Corresponds to the JSON property `linkType`
11390
11391
  # @return [String]
11391
11392
  attr_accessor :link_type
@@ -17661,6 +17662,12 @@ module Google
17661
17662
  # @return [String]
17662
17663
  attr_accessor :metric
17663
17664
 
17665
+ # [Output Only] Owning resource. This is the resource on which this quota is
17666
+ # applied.
17667
+ # Corresponds to the JSON property `owner`
17668
+ # @return [String]
17669
+ attr_accessor :owner
17670
+
17664
17671
  # [Output Only] Current usage of this metric.
17665
17672
  # Corresponds to the JSON property `usage`
17666
17673
  # @return [Float]
@@ -17674,6 +17681,7 @@ module Google
17674
17681
  def update!(**args)
17675
17682
  @limit = args[:limit] if args.key?(:limit)
17676
17683
  @metric = args[:metric] if args.key?(:metric)
17684
+ @owner = args[:owner] if args.key?(:owner)
17677
17685
  @usage = args[:usage] if args.key?(:usage)
17678
17686
  end
17679
17687
  end
@@ -19293,6 +19301,11 @@ module Google
19293
19301
  # @return [Hash<String,String>]
19294
19302
  attr_accessor :labels
19295
19303
 
19304
+ # GCS bucket storage location of the auto snapshot (regional or multi-regional).
19305
+ # Corresponds to the JSON property `storageLocations`
19306
+ # @return [Array<String>]
19307
+ attr_accessor :storage_locations
19308
+
19296
19309
  def initialize(**args)
19297
19310
  update!(**args)
19298
19311
  end
@@ -19301,6 +19314,7 @@ module Google
19301
19314
  def update!(**args)
19302
19315
  @guest_flush = args[:guest_flush] if args.key?(:guest_flush)
19303
19316
  @labels = args[:labels] if args.key?(:labels)
19317
+ @storage_locations = args[:storage_locations] if args.key?(:storage_locations)
19304
19318
  end
19305
19319
  end
19306
19320
 
@@ -21576,7 +21590,7 @@ module Google
21576
21590
  class ShieldedVmIdentity
21577
21591
  include Google::Apis::Core::Hashable
21578
21592
 
21579
- # A Shielded VM Identity Entry.
21593
+ # A Shielded Instance Identity Entry.
21580
21594
  # Corresponds to the JSON property `encryptionKey`
21581
21595
  # @return [Google::Apis::ComputeBeta::ShieldedVmIdentityEntry]
21582
21596
  attr_accessor :encryption_key
@@ -21587,7 +21601,7 @@ module Google
21587
21601
  # @return [String]
21588
21602
  attr_accessor :kind
21589
21603
 
21590
- # A Shielded VM Identity Entry.
21604
+ # A Shielded Instance Identity Entry.
21591
21605
  # Corresponds to the JSON property `signingKey`
21592
21606
  # @return [Google::Apis::ComputeBeta::ShieldedVmIdentityEntry]
21593
21607
  attr_accessor :signing_key
@@ -21604,7 +21618,7 @@ module Google
21604
21618
  end
21605
21619
  end
21606
21620
 
21607
- # A Shielded VM Identity Entry.
21621
+ # A Shielded Instance Identity Entry.
21608
21622
  class ShieldedVmIdentityEntry
21609
21623
  include Google::Apis::Core::Hashable
21610
21624
 
@@ -8232,6 +8232,7 @@ module Google
8232
8232
  class Representation < Google::Apis::Core::JsonRepresentation
8233
8233
  property :limit, as: 'limit'
8234
8234
  property :metric, as: 'metric'
8235
+ property :owner, as: 'owner'
8235
8236
  property :usage, as: 'usage'
8236
8237
  end
8237
8238
  end
@@ -8694,6 +8695,7 @@ module Google
8694
8695
  class Representation < Google::Apis::Core::JsonRepresentation
8695
8696
  property :guest_flush, as: 'guestFlush'
8696
8697
  hash :labels, as: 'labels'
8698
+ collection :storage_locations, as: 'storageLocations'
8697
8699
  end
8698
8700
  end
8699
8701
 
@@ -8137,8 +8137,8 @@ module Google
8137
8137
  end
8138
8138
 
8139
8139
  # Deletes the specified instance template. Deleting an instance template is
8140
- # permanent and cannot be undone. It's not possible to delete templates which
8141
- # are in use by an instance group.
8140
+ # permanent and cannot be undone. It is not possible to delete templates that
8141
+ # are already in use by a managed instance group.
8142
8142
  # @param [String] project
8143
8143
  # Project ID for this request.
8144
8144
  # @param [String] instance_template
@@ -8312,7 +8312,7 @@ module Google
8312
8312
  end
8313
8313
 
8314
8314
  # Retrieves a list of instance templates that are contained within the specified
8315
- # project and zone.
8315
+ # project.
8316
8316
  # @param [String] project
8317
8317
  # Project ID for this request.
8318
8318
  # @param [String] filter
@@ -11573,6 +11573,43 @@ module Google
11573
11573
  execute_or_queue_command(command, &block)
11574
11574
  end
11575
11575
 
11576
+ # Gets the access control policy for a resource. May be empty if no such policy
11577
+ # or resource exists.
11578
+ # @param [String] project
11579
+ # Project ID for this request.
11580
+ # @param [String] resource
11581
+ # Name or id of the resource for this request.
11582
+ # @param [String] fields
11583
+ # Selector specifying which fields to include in a partial response.
11584
+ # @param [String] quota_user
11585
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
11586
+ # characters.
11587
+ # @param [String] user_ip
11588
+ # Deprecated. Please use quotaUser instead.
11589
+ # @param [Google::Apis::RequestOptions] options
11590
+ # Request-specific options
11591
+ #
11592
+ # @yield [result, err] Result & error if block supplied
11593
+ # @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
11594
+ # @yieldparam err [StandardError] error object if request failed
11595
+ #
11596
+ # @return [Google::Apis::ComputeBeta::Policy]
11597
+ #
11598
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11599
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11600
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11601
+ def get_license_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
11602
+ command = make_simple_command(:get, '{project}/global/licenses/{resource}/getIamPolicy', options)
11603
+ command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
11604
+ command.response_class = Google::Apis::ComputeBeta::Policy
11605
+ command.params['project'] = project unless project.nil?
11606
+ command.params['resource'] = resource unless resource.nil?
11607
+ command.query['fields'] = fields unless fields.nil?
11608
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11609
+ command.query['userIp'] = user_ip unless user_ip.nil?
11610
+ execute_or_queue_command(command, &block)
11611
+ end
11612
+
11576
11613
  # Create a License resource in the specified project.
11577
11614
  # @param [String] project
11578
11615
  # Project ID for this request.
@@ -13605,7 +13642,7 @@ module Google
13605
13642
  # @param [String] zone
13606
13643
  # The name of the zone for this request.
13607
13644
  # @param [String] node_group
13608
- # Name of the NodeGroup resource to delete.
13645
+ # Name of the NodeGroup resource to update.
13609
13646
  # @param [Google::Apis::ComputeBeta::NodeGroupsSetNodeTemplateRequest] node_groups_set_node_template_request_object
13610
13647
  # @param [String] request_id
13611
13648
  # An optional request ID to identify requests. Specify a unique request ID so