google-apis-dataproc_v1 0.61.0 → 0.63.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c721c1cb93eaff12668d366f256dad840193215bb09f06d937617313f0a7bf0a
4
- data.tar.gz: 1f9175f7d9ed1d09be8b1a2474a0e382e54f72cb7d88efbabedad1f81bf602ff
3
+ metadata.gz: b2513977eeb454b555a580c54e719208a34426961f9496d325e556a6abf24a37
4
+ data.tar.gz: 3faef4c7d727dca5bdeeba0f5a7341c91c774cab90c047690fb03e0cc817ffc2
5
5
  SHA512:
6
- metadata.gz: 0ed4c6cd253b9a4d9683f751c9e31233ff79bdd7bb61d84938b08fcf0683ce108c4aedf638874978fa77e39e02c68f74765abd4d733fc8f1ce87a295af5df7e5
7
- data.tar.gz: 7ae2567e51b62a0c88e9de91d7068440aef84225a2dc5f415dca832e853c1fdbf4633571e69514ecbb4bdd08743f2f0318dd90d00067cd89c864ee370c7f8ce6
6
+ metadata.gz: 1389c8c090543bf141e123069a03b88bbe16767536a7e56eefdfdc00ab1dc3bb8e23143c2b3e1ff750c101644f228b16a22e63b5631e59b3267933b973c49b1c
7
+ data.tar.gz: b566670aa3aea36f709847bdc02c802163390a5681b90d5cf8758f14ba78288536a91c2de0d2449903c88d64e99af25175c958560471e6209440bf02162f0e37
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-dataproc_v1
2
2
 
3
+ ### v0.63.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240209
6
+ * Regenerated using generator version 0.13.1
7
+
8
+ ### v0.62.0 (2024-01-22)
9
+
10
+ * Regenerated from discovery document revision 20240103
11
+ * Regenerated using generator version 0.13.0
12
+
3
13
  ### v0.61.0 (2023-12-17)
4
14
 
5
15
  * Regenerated from discovery document revision 20231207
@@ -58,6 +58,68 @@ module Google
58
58
  end
59
59
  end
60
60
 
61
+ # Metadata describing the Analyze operation.
62
+ class AnalyzeOperationMetadata
63
+ include Google::Apis::Core::Hashable
64
+
65
+ # Output only. name of the workload being analyzed.
66
+ # Corresponds to the JSON property `analyzedWorkloadName`
67
+ # @return [String]
68
+ attr_accessor :analyzed_workload_name
69
+
70
+ # Output only. Type of the workload being analyzed.
71
+ # Corresponds to the JSON property `analyzedWorkloadType`
72
+ # @return [String]
73
+ attr_accessor :analyzed_workload_type
74
+
75
+ # Output only. unique identifier of the workload typically generated by control
76
+ # plane. E.g. batch uuid.
77
+ # Corresponds to the JSON property `analyzedWorkloadUuid`
78
+ # @return [String]
79
+ attr_accessor :analyzed_workload_uuid
80
+
81
+ # Output only. The time when the operation was created.
82
+ # Corresponds to the JSON property `createTime`
83
+ # @return [String]
84
+ attr_accessor :create_time
85
+
86
+ # Output only. Short description of the operation.
87
+ # Corresponds to the JSON property `description`
88
+ # @return [String]
89
+ attr_accessor :description
90
+
91
+ # Output only. The time when the operation finished.
92
+ # Corresponds to the JSON property `doneTime`
93
+ # @return [String]
94
+ attr_accessor :done_time
95
+
96
+ # Output only. Labels associated with the operation.
97
+ # Corresponds to the JSON property `labels`
98
+ # @return [Hash<String,String>]
99
+ attr_accessor :labels
100
+
101
+ # Output only. Warnings encountered during operation execution.
102
+ # Corresponds to the JSON property `warnings`
103
+ # @return [Array<String>]
104
+ attr_accessor :warnings
105
+
106
+ def initialize(**args)
107
+ update!(**args)
108
+ end
109
+
110
+ # Update properties of this object
111
+ def update!(**args)
112
+ @analyzed_workload_name = args[:analyzed_workload_name] if args.key?(:analyzed_workload_name)
113
+ @analyzed_workload_type = args[:analyzed_workload_type] if args.key?(:analyzed_workload_type)
114
+ @analyzed_workload_uuid = args[:analyzed_workload_uuid] if args.key?(:analyzed_workload_uuid)
115
+ @create_time = args[:create_time] if args.key?(:create_time)
116
+ @description = args[:description] if args.key?(:description)
117
+ @done_time = args[:done_time] if args.key?(:done_time)
118
+ @labels = args[:labels] if args.key?(:labels)
119
+ @warnings = args[:warnings] if args.key?(:warnings)
120
+ end
121
+ end
122
+
61
123
  # Autoscaling Policy config associated with the cluster.
