Skip to content

Commit

Permalink
Add fields to profile update mask (via synth). (#9000)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and busunkim96 committed Aug 9, 2019
1 parent 5c9bb42 commit e292a0d
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -546,13 +546,33 @@ def update_profile(
- employment\_records
- education\_records
- skills
- projects
- activities
- publications
- patents
- certifications
- recruiting\_notes
- custom\_attributes
- group\_id
- external\_system
- source\_note
- primary\_responsibilities
- citizenships
- work\_authorizations
- employee\_types
- language\_code
- qualification\_summary
- allowed\_contact\_types
- preferred\_contact\_types
- contact\_availability
- language\_fluencies
- work\_preference
- industry\_experiences
- work\_environment\_experiences
- work\_availability
- security\_clearances
- references
- assessments
- interviews
If a dict is provided, it must be of the same form as the protobuf
message :class:`~google.cloud.talent_v4beta1.types.FieldMask`
Expand Down
23 changes: 21 additions & 2 deletions talent/google/cloud/talent_v4beta1/proto/profile_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ message UpdateProfileRequest {
// A full update is performed if it is unset.
//
// Valid values are:
//
// * external_id
// * source
// * uri
Expand All @@ -185,13 +184,33 @@ message UpdateProfileRequest {
// * employment_records
// * education_records
// * skills
// * projects
// * activities
// * publications
// * patents
// * certifications
// * recruiting_notes
// * custom_attributes
// * group_id
// * external_system
// * source_note
// * primary_responsibilities
// * citizenships
// * work_authorizations
// * employee_types
// * language_code
// * qualification_summary
// * allowed_contact_types
// * preferred_contact_types
// * contact_availability
// * language_fluencies
// * work_preference
// * industry_experiences
// * work_environment_experiences
// * work_availability
// * security_clearances
// * references
// * assessments
// * interviews
google.protobuf.FieldMask update_mask = 2;
}

Expand Down
23 changes: 16 additions & 7 deletions talent/google/cloud/talent_v4beta1/proto/profile_service_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions talent/google/cloud/talent_v4beta1/proto/tenant.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ syntax = "proto3";

package google.cloud.talent.v4beta1;

import "google/api/annotations.proto";
import "google/protobuf/timestamp.proto";

option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent";
option java_multiple_files = true;
option java_outer_classname = "TenantResourceProto";
Expand Down
18 changes: 13 additions & 5 deletions talent/google/cloud/talent_v4beta1/proto/tenant_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions talent/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-08-07T12:36:04.122564Z",
"updateTime": "2019-08-09T12:36:27.871973Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.32.1",
"dockerImage": "googleapis/artman@sha256:a684d40ba9a4e15946f5f2ca6b4bd9fe301192f522e9de4fff622118775f309b"
"version": "0.33.0",
"dockerImage": "googleapis/artman@sha256:c6231efb525569736226b1f7af7565dbc84248efafb3692a5bb1d2d8a7975d53"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "6d29882872298c8bfbaef33bd69bfca275c4d2eb",
"internalRef": "262019251"
"sha": "8d3e3cba37e3fe136ea21f8b2237998387c73455",
"internalRef": "262392165"
}
},
{
Expand Down

0 comments on commit e292a0d

Please sign in to comment.