62
124
  class AutoscalingConfig
63
125
  include Google::Apis::Core::Hashable
@@ -523,27 +585,52 @@ module Google
523
585
  # For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:`
524
586
  # emailid`: An email address that represents a Google group. For example, admins@
525
587
  # example.com. domain:`domain`: The G Suite domain (primary) that represents all
526
- # the users of that domain. For example, google.com or example.com. deleted:user:
527
- # `emailid`?uid=`uniqueid`: An email address (plus unique identifier)
528
- # representing a user that has been recently deleted. For example, alice@example.
529
- # com?uid=123456789012345678901. If the user is recovered, this value reverts to
530
- # user:`emailid` and the recovered user retains the role in the binding. deleted:
531
- # serviceAccount:`emailid`?uid=`uniqueid`: An email address (plus unique
532
- # identifier) representing a service account that has been recently deleted. For
533
- # example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901.
534
- # If the service account is undeleted, this value reverts to serviceAccount:`
535
- # emailid` and the undeleted service account retains the role in the binding.
536
- # deleted:group:`emailid`?uid=`uniqueid`: An email address (plus unique
537
- # identifier) representing a Google group that has been recently deleted. For
538
- # example, admins@example.com?uid=123456789012345678901. If the group is
588
+ # the users of that domain. For example, google.com or example.com. principal://
589
+ # iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
590
+ # subject_attribute_value`: A single identity in a workforce identity pool.
591
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
592
+ # group/`group_id`: All workforce identities in a group. principalSet://iam.
593
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
594
+ # attribute_name`/`attribute_value`: All workforce identities with a specific
595
+ # attribute value. principalSet://iam.googleapis.com/locations/global/
596
+ # workforcePools/`pool_id`/*: All identities in a workforce identity pool.
597
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
598
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value`: A single
599
+ # identity in a workload identity pool. principalSet://iam.googleapis.com/
600
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
601
+ # group/`group_id`: A workload identity pool group. principalSet://iam.
602
+ # googleapis.com/projects/`project_number`/locations/global/
603
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value`:
604
+ # All identities in a workload identity pool with a certain attribute.
605
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
606
+ # workloadIdentityPools/`pool_id`/*: All identities in a workload identity pool.
607
+ # deleted:user:`emailid`?uid=`uniqueid`: An email address (plus unique
608
+ # identifier) representing a user that has been recently deleted. For example,
609
+ # alice@example.com?uid=123456789012345678901. If the user is recovered, this
610
+ # value reverts to user:`emailid` and the recovered user retains the role in the
611
+ # binding. deleted:serviceAccount:`emailid`?uid=`uniqueid`: An email address (
612
+ # plus unique identifier) representing a service account that has been recently
613
+ # deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=
614
+ # 123456789012345678901. If the service account is undeleted, this value reverts
615
+ # to serviceAccount:`emailid` and the undeleted service account retains the role
616
+ # in the binding. deleted:group:`emailid`?uid=`uniqueid`: An email address (plus
617
+ # unique identifier) representing a Google group that has been recently deleted.
618
+ # For example, admins@example.com?uid=123456789012345678901. If the group is
539
619
  # recovered, this value reverts to group:`emailid` and the recovered group
540
- # retains the role in the binding.
620
+ # retains the role in the binding. deleted:principal://iam.googleapis.com/
621
+ # locations/global/workforcePools/`pool_id`/subject/`subject_attribute_value`:
622
+ # Deleted single identity in a workforce identity pool. For example, deleted:
623
+ # principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/
624
+ # subject/my-subject-attribute-value.
541
625
  # Corresponds to the JSON property `members`
542
626
  # @return [Array<String>]
543
627
  attr_accessor :members
544
628
 
545
629
  # Role that is assigned to the list of members, or principals. For example,
546
- # roles/viewer, roles/editor, or roles/owner.
630
+ # roles/viewer, roles/editor, or roles/owner.For an overview of the IAM roles
631
+ # and permissions, see the IAM documentation (https://cloud.google.com/iam/docs/
632
+ # roles-overview). For a list of the available pre-defined roles, see here (
633
+ # https://cloud.google.com/iam/docs/understanding-roles).
547
634
  # Corresponds to the JSON property `role`
548
635
  # @return [String]
549
636
  attr_accessor :role
@@ -4475,6 +4562,44 @@ module Google
4475
4562
  end
4476
4563
  end
4477
4564
 
4565
+ #
4566
+ class RepairNodeGroupRequest
4567
+ include Google::Apis::Core::Hashable
4568
+
4569
+ # Required. Name of instances to be repaired. These instances must belong to
4570
+ # specified node pool.
4571
+ # Corresponds to the JSON property `instanceNames`
4572
+ # @return [Array<String>]
4573
+ attr_accessor :instance_names
4574
+
4575
+ # Required. Repair action to take on specified resources of the node pool.
4576
+ # Corresponds to the JSON property `repairAction`
4577
+ # @return [String]
4578
+ attr_accessor :repair_action
4579
+
4580
+ # Optional. A unique ID used to identify the request. If the server receives two
4581
+ # RepairNodeGroupRequest with the same ID, the second request is ignored and the
4582
+ # first google.longrunning.Operation created and stored in the backend is
4583
+ # returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/
4584
+ # wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z)
4585
+ # , numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
4586
+ # characters.
4587
+ # Corresponds to the JSON property `requestId`
4588
+ # @return [String]
4589
+ attr_accessor :request_id
4590
+
4591
+ def initialize(**args)
4592
+ update!(**args)
4593
+ end
4594
+
4595
+ # Update properties of this object
4596
+ def update!(**args)
4597
+ @instance_names = args[:instance_names] if args.key?(:instance_names)
4598
+ @repair_action = args[:repair_action] if args.key?(:repair_action)
4599
+ @request_id = args[:request_id] if args.key?(:request_id)
4600
+ end
4601
+ end
4602
+
4478
4603
  # Configuration for dependency repositories
4479
4604
  class RepositoryConfig
4480
4605
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DataprocV1
18
18
  # Version of the google-apis-dataproc_v1 gem
19
- GEM_VERSION = "0.61.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231207"
25
+ REVISION = "20240209"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AnalyzeOperationMetadata
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class AutoscalingConfig
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -604,6 +610,12 @@ module Google
604
610
  include Google::Apis::Core::JsonObjectSupport
605
611
  end
606
612
 
613
+ class RepairNodeGroupRequest
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
607
619
  class RepositoryConfig
608
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
621
 
@@ -864,6 +876,20 @@ module Google
864
876
  end
865
877
  end
866
878
 
879
+ class AnalyzeOperationMetadata
880
+ # @private
881
+ class Representation < Google::Apis::Core::JsonRepresentation
882
+ property :analyzed_workload_name, as: 'analyzedWorkloadName'
883
+ property :analyzed_workload_type, as: 'analyzedWorkloadType'
884
+ property :analyzed_workload_uuid, as: 'analyzedWorkloadUuid'
885
+ property :create_time, as: 'createTime'
886
+ property :description, as: 'description'
887
+ property :done_time, as: 'doneTime'
888
+ hash :labels, as: 'labels'
889
+ collection :warnings, as: 'warnings'
890
+ end
891
+ end
892
+
867
893
  class AutoscalingConfig
868
894
  # @private
869
895
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1957,6 +1983,15 @@ module Google
1957
1983
  end
1958
1984
  end
1959
1985
 
1986
+ class RepairNodeGroupRequest
1987
+ # @private
1988
+ class Representation < Google::Apis::Core::JsonRepresentation
1989
+ collection :instance_names, as: 'instanceNames'
1990
+ property :repair_action, as: 'repairAction'
1991
+ property :request_id, as: 'requestId'
1992
+ end
1993
+ end
1994
+
1960
1995
  class RepositoryConfig
1961
1996
  # @private
1962
1997
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/dataproc/
34
34
  class DataprocService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://dataproc.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://dataproc.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-dataproc_v1',
48
50
  client_version: Google::Apis::DataprocV1::GEM_VERSION)
49
51
  @batch_path = 'batch'
@@ -2045,13 +2047,13 @@ module Google
2045
2047
  # sensitive and have the following syntax:field = value AND field = value ...
2046
2048
  # where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is
2047
2049
  # a label key. value can be * to match all values. status.state can be one of
2048
- # the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, or
2049
- # UPDATING. ACTIVE contains the CREATING, UPDATING, and RUNNING states. INACTIVE
2050
- # contains the DELETING and ERROR states. clusterName is the name of the cluster
2051
- # provided at creation time. Only the logical AND operator is supported; space-
2052
- # separated items are treated as having an implicit AND operator.Example filter:
2053
- # status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND
2054
- # labels.starred = *
2050
+ # the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, UPDATING,
2051
+ # STOPPING, or STOPPED. ACTIVE contains the CREATING, UPDATING, and RUNNING
2052
+ # states. INACTIVE contains the DELETING, ERROR, STOPPING, and STOPPED states.
2053
+ # clusterName is the name of the cluster provided at creation time. Only the
2054
+ # logical AND operator is supported; space-separated items are treated as having
2055
+ # an implicit AND operator.Example filter:status.state = ACTIVE AND clusterName =
2056
+ # mycluster AND labels.env = staging AND labels.starred = *
2055
2057
  # @param [Fixnum] page_size
2056
2058
  # Optional. The standard List page size.
2057
2059
  # @param [String] page_token
@@ -2375,10 +2377,10 @@ module Google
2375
2377
  # @param [String] request_id
2376
2378
  # Optional. A unique ID used to identify the request. If the server receives two
2377
2379
  # CreateNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
2378
- # google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateNodeGroupRequests)
2379
- # with the same ID, the second request is ignored and the first google.
2380
- # longrunning.Operation created and stored in the backend is returned.
2381
- # Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/
2380
+ # google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateNodeGroupRequest) with
2381
+ # the same ID, the second request is ignored and the first google.longrunning.
2382
+ # Operation created and stored in the backend is returned.Recommendation: Set
2383
+ # this value to a UUID (https://en.wikipedia.org/wiki/
2382
2384
  # Universally_unique_identifier).The ID must contain only letters (a-z, A-Z),
2383
2385
  # numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
2384
2386
  # characters.
@@ -2445,6 +2447,40 @@ module Google
2445
2447
  execute_or_queue_command(command, &block)
2446
2448
  end
2447
2449
 
2450
+ # Repair nodes in a node group.
2451
+ # @param [String] name
2452
+ # Required. The name of the node group to resize. Format: projects/`project`/
2453
+ # regions/`region`/clusters/`cluster`/nodeGroups/`nodeGroup`
2454
+ # @param [Google::Apis::DataprocV1::RepairNodeGroupRequest] repair_node_group_request_object
2455
+ # @param [String] fields
2456
+ # Selector specifying which fields to include in a partial response.
2457
+ # @param [String] quota_user
2458
+ # Available to use for quota purposes for server-side applications. Can be any
2459
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2460
+ # @param [Google::Apis::RequestOptions] options
2461
+ # Request-specific options
2462
+ #
2463
+ # @yield [result, err] Result & error if block supplied
2464
+ # @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object
2465
+ # @yieldparam err [StandardError] error object if request failed
2466
+ #
2467
+ # @return [Google::Apis::DataprocV1::Operation]
2468
+ #
2469
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2470
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2471
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2472
+ def repair_node_group(name, repair_node_group_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2473
+ command = make_simple_command(:post, 'v1/{+name}:repair', options)
2474
+ command.request_representation = Google::Apis::DataprocV1::RepairNodeGroupRequest::Representation
2475
+ command.request_object = repair_node_group_request_object
2476
+ command.response_representation = Google::Apis::DataprocV1::Operation::Representation
2477
+ command.response_class = Google::Apis::DataprocV1::Operation
2478
+ command.params['name'] = name unless name.nil?
2479
+ command.query['fields'] = fields unless fields.nil?
2480
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2481
+ execute_or_queue_command(command, &block)
2482
+ end
2483
+
2448
2484
  # Resizes a node group in a cluster. The returned Operation.metadata is
2449
2485
  # NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/
2450
2486
  # rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata).
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataproc_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.61.0
4
+ version: 0.63.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-17 00:00:00.000000000 Z
11
+ date: 2024-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.61.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.63.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Dataproc API V1