google-cloud-talent-v4 0.12.2 → 1.0.0
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/README.md +1 -1
- data/lib/google/cloud/talent/v4/common_pb.rb +1 -1
- data/lib/google/cloud/talent/v4/company_pb.rb +1 -1
- data/lib/google/cloud/talent/v4/company_service/client.rb +13 -5
- data/lib/google/cloud/talent/v4/company_service/rest/client.rb +13 -5
- data/lib/google/cloud/talent/v4/company_service_pb.rb +1 -1
- data/lib/google/cloud/talent/v4/completion/client.rb +5 -1
- data/lib/google/cloud/talent/v4/completion/rest/client.rb +5 -1
- data/lib/google/cloud/talent/v4/completion_service_pb.rb +1 -1
- data/lib/google/cloud/talent/v4/event_pb.rb +1 -1
- data/lib/google/cloud/talent/v4/event_service/client.rb +5 -1
- data/lib/google/cloud/talent/v4/event_service/rest/client.rb +5 -1
- data/lib/google/cloud/talent/v4/event_service_pb.rb +1 -1
- data/lib/google/cloud/talent/v4/filters_pb.rb +1 -1
- data/lib/google/cloud/talent/v4/job_pb.rb +1 -1
- data/lib/google/cloud/talent/v4/job_service/client.rb +23 -10
- data/lib/google/cloud/talent/v4/job_service/operations.rb +13 -5
- data/lib/google/cloud/talent/v4/job_service/rest/client.rb +23 -10
- data/lib/google/cloud/talent/v4/job_service/rest/operations.rb +11 -4
- data/lib/google/cloud/talent/v4/job_service_pb.rb +1 -1
- data/lib/google/cloud/talent/v4/tenant_pb.rb +1 -1
- data/lib/google/cloud/talent/v4/tenant_service/client.rb +13 -5
- data/lib/google/cloud/talent/v4/tenant_service/rest/client.rb +13 -5
- data/lib/google/cloud/talent/v4/tenant_service_pb.rb +1 -1
- data/lib/google/cloud/talent/v4/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +4 -116
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4cc59b07745d03349c6712d365b85091eb9ad3faacbf78f5c6a0bdcaa2a7c4f3
|
|
4
|
+
data.tar.gz: fcf74d756d1388c29b0635a259fe3ec593bb16c1727d5db8af053f280f0decde
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 27178d2414ae52041784aa7ca832b663b575486172e97c8f4e97cc7b51415c88c8bad32d2facf83a8e9981a2c109ee0bf7e34bbf49305886e2b0901384fbc724
|
|
7
|
+
data.tar.gz: b0b448632455fdae21d249825d298c7cb32148d4fc75901c182db1916023737ed982542c27dc01fe9e992c6c014840cff45c71ace7f318c50de71f2b47d6ef4a
|
data/README.md
CHANGED
|
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
|
76
76
|
|
|
77
77
|
## Supported Ruby Versions
|
|
78
78
|
|
|
79
|
-
This library is supported on Ruby 2.
|
|
79
|
+
This library is supported on Ruby 2.7+.
|
|
80
80
|
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
|
@@ -12,7 +12,7 @@ require 'google/type/money_pb'
|
|
|
12
12
|
require 'google/type/postal_address_pb'
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
descriptor_data = "\n#google/cloud/talent/v4/common.proto\x12\x16google.cloud.talent.v4\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\x1a\x17google/type/money.proto\x1a google/type/postal_address.proto\"n\n\x0eTimestampRange\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb2\x03\n\x08Location\x12\x44\n\rlocation_type\x18\x01 \x01(\x0e\x32-.google.cloud.talent.v4.Location.LocationType\x12\x32\n\x0epostal_address\x18\x02 \x01(\x0b\x32\x1a.google.type.PostalAddress\x12$\n\x07lat_lng\x18\x03 \x01(\x0b\x32\x13.google.type.LatLng\x12\x14\n\x0cradius_miles\x18\x04 \x01(\x01\"\xef\x01\n\x0cLocationType\x12\x1d\n\x19LOCATION_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43OUNTRY\x10\x01\x12\x17\n\x13\x41\x44MINISTRATIVE_AREA\x10\x02\x12\x1b\n\x17SUB_ADMINISTRATIVE_AREA\x10\x03\x12\x0c\n\x08LOCALITY\x10\x04\x12\x0f\n\x0bPOSTAL_CODE\x10\x05\x12\x10\n\x0cSUB_LOCALITY\x10\x06\x12\x12\n\x0eSUB_LOCALITY_1\x10\x07\x12\x12\n\x0eSUB_LOCALITY_2\x10\x08\x12\x10\n\x0cNEIGHBORHOOD\x10\t\x12\x12\n\x0eSTREET_ADDRESS\x10\n\"\x9a\x01\n\x0fRequestMetadata\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x0f\n\x07user_id\x18\x03 \x01(\t\x12\x19\n\x11\x61llow_missing_ids\x18\x04 \x01(\x08\x12\x37\n\x0b\x64\x65vice_info\x18\x05 \x01(\x0b\x32\".google.cloud.talent.v4.DeviceInfo\"&\n\x10ResponseMetadata\x12\x12\n\nrequest_id\x18\x01 \x01(\t\"\xca\x01\n\nDeviceInfo\x12\x42\n\x0b\x64\x65vice_type\x18\x01 \x01(\x0e\x32-.google.cloud.talent.v4.DeviceInfo.DeviceType\x12\n\n\x02id\x18\x02 \x01(\t\"l\n\nDeviceType\x12\x1b\n\x17\x44\x45VICE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03WEB\x10\x01\x12\x0e\n\nMOBILE_WEB\x10\x02\x12\x0b\n\x07\x41NDROID\x10\x03\x12\x07\n\x03IOS\x10\x04\x12\x07\n\x03\x42OT\x10\x05\x12\t\n\x05OTHER\x10\x06\"m\n\x0f\x43ustomAttribute\x12\x15\n\rstring_values\x18\x01 \x03(\t\x12\x13\n\x0blong_values\x18\x02 \x03(\x03\x12\x12\n\nfilterable\x18\x03 \x01(\x08\x12\x1a\n\x12keyword_searchable\x18\x04 \x01(\x08\"W\n\x12SpellingCorrection\x12\x11\n\tcorrected\x18\x01 \x01(\x08\x12\x16\n\x0e\x63orrected_text\x18\x02 \x01(\t\x12\x16\n\x0e\x63orrected_html\x18\x03 \x01(\t\"\
|
|
15
|
+
descriptor_data = "\n#google/cloud/talent/v4/common.proto\x12\x16google.cloud.talent.v4\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\x1a\x17google/type/money.proto\x1a google/type/postal_address.proto\"n\n\x0eTimestampRange\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb2\x03\n\x08Location\x12\x44\n\rlocation_type\x18\x01 \x01(\x0e\x32-.google.cloud.talent.v4.Location.LocationType\x12\x32\n\x0epostal_address\x18\x02 \x01(\x0b\x32\x1a.google.type.PostalAddress\x12$\n\x07lat_lng\x18\x03 \x01(\x0b\x32\x13.google.type.LatLng\x12\x14\n\x0cradius_miles\x18\x04 \x01(\x01\"\xef\x01\n\x0cLocationType\x12\x1d\n\x19LOCATION_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43OUNTRY\x10\x01\x12\x17\n\x13\x41\x44MINISTRATIVE_AREA\x10\x02\x12\x1b\n\x17SUB_ADMINISTRATIVE_AREA\x10\x03\x12\x0c\n\x08LOCALITY\x10\x04\x12\x0f\n\x0bPOSTAL_CODE\x10\x05\x12\x10\n\x0cSUB_LOCALITY\x10\x06\x12\x12\n\x0eSUB_LOCALITY_1\x10\x07\x12\x12\n\x0eSUB_LOCALITY_2\x10\x08\x12\x10\n\x0cNEIGHBORHOOD\x10\t\x12\x12\n\x0eSTREET_ADDRESS\x10\n\"\x9a\x01\n\x0fRequestMetadata\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x0f\n\x07user_id\x18\x03 \x01(\t\x12\x19\n\x11\x61llow_missing_ids\x18\x04 \x01(\x08\x12\x37\n\x0b\x64\x65vice_info\x18\x05 \x01(\x0b\x32\".google.cloud.talent.v4.DeviceInfo\"&\n\x10ResponseMetadata\x12\x12\n\nrequest_id\x18\x01 \x01(\t\"\xca\x01\n\nDeviceInfo\x12\x42\n\x0b\x64\x65vice_type\x18\x01 \x01(\x0e\x32-.google.cloud.talent.v4.DeviceInfo.DeviceType\x12\n\n\x02id\x18\x02 \x01(\t\"l\n\nDeviceType\x12\x1b\n\x17\x44\x45VICE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03WEB\x10\x01\x12\x0e\n\nMOBILE_WEB\x10\x02\x12\x0b\n\x07\x41NDROID\x10\x03\x12\x07\n\x03IOS\x10\x04\x12\x07\n\x03\x42OT\x10\x05\x12\t\n\x05OTHER\x10\x06\"m\n\x0f\x43ustomAttribute\x12\x15\n\rstring_values\x18\x01 \x03(\t\x12\x13\n\x0blong_values\x18\x02 \x03(\x03\x12\x12\n\nfilterable\x18\x03 \x01(\x08\x12\x1a\n\x12keyword_searchable\x18\x04 \x01(\x08\"W\n\x12SpellingCorrection\x12\x11\n\tcorrected\x18\x01 \x01(\x08\x12\x16\n\x0e\x63orrected_text\x18\x02 \x01(\t\x12\x16\n\x0e\x63orrected_html\x18\x03 \x01(\t\"\x88\t\n\x10\x43ompensationInfo\x12K\n\x07\x65ntries\x18\x01 \x03(\x0b\x32:.google.cloud.talent.v4.CompensationInfo.CompensationEntry\x12k\n\"annualized_base_compensation_range\x18\x02 \x01(\x0b\x32:.google.cloud.talent.v4.CompensationInfo.CompensationRangeB\x03\xe0\x41\x03\x12l\n#annualized_total_compensation_range\x18\x03 \x01(\x0b\x32:.google.cloud.talent.v4.CompensationInfo.CompensationRangeB\x03\xe0\x41\x03\x1a\x83\x03\n\x11\x43ompensationEntry\x12G\n\x04type\x18\x01 \x01(\x0e\x32\x39.google.cloud.talent.v4.CompensationInfo.CompensationType\x12G\n\x04unit\x18\x02 \x01(\x0e\x32\x39.google.cloud.talent.v4.CompensationInfo.CompensationUnit\x12$\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x12.google.type.MoneyH\x00\x12K\n\x05range\x18\x04 \x01(\x0b\x32:.google.cloud.talent.v4.CompensationInfo.CompensationRangeH\x00\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12=\n\x17\x65xpected_units_per_year\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x15\n\x13\x63ompensation_amount\x1ao\n\x11\x43ompensationRange\x12,\n\x10max_compensation\x18\x02 \x01(\x0b\x32\x12.google.type.Money\x12,\n\x10min_compensation\x18\x01 \x01(\x0b\x32\x12.google.type.Money\"\xb5\x01\n\x10\x43ompensationType\x12!\n\x1d\x43OMPENSATION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42\x41SE\x10\x01\x12\t\n\x05\x42ONUS\x10\x02\x12\x11\n\rSIGNING_BONUS\x10\x03\x12\n\n\x06\x45QUITY\x10\x04\x12\x12\n\x0ePROFIT_SHARING\x10\x05\x12\x0f\n\x0b\x43OMMISSIONS\x10\x06\x12\x08\n\x04TIPS\x10\x07\x12\x1b\n\x17OTHER_COMPENSATION_TYPE\x10\x08\"\x9c\x01\n\x10\x43ompensationUnit\x12!\n\x1d\x43OMPENSATION_UNIT_UNSPECIFIED\x10\x00\x12\n\n\x06HOURLY\x10\x01\x12\t\n\x05\x44\x41ILY\x10\x02\x12\n\n\x06WEEKLY\x10\x03\x12\x0b\n\x07MONTHLY\x10\x04\x12\n\n\x06YEARLY\x10\x05\x12\x0c\n\x08ONE_TIME\x10\x06\x12\x1b\n\x17OTHER_COMPENSATION_UNIT\x10\x07\"\xc7\x03\n\x16\x42\x61tchOperationMetadata\x12\x43\n\x05state\x18\x01 \x01(\x0e\x32\x34.google.cloud.talent.v4.BatchOperationMetadata.State\x12\x19\n\x11state_description\x18\x02 \x01(\t\x12\x15\n\rsuccess_count\x18\x03 \x01(\x05\x12\x15\n\rfailure_count\x18\x04 \x01(\x05\x12\x13\n\x0btotal_count\x18\x05 \x01(\x05\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"z\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cINITIALIZING\x10\x01\x12\x0e\n\nPROCESSING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0e\n\nCANCELLING\x10\x05\x12\r\n\tCANCELLED\x10\x06*y\n\x0b\x43ompanySize\x12\x1c\n\x18\x43OMPANY_SIZE_UNSPECIFIED\x10\x00\x12\x08\n\x04MINI\x10\x01\x12\t\n\x05SMALL\x10\x02\x12\x0b\n\x07SMEDIUM\x10\x03\x12\n\n\x06MEDIUM\x10\x04\x12\x07\n\x03\x42IG\x10\x05\x12\n\n\x06\x42IGGER\x10\x06\x12\t\n\x05GIANT\x10\x07*\xe2\x01\n\nJobBenefit\x12\x1b\n\x17JOB_BENEFIT_UNSPECIFIED\x10\x00\x12\x0e\n\nCHILD_CARE\x10\x01\x12\n\n\x06\x44\x45NTAL\x10\x02\x12\x14\n\x10\x44OMESTIC_PARTNER\x10\x03\x12\x12\n\x0e\x46LEXIBLE_HOURS\x10\x04\x12\x0b\n\x07MEDICAL\x10\x05\x12\x12\n\x0eLIFE_INSURANCE\x10\x06\x12\x12\n\x0ePARENTAL_LEAVE\x10\x07\x12\x13\n\x0fRETIREMENT_PLAN\x10\x08\x12\r\n\tSICK_DAYS\x10\t\x12\x0c\n\x08VACATION\x10\n\x12\n\n\x06VISION\x10\x0b*\x8e\x02\n\nDegreeType\x12\x1b\n\x17\x44\x45GREE_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11PRIMARY_EDUCATION\x10\x01\x12\x1d\n\x19LOWER_SECONDARY_EDUCATION\x10\x02\x12\x1d\n\x19UPPER_SECONDARY_EDUCATION\x10\x03\x12\x1c\n\x18\x41\x44ULT_REMEDIAL_EDUCATION\x10\x04\x12\x1c\n\x18\x41SSOCIATES_OR_EQUIVALENT\x10\x05\x12\x1b\n\x17\x42\x41\x43HELORS_OR_EQUIVALENT\x10\x06\x12\x19\n\x15MASTERS_OR_EQUIVALENT\x10\x07\x12\x1a\n\x16\x44OCTORAL_OR_EQUIVALENT\x10\x08*\xdc\x01\n\x0e\x45mploymentType\x12\x1f\n\x1b\x45MPLOYMENT_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tFULL_TIME\x10\x01\x12\r\n\tPART_TIME\x10\x02\x12\x0e\n\nCONTRACTOR\x10\x03\x12\x14\n\x10\x43ONTRACT_TO_HIRE\x10\x04\x12\r\n\tTEMPORARY\x10\x05\x12\n\n\x06INTERN\x10\x06\x12\r\n\tVOLUNTEER\x10\x07\x12\x0c\n\x08PER_DIEM\x10\x08\x12\x12\n\x0e\x46LY_IN_FLY_OUT\x10\t\x12\x19\n\x15OTHER_EMPLOYMENT_TYPE\x10\n*q\n\x08JobLevel\x12\x19\n\x15JOB_LEVEL_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x45NTRY_LEVEL\x10\x01\x12\x0f\n\x0b\x45XPERIENCED\x10\x02\x12\x0b\n\x07MANAGER\x10\x03\x12\x0c\n\x08\x44IRECTOR\x10\x04\x12\r\n\tEXECUTIVE\x10\x05*\xba\x06\n\x0bJobCategory\x12\x1c\n\x18JOB_CATEGORY_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x41\x43\x43OUNTING_AND_FINANCE\x10\x01\x12\x1d\n\x19\x41\x44MINISTRATIVE_AND_OFFICE\x10\x02\x12\x1d\n\x19\x41\x44VERTISING_AND_MARKETING\x10\x03\x12\x0f\n\x0b\x41NIMAL_CARE\x10\x04\x12\x1a\n\x16\x41RT_FASHION_AND_DESIGN\x10\x05\x12\x17\n\x13\x42USINESS_OPERATIONS\x10\x06\x12\x1b\n\x17\x43LEANING_AND_FACILITIES\x10\x07\x12\x13\n\x0f\x43OMPUTER_AND_IT\x10\x08\x12\x10\n\x0c\x43ONSTRUCTION\x10\t\x12\x14\n\x10\x43USTOMER_SERVICE\x10\n\x12\r\n\tEDUCATION\x10\x0b\x12\x1c\n\x18\x45NTERTAINMENT_AND_TRAVEL\x10\x0c\x12\x18\n\x14\x46\x41RMING_AND_OUTDOORS\x10\r\x12\x0e\n\nHEALTHCARE\x10\x0e\x12\x13\n\x0fHUMAN_RESOURCES\x10\x0f\x12\'\n#INSTALLATION_MAINTENANCE_AND_REPAIR\x10\x10\x12\t\n\x05LEGAL\x10\x11\x12\x0e\n\nMANAGEMENT\x10\x12\x12\x1f\n\x1bMANUFACTURING_AND_WAREHOUSE\x10\x13\x12$\n MEDIA_COMMUNICATIONS_AND_WRITING\x10\x14\x12\x16\n\x12OIL_GAS_AND_MINING\x10\x15\x12\x1e\n\x1aPERSONAL_CARE_AND_SERVICES\x10\x16\x12\x17\n\x13PROTECTIVE_SERVICES\x10\x17\x12\x0f\n\x0bREAL_ESTATE\x10\x18\x12\x1e\n\x1aRESTAURANT_AND_HOSPITALITY\x10\x19\x12\x14\n\x10SALES_AND_RETAIL\x10\x1a\x12\x1b\n\x17SCIENCE_AND_ENGINEERING\x10\x1b\x12\"\n\x1eSOCIAL_SERVICES_AND_NON_PROFIT\x10\x1c\x12!\n\x1dSPORTS_FITNESS_AND_RECREATION\x10\x1d\x12 \n\x1cTRANSPORTATION_AND_LOGISTICS\x10\x1e*e\n\rPostingRegion\x12\x1e\n\x1aPOSTING_REGION_UNSPECIFIED\x10\x00\x12\x17\n\x13\x41\x44MINISTRATIVE_AREA\x10\x01\x12\n\n\x06NATION\x10\x02\x12\x0f\n\x0bTELECOMMUTE\x10\x03*n\n\nVisibility\x12\x1a\n\x16VISIBILITY_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x41\x43\x43OUNT_ONLY\x10\x01\x12\x16\n\x12SHARED_WITH_GOOGLE\x10\x02\x12\x16\n\x12SHARED_WITH_PUBLIC\x10\x03\x1a\x02\x18\x01*q\n\x10HtmlSanitization\x12!\n\x1dHTML_SANITIZATION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aHTML_SANITIZATION_DISABLED\x10\x01\x12\x1a\n\x16SIMPLE_FORMATTING_ONLY\x10\x02*{\n\rCommuteMethod\x12\x1e\n\x1a\x43OMMUTE_METHOD_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44RIVING\x10\x01\x12\x0b\n\x07TRANSIT\x10\x02\x12\x0b\n\x07WALKING\x10\x03\x12\x0b\n\x07\x43YCLING\x10\x04\x12\x16\n\x12TRANSIT_ACCESSIBLE\x10\x05\x42\x65\n\x1a\x63om.google.cloud.talent.v4B\x0b\x43ommonProtoP\x01Z2cloud.google.com/go/talent/apiv4/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
|
|
16
16
|
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
18
18
|
|
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
|
9
9
|
require 'google/cloud/talent/v4/common_pb'
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
descriptor_data = "\n$google/cloud/talent/v4/company.proto\x12\x16google.cloud.talent.v4\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/talent/v4/common.proto\"\
|
|
12
|
+
descriptor_data = "\n$google/cloud/talent/v4/company.proto\x12\x16google.cloud.talent.v4\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/talent/v4/common.proto\"\xc8\x04\n\x07\x43ompany\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x65xternal_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x31\n\x04size\x18\x04 \x01(\x0e\x32#.google.cloud.talent.v4.CompanySize\x12\x1c\n\x14headquarters_address\x18\x05 \x01(\t\x12\x15\n\rhiring_agency\x18\x06 \x01(\x08\x12\x10\n\x08\x65\x65o_text\x18\x07 \x01(\t\x12\x13\n\x0bwebsite_uri\x18\x08 \x01(\t\x12\x17\n\x0f\x63\x61reer_site_uri\x18\t \x01(\t\x12\x11\n\timage_uri\x18\n \x01(\t\x12\x34\n(keyword_searchable_job_custom_attributes\x18\x0b \x03(\tB\x02\x18\x01\x12\x46\n\x0c\x64\x65rived_info\x18\x0c \x01(\x0b\x32+.google.cloud.talent.v4.Company.DerivedInfoB\x03\xe0\x41\x03\x12\x16\n\tsuspended\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x1aN\n\x0b\x44\x65rivedInfo\x12?\n\x15headquarters_location\x18\x01 \x01(\x0b\x32 .google.cloud.talent.v4.Location:Y\xea\x41V\n\x1bjobs.googleapis.com/Company\x12\x37projects/{project}/tenants/{tenant}/companies/{company}Bf\n\x1a\x63om.google.cloud.talent.v4B\x0c\x43ompanyProtoP\x01Z2cloud.google.com/go/talent/apiv4/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
|
|
13
13
|
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
15
15
|
|
|
@@ -30,6 +30,9 @@ module Google
|
|
|
30
30
|
# A service that handles company management, including CRUD and enumeration.
|
|
31
31
|
#
|
|
32
32
|
class Client
|
|
33
|
+
# @private
|
|
34
|
+
API_VERSION = ""
|
|
35
|
+
|
|
33
36
|
# @private
|
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "jobs.$UNIVERSE_DOMAIN$"
|
|
35
38
|
|
|
@@ -239,10 +242,11 @@ module Google
|
|
|
239
242
|
# Customize the options with defaults
|
|
240
243
|
metadata = @config.rpcs.create_company.metadata.to_h
|
|
241
244
|
|
|
242
|
-
# Set x-goog-api-client
|
|
245
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
243
246
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
244
247
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
245
248
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
249
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
246
250
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
247
251
|
|
|
248
252
|
header_params = {}
|
|
@@ -328,10 +332,11 @@ module Google
|
|
|
328
332
|
# Customize the options with defaults
|
|
329
333
|
metadata = @config.rpcs.get_company.metadata.to_h
|
|
330
334
|
|
|
331
|
-
# Set x-goog-api-client
|
|
335
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
332
336
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
333
337
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
334
338
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
339
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
335
340
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
336
341
|
|
|
337
342
|
header_params = {}
|
|
@@ -425,10 +430,11 @@ module Google
|
|
|
425
430
|
# Customize the options with defaults
|
|
426
431
|
metadata = @config.rpcs.update_company.metadata.to_h
|
|
427
432
|
|
|
428
|
-
# Set x-goog-api-client
|
|
433
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
429
434
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
430
435
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
431
436
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
437
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
432
438
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
433
439
|
|
|
434
440
|
header_params = {}
|
|
@@ -515,10 +521,11 @@ module Google
|
|
|
515
521
|
# Customize the options with defaults
|
|
516
522
|
metadata = @config.rpcs.delete_company.metadata.to_h
|
|
517
523
|
|
|
518
|
-
# Set x-goog-api-client
|
|
524
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
519
525
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
520
526
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
521
527
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
528
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
522
529
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
523
530
|
|
|
524
531
|
header_params = {}
|
|
@@ -620,10 +627,11 @@ module Google
|
|
|
620
627
|
# Customize the options with defaults
|
|
621
628
|
metadata = @config.rpcs.list_companies.metadata.to_h
|
|
622
629
|
|
|
623
|
-
# Set x-goog-api-client
|
|
630
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
624
631
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
625
632
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
626
633
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
634
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
627
635
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
628
636
|
|
|
629
637
|
header_params = {}
|
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# A service that handles company management, including CRUD and enumeration.
|
|
33
33
|
#
|
|
34
34
|
class Client
|
|
35
|
+
# @private
|
|
36
|
+
API_VERSION = ""
|
|
37
|
+
|
|
35
38
|
# @private
|
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "jobs.$UNIVERSE_DOMAIN$"
|
|
37
40
|
|
|
@@ -231,12 +234,13 @@ module Google
|
|
|
231
234
|
# Customize the options with defaults
|
|
232
235
|
call_metadata = @config.rpcs.create_company.metadata.to_h
|
|
233
236
|
|
|
234
|
-
# Set x-goog-api-client
|
|
237
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
235
238
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
236
239
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
237
240
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
238
241
|
transports_version_send: [:rest]
|
|
239
242
|
|
|
243
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
240
244
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
241
245
|
|
|
242
246
|
options.apply_defaults timeout: @config.rpcs.create_company.timeout,
|
|
@@ -313,12 +317,13 @@ module Google
|
|
|
313
317
|
# Customize the options with defaults
|
|
314
318
|
call_metadata = @config.rpcs.get_company.metadata.to_h
|
|
315
319
|
|
|
316
|
-
# Set x-goog-api-client
|
|
320
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
317
321
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
318
322
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
319
323
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
320
324
|
transports_version_send: [:rest]
|
|
321
325
|
|
|
326
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
322
327
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
323
328
|
|
|
324
329
|
options.apply_defaults timeout: @config.rpcs.get_company.timeout,
|
|
@@ -403,12 +408,13 @@ module Google
|
|
|
403
408
|
# Customize the options with defaults
|
|
404
409
|
call_metadata = @config.rpcs.update_company.metadata.to_h
|
|
405
410
|
|
|
406
|
-
# Set x-goog-api-client
|
|
411
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
407
412
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
408
413
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
409
414
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
410
415
|
transports_version_send: [:rest]
|
|
411
416
|
|
|
417
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
412
418
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
413
419
|
|
|
414
420
|
options.apply_defaults timeout: @config.rpcs.update_company.timeout,
|
|
@@ -486,12 +492,13 @@ module Google
|
|
|
486
492
|
# Customize the options with defaults
|
|
487
493
|
call_metadata = @config.rpcs.delete_company.metadata.to_h
|
|
488
494
|
|
|
489
|
-
# Set x-goog-api-client
|
|
495
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
490
496
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
491
497
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
492
498
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
493
499
|
transports_version_send: [:rest]
|
|
494
500
|
|
|
501
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
495
502
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
496
503
|
|
|
497
504
|
options.apply_defaults timeout: @config.rpcs.delete_company.timeout,
|
|
@@ -584,12 +591,13 @@ module Google
|
|
|
584
591
|
# Customize the options with defaults
|
|
585
592
|
call_metadata = @config.rpcs.list_companies.metadata.to_h
|
|
586
593
|
|
|
587
|
-
# Set x-goog-api-client
|
|
594
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
588
595
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
589
596
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
590
597
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
591
598
|
transports_version_send: [:rest]
|
|
592
599
|
|
|
600
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
593
601
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
594
602
|
|
|
595
603
|
options.apply_defaults timeout: @config.rpcs.list_companies.timeout,
|
|
@@ -14,7 +14,7 @@ require 'google/protobuf/empty_pb'
|
|
|
14
14
|
require 'google/protobuf/field_mask_pb'
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
descriptor_data = "\n,google/cloud/talent/v4/company_service.proto\x12\x16google.cloud.talent.v4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/talent/v4/common.proto\x1a$google/cloud/talent/v4/company.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\
|
|
17
|
+
descriptor_data = "\n,google/cloud/talent/v4/company_service.proto\x12\x16google.cloud.talent.v4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/talent/v4/common.proto\x1a$google/cloud/talent/v4/company.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x81\x01\n\x14\x43reateCompanyRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1ajobs.googleapis.com/Tenant\x12\x35\n\x07\x63ompany\x18\x02 \x01(\x0b\x32\x1f.google.cloud.talent.v4.CompanyB\x03\xe0\x41\x02\"F\n\x11GetCompanyRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bjobs.googleapis.com/Company\"~\n\x14UpdateCompanyRequest\x12\x35\n\x07\x63ompany\x18\x01 \x01(\x0b\x32\x1f.google.cloud.talent.v4.CompanyB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"I\n\x14\x44\x65leteCompanyRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bjobs.googleapis.com/Company\"\x8c\x01\n\x14ListCompaniesRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1ajobs.googleapis.com/Tenant\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x19\n\x11require_open_jobs\x18\x04 \x01(\x08\"\xa0\x01\n\x15ListCompaniesResponse\x12\x32\n\tcompanies\x18\x01 \x03(\x0b\x32\x1f.google.cloud.talent.v4.Company\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12:\n\x08metadata\x18\x03 \x01(\x0b\x32(.google.cloud.talent.v4.ResponseMetadata2\xc3\x07\n\x0e\x43ompanyService\x12\xad\x01\n\rCreateCompany\x12,.google.cloud.talent.v4.CreateCompanyRequest\x1a\x1f.google.cloud.talent.v4.Company\"M\xda\x41\x0eparent,company\x82\xd3\xe4\x93\x02\x36\"+/v4/{parent=projects/*/tenants/*}/companies:\x07\x63ompany\x12\x94\x01\n\nGetCompany\x12).google.cloud.talent.v4.GetCompanyRequest\x1a\x1f.google.cloud.talent.v4.Company\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v4/{name=projects/*/tenants/*/companies/*}\x12\xba\x01\n\rUpdateCompany\x12,.google.cloud.talent.v4.UpdateCompanyRequest\x1a\x1f.google.cloud.talent.v4.Company\"Z\xda\x41\x13\x63ompany,update_mask\x82\xd3\xe4\x93\x02>23/v4/{company.name=projects/*/tenants/*/companies/*}:\x07\x63ompany\x12\x91\x01\n\rDeleteCompany\x12,.google.cloud.talent.v4.DeleteCompanyRequest\x1a\x16.google.protobuf.Empty\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-*+/v4/{name=projects/*/tenants/*/companies/*}\x12\xaa\x01\n\rListCompanies\x12,.google.cloud.talent.v4.ListCompaniesRequest\x1a-.google.cloud.talent.v4.ListCompaniesResponse\"<\xda\x41\x06parent\x82\xd3\xe4\x93\x02-\x12+/v4/{parent=projects/*/tenants/*}/companies\x1al\xca\x41\x13jobs.googleapis.com\xd2\x41Shttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/jobsBm\n\x1a\x63om.google.cloud.talent.v4B\x13\x43ompanyServiceProtoP\x01Z2cloud.google.com/go/talent/apiv4/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
|
|
18
18
|
|
|
19
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
20
20
|
|
|
@@ -30,6 +30,9 @@ module Google
|
|
|
30
30
|
# A service handles auto completion.
|
|
31
31
|
#
|
|
32
32
|
class Client
|
|
33
|
+
# @private
|
|
34
|
+
API_VERSION = ""
|
|
35
|
+
|
|
33
36
|
# @private
|
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "jobs.$UNIVERSE_DOMAIN$"
|
|
35
38
|
|
|
@@ -251,10 +254,11 @@ module Google
|
|
|
251
254
|
# Customize the options with defaults
|
|
252
255
|
metadata = @config.rpcs.complete_query.metadata.to_h
|
|
253
256
|
|
|
254
|
-
# Set x-goog-api-client
|
|
257
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
255
258
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
256
259
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
257
260
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
261
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
258
262
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
259
263
|
|
|
260
264
|
header_params = {}
|
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# A service handles auto completion.
|
|
33
33
|
#
|
|
34
34
|
class Client
|
|
35
|
+
# @private
|
|
36
|
+
API_VERSION = ""
|
|
37
|
+
|
|
35
38
|
# @private
|
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "jobs.$UNIVERSE_DOMAIN$"
|
|
37
40
|
|
|
@@ -243,12 +246,13 @@ module Google
|
|
|
243
246
|
# Customize the options with defaults
|
|
244
247
|
call_metadata = @config.rpcs.complete_query.metadata.to_h
|
|
245
248
|
|
|
246
|
-
# Set x-goog-api-client
|
|
249
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
247
250
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
248
251
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
249
252
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
250
253
|
transports_version_send: [:rest]
|
|
251
254
|
|
|
255
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
252
256
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
253
257
|
|
|
254
258
|
options.apply_defaults timeout: @config.rpcs.complete_query.timeout,
|
|
@@ -11,7 +11,7 @@ require 'google/api/resource_pb'
|
|
|
11
11
|
require 'google/cloud/talent/v4/common_pb'
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
descriptor_data = "\n/google/cloud/talent/v4/completion_service.proto\x12\x16google.cloud.talent.v4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/talent/v4/common.proto\"\
|
|
14
|
+
descriptor_data = "\n/google/cloud/talent/v4/completion_service.proto\x12\x16google.cloud.talent.v4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/talent/v4/common.proto\"\x88\x04\n\x14\x43ompleteQueryRequest\x12\x32\n\x06tenant\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1ajobs.googleapis.com/Tenant\x12\x12\n\x05query\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\x0elanguage_codes\x18\x03 \x03(\t\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x31\n\x07\x63ompany\x18\x05 \x01(\tB \xfa\x41\x1d\n\x1bjobs.googleapis.com/Company\x12K\n\x05scope\x18\x06 \x01(\x0e\x32<.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope\x12I\n\x04type\x18\x07 \x01(\x0e\x32;.google.cloud.talent.v4.CompleteQueryRequest.CompletionType\"K\n\x0f\x43ompletionScope\x12 \n\x1c\x43OMPLETION_SCOPE_UNSPECIFIED\x10\x00\x12\n\n\x06TENANT\x10\x01\x12\n\n\x06PUBLIC\x10\x02\"`\n\x0e\x43ompletionType\x12\x1f\n\x1b\x43OMPLETION_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tJOB_TITLE\x10\x01\x12\x10\n\x0c\x43OMPANY_NAME\x10\x02\x12\x0c\n\x08\x43OMBINED\x10\x03\"\xb6\x02\n\x15\x43ompleteQueryResponse\x12Z\n\x12\x63ompletion_results\x18\x01 \x03(\x0b\x32>.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult\x12:\n\x08metadata\x18\x02 \x01(\x0b\x32(.google.cloud.talent.v4.ResponseMetadata\x1a\x84\x01\n\x10\x43ompletionResult\x12\x12\n\nsuggestion\x18\x01 \x01(\t\x12I\n\x04type\x18\x02 \x01(\x0e\x32;.google.cloud.talent.v4.CompleteQueryRequest.CompletionType\x12\x11\n\timage_uri\x18\x03 \x01(\t2\xa2\x02\n\nCompletion\x12\xa5\x01\n\rCompleteQuery\x12,.google.cloud.talent.v4.CompleteQueryRequest\x1a-.google.cloud.talent.v4.CompleteQueryResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//v4/{tenant=projects/*/tenants/*}:completeQuery\x1al\xca\x41\x13jobs.googleapis.com\xd2\x41Shttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/jobsBp\n\x1a\x63om.google.cloud.talent.v4B\x16\x43ompletionServiceProtoP\x01Z2cloud.google.com/go/talent/apiv4/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
|
|
15
15
|
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
|
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
|
8
8
|
require 'google/protobuf/timestamp_pb'
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
descriptor_data = "\n\"google/cloud/talent/v4/event.proto\x12\x16google.cloud.talent.v4\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
11
|
+
descriptor_data = "\n\"google/cloud/talent/v4/event.proto\x12\x16google.cloud.talent.v4\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc3\x01\n\x0b\x43lientEvent\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x15\n\x08\x65vent_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x35\n\tjob_event\x18\x05 \x01(\x0b\x32 .google.cloud.talent.v4.JobEventH\x00\x12\x13\n\x0b\x65vent_notes\x18\t \x01(\tB\x07\n\x05\x65vent\"\xe0\x03\n\x08JobEvent\x12@\n\x04type\x18\x01 \x01(\x0e\x32-.google.cloud.talent.v4.JobEvent.JobEventTypeB\x03\xe0\x41\x02\x12\x11\n\x04jobs\x18\x02 \x03(\tB\x03\xe0\x41\x02\"\xfe\x02\n\x0cJobEventType\x12\x1e\n\x1aJOB_EVENT_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nIMPRESSION\x10\x01\x12\x08\n\x04VIEW\x10\x02\x12\x11\n\rVIEW_REDIRECT\x10\x03\x12\x15\n\x11\x41PPLICATION_START\x10\x04\x12\x16\n\x12\x41PPLICATION_FINISH\x10\x05\x12 \n\x1c\x41PPLICATION_QUICK_SUBMISSION\x10\x06\x12\x18\n\x14\x41PPLICATION_REDIRECT\x10\x07\x12!\n\x1d\x41PPLICATION_START_FROM_SEARCH\x10\x08\x12$\n APPLICATION_REDIRECT_FROM_SEARCH\x10\t\x12\x1e\n\x1a\x41PPLICATION_COMPANY_SUBMIT\x10\n\x12\x0c\n\x08\x42OOKMARK\x10\x0b\x12\x10\n\x0cNOTIFICATION\x10\x0c\x12\t\n\x05HIRED\x10\r\x12\x0b\n\x07SENT_CV\x10\x0e\x12\x15\n\x11INTERVIEW_GRANTED\x10\x0f\x42\x64\n\x1a\x63om.google.cloud.talent.v4B\nEventProtoP\x01Z2cloud.google.com/go/talent/apiv4/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
|
|
12
12
|
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
|
|
@@ -30,6 +30,9 @@ module Google
|
|
|
30
30
|
# A service handles client event report.
|
|
31
31
|
#
|
|
32
32
|
class Client
|
|
33
|
+
# @private
|
|
34
|
+
API_VERSION = ""
|
|
35
|
+
|
|
33
36
|
# @private
|
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "jobs.$UNIVERSE_DOMAIN$"
|
|
35
38
|
|
|
@@ -229,10 +232,11 @@ module Google
|
|
|
229
232
|
# Customize the options with defaults
|
|
230
233
|
metadata = @config.rpcs.create_client_event.metadata.to_h
|
|
231
234
|
|
|
232
|
-
# Set x-goog-api-client
|
|
235
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
233
236
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
234
237
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
235
238
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
239
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
236
240
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
237
241
|
|
|
238
242
|
header_params = {}
|
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# A service handles client event report.
|
|
33
33
|
#
|
|
34
34
|
class Client
|
|
35
|
+
# @private
|
|
36
|
+
API_VERSION = ""
|
|
37
|
+
|
|
35
38
|
# @private
|
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "jobs.$UNIVERSE_DOMAIN$"
|
|
37
40
|
|
|
@@ -221,12 +224,13 @@ module Google
|
|
|
221
224
|
# Customize the options with defaults
|
|
222
225
|
call_metadata = @config.rpcs.create_client_event.metadata.to_h
|
|
223
226
|
|
|
224
|
-
# Set x-goog-api-client
|
|
227
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
225
228
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
226
229
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
227
230
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION,
|
|
228
231
|
transports_version_send: [:rest]
|
|
229
232
|
|
|
233
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
230
234
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
231
235
|
|
|
232
236
|
options.apply_defaults timeout: @config.rpcs.create_client_event.timeout,
|
|
@@ -11,7 +11,7 @@ require 'google/api/resource_pb'
|
|
|
11
11
|
require 'google/cloud/talent/v4/event_pb'
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
descriptor_data = "\n*google/cloud/talent/v4/event_service.proto\x12\x16google.cloud.talent.v4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/cloud/talent/v4/event.proto\"\
|
|
14
|
+
descriptor_data = "\n*google/cloud/talent/v4/event_service.proto\x12\x16google.cloud.talent.v4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/cloud/talent/v4/event.proto\"\x8e\x01\n\x18\x43reateClientEventRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1ajobs.googleapis.com/Tenant\x12>\n\x0c\x63lient_event\x18\x02 \x01(\x0b\x32#.google.cloud.talent.v4.ClientEventB\x03\xe0\x41\x02\x32\xc5\x02\n\x0c\x45ventService\x12\xc6\x01\n\x11\x43reateClientEvent\x12\x30.google.cloud.talent.v4.CreateClientEventRequest\x1a#.google.cloud.talent.v4.ClientEvent\"Z\xda\x41\x13parent,client_event\x82\xd3\xe4\x93\x02>\"./v4/{parent=projects/*/tenants/*}/clientEvents:\x0c\x63lient_event\x1al\xca\x41\x13jobs.googleapis.com\xd2\x41Shttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/jobsBk\n\x1a\x63om.google.cloud.talent.v4B\x11\x45ventServiceProtoP\x01Z2cloud.google.com/go/talent/apiv4/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
|
|
15
15
|
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
|
|
@@ -11,7 +11,7 @@ require 'google/type/latlng_pb'
|
|
|
11
11
|
require 'google/type/timeofday_pb'
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
descriptor_data = "\n$google/cloud/talent/v4/filters.proto\x12\x16google.cloud.talent.v4\x1a\x1fgoogle/api/field_behavior.proto\x1a#google/cloud/talent/v4/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x18google/type/latlng.proto\x1a\x1bgoogle/type/timeofday.proto\"\xe2\x04\n\x08JobQuery\x12\r\n\x05query\x18\x01 \x01(\t\x12\x1b\n\x13query_language_code\x18\x0e \x01(\t\x12\x11\n\tcompanies\x18\x02 \x03(\t\x12@\n\x10location_filters\x18\x03 \x03(\x0b\x32&.google.cloud.talent.v4.LocationFilter\x12;\n\x0ejob_categories\x18\x04 \x03(\x0e\x32#.google.cloud.talent.v4.JobCategory\x12=\n\x0e\x63ommute_filter\x18\x05 \x01(\x0b\x32%.google.cloud.talent.v4.CommuteFilter\x12\x1d\n\x15\x63ompany_display_names\x18\x06 \x03(\t\x12G\n\x13\x63ompensation_filter\x18\x07 \x01(\x0b\x32*.google.cloud.talent.v4.CompensationFilter\x12\x1f\n\x17\x63ustom_attribute_filter\x18\x08 \x01(\t\x12\x1b\n\x13\x64isable_spell_check\x18\t \x01(\x08\x12@\n\x10\x65mployment_types\x18\n \x03(\x0e\x32&.google.cloud.talent.v4.EmploymentType\x12\x16\n\x0elanguage_codes\x18\x0b \x03(\t\x12\x42\n\x12publish_time_range\x18\x0c \x01(\x0b\x32&.google.cloud.talent.v4.TimestampRange\x12\x15\n\rexcluded_jobs\x18\r \x03(\t\"\xed\x02\n\x0eLocationFilter\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x13\n\x0bregion_code\x18\x02 \x01(\t\x12$\n\x07lat_lng\x18\x03 \x01(\x0b\x32\x13.google.type.LatLng\x12\x19\n\x11\x64istance_in_miles\x18\x04 \x01(\x01\x12\\\n\x16telecommute_preference\x18\x05 \x01(\x0e\x32<.google.cloud.talent.v4.LocationFilter.TelecommutePreference\"\x95\x01\n\x15TelecommutePreference\x12&\n\"TELECOMMUTE_PREFERENCE_UNSPECIFIED\x10\x00\x12\x1c\n\x14TELECOMMUTE_EXCLUDED\x10\x01\x1a\x02\x08\x01\x12\x17\n\x13TELECOMMUTE_ALLOWED\x10\x02\x12\x1d\n\x19TELECOMMUTE_JOBS_EXCLUDED\x10\x03\"\
|
|
14
|
+
descriptor_data = "\n$google/cloud/talent/v4/filters.proto\x12\x16google.cloud.talent.v4\x1a\x1fgoogle/api/field_behavior.proto\x1a#google/cloud/talent/v4/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x18google/type/latlng.proto\x1a\x1bgoogle/type/timeofday.proto\"\xe2\x04\n\x08JobQuery\x12\r\n\x05query\x18\x01 \x01(\t\x12\x1b\n\x13query_language_code\x18\x0e \x01(\t\x12\x11\n\tcompanies\x18\x02 \x03(\t\x12@\n\x10location_filters\x18\x03 \x03(\x0b\x32&.google.cloud.talent.v4.LocationFilter\x12;\n\x0ejob_categories\x18\x04 \x03(\x0e\x32#.google.cloud.talent.v4.JobCategory\x12=\n\x0e\x63ommute_filter\x18\x05 \x01(\x0b\x32%.google.cloud.talent.v4.CommuteFilter\x12\x1d\n\x15\x63ompany_display_names\x18\x06 \x03(\t\x12G\n\x13\x63ompensation_filter\x18\x07 \x01(\x0b\x32*.google.cloud.talent.v4.CompensationFilter\x12\x1f\n\x17\x63ustom_attribute_filter\x18\x08 \x01(\t\x12\x1b\n\x13\x64isable_spell_check\x18\t \x01(\x08\x12@\n\x10\x65mployment_types\x18\n \x03(\x0e\x32&.google.cloud.talent.v4.EmploymentType\x12\x16\n\x0elanguage_codes\x18\x0b \x03(\t\x12\x42\n\x12publish_time_range\x18\x0c \x01(\x0b\x32&.google.cloud.talent.v4.TimestampRange\x12\x15\n\rexcluded_jobs\x18\r \x03(\t\"\xed\x02\n\x0eLocationFilter\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x13\n\x0bregion_code\x18\x02 \x01(\t\x12$\n\x07lat_lng\x18\x03 \x01(\x0b\x32\x13.google.type.LatLng\x12\x19\n\x11\x64istance_in_miles\x18\x04 \x01(\x01\x12\\\n\x16telecommute_preference\x18\x05 \x01(\x0e\x32<.google.cloud.talent.v4.LocationFilter.TelecommutePreference\"\x95\x01\n\x15TelecommutePreference\x12&\n\"TELECOMMUTE_PREFERENCE_UNSPECIFIED\x10\x00\x12\x1c\n\x14TELECOMMUTE_EXCLUDED\x10\x01\x1a\x02\x08\x01\x12\x17\n\x13TELECOMMUTE_ALLOWED\x10\x02\x12\x1d\n\x19TELECOMMUTE_JOBS_EXCLUDED\x10\x03\"\xbb\x03\n\x12\x43ompensationFilter\x12H\n\x04type\x18\x01 \x01(\x0e\x32\x35.google.cloud.talent.v4.CompensationFilter.FilterTypeB\x03\xe0\x41\x02\x12M\n\x05units\x18\x02 \x03(\x0e\x32\x39.google.cloud.talent.v4.CompensationInfo.CompensationUnitB\x03\xe0\x41\x02\x12I\n\x05range\x18\x03 \x01(\x0b\x32:.google.cloud.talent.v4.CompensationInfo.CompensationRange\x12\x38\n0include_jobs_with_unspecified_compensation_range\x18\x04 \x01(\x08\"\x86\x01\n\nFilterType\x12\x1b\n\x17\x46ILTER_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tUNIT_ONLY\x10\x01\x12\x13\n\x0fUNIT_AND_AMOUNT\x10\x02\x12\x1a\n\x16\x41NNUALIZED_BASE_AMOUNT\x10\x03\x12\x1b\n\x17\x41NNUALIZED_TOTAL_AMOUNT\x10\x04\"\xc1\x03\n\rCommuteFilter\x12\x42\n\x0e\x63ommute_method\x18\x01 \x01(\x0e\x32%.google.cloud.talent.v4.CommuteMethodB\x03\xe0\x41\x02\x12\x33\n\x11start_coordinates\x18\x02 \x01(\x0b\x32\x13.google.type.LatLngB\x03\xe0\x41\x02\x12\x37\n\x0ftravel_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12!\n\x19\x61llow_imprecise_addresses\x18\x04 \x01(\x08\x12I\n\x0croad_traffic\x18\x05 \x01(\x0e\x32\x31.google.cloud.talent.v4.CommuteFilter.RoadTrafficH\x00\x12\x30\n\x0e\x64\x65parture_time\x18\x06 \x01(\x0b\x32\x16.google.type.TimeOfDayH\x00\"L\n\x0bRoadTraffic\x12\x1c\n\x18ROAD_TRAFFIC_UNSPECIFIED\x10\x00\x12\x10\n\x0cTRAFFIC_FREE\x10\x01\x12\r\n\tBUSY_HOUR\x10\x02\x42\x10\n\x0etraffic_optionBf\n\x1a\x63om.google.cloud.talent.v4B\x0c\x46iltersProtoP\x01Z2cloud.google.com/go/talent/apiv4/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
|
|
15
15
|
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
|
|
@@ -10,7 +10,7 @@ require 'google/cloud/talent/v4/common_pb'
|
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
descriptor_data = "\n google/cloud/talent/v4/job.proto\x12\x16google.cloud.talent.v4\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/talent/v4/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
13
|
+
descriptor_data = "\n google/cloud/talent/v4/job.proto\x12\x16google.cloud.talent.v4\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/talent/v4/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf5\x0e\n\x03Job\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x07\x63ompany\x18\x02 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bjobs.googleapis.com/Company\x12\x1b\n\x0erequisition_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05title\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\taddresses\x18\x06 \x03(\t\x12\x45\n\x10\x61pplication_info\x18\x07 \x01(\x0b\x32+.google.cloud.talent.v4.Job.ApplicationInfo\x12\x38\n\x0cjob_benefits\x18\x08 \x03(\x0e\x32\".google.cloud.talent.v4.JobBenefit\x12\x43\n\x11\x63ompensation_info\x18\t \x01(\x0b\x32(.google.cloud.talent.v4.CompensationInfo\x12L\n\x11\x63ustom_attributes\x18\n \x03(\x0b\x32\x31.google.cloud.talent.v4.Job.CustomAttributesEntry\x12\x38\n\x0c\x64\x65gree_types\x18\x0b \x03(\x0e\x32\".google.cloud.talent.v4.DegreeType\x12\x12\n\ndepartment\x18\x0c \x01(\t\x12@\n\x10\x65mployment_types\x18\r \x03(\x0e\x32&.google.cloud.talent.v4.EmploymentType\x12\x12\n\nincentives\x18\x0e \x01(\t\x12\x15\n\rlanguage_code\x18\x0f \x01(\t\x12\x33\n\tjob_level\x18\x10 \x01(\x0e\x32 .google.cloud.talent.v4.JobLevel\x12\x17\n\x0fpromotion_value\x18\x11 \x01(\x05\x12\x16\n\x0equalifications\x18\x12 \x01(\t\x12\x18\n\x10responsibilities\x18\x13 \x01(\t\x12=\n\x0eposting_region\x18\x14 \x01(\x0e\x32%.google.cloud.talent.v4.PostingRegion\x12:\n\nvisibility\x18\x15 \x01(\x0e\x32\".google.cloud.talent.v4.VisibilityB\x02\x18\x01\x12\x32\n\x0ejob_start_time\x18\x16 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0cjob_end_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14posting_publish_time\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13posting_expire_time\x18\x19 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12<\n\x13posting_create_time\x18\x1a \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x13posting_update_time\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12!\n\x14\x63ompany_display_name\x18\x1c \x01(\tB\x03\xe0\x41\x03\x12\x42\n\x0c\x64\x65rived_info\x18\x1d \x01(\x0b\x32\'.google.cloud.talent.v4.Job.DerivedInfoB\x03\xe0\x41\x03\x12I\n\x12processing_options\x18\x1e \x01(\x0b\x32-.google.cloud.talent.v4.Job.ProcessingOptions\x1a\x44\n\x0f\x41pplicationInfo\x12\x0e\n\x06\x65mails\x18\x01 \x03(\t\x12\x13\n\x0binstruction\x18\x02 \x01(\t\x12\x0c\n\x04uris\x18\x03 \x03(\t\x1a\x7f\n\x0b\x44\x65rivedInfo\x12\x33\n\tlocations\x18\x01 \x03(\x0b\x32 .google.cloud.talent.v4.Location\x12;\n\x0ejob_categories\x18\x03 \x03(\x0e\x32#.google.cloud.talent.v4.JobCategory\x1a\x83\x01\n\x11ProcessingOptions\x12)\n!disable_street_address_resolution\x18\x01 \x01(\x08\x12\x43\n\x11html_sanitization\x18\x02 \x01(\x0e\x32(.google.cloud.talent.v4.HtmlSanitization\x1a`\n\x15\x43ustomAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.talent.v4.CustomAttribute:\x02\x38\x01:L\xea\x41I\n\x17jobs.googleapis.com/Job\x12.projects/{project}/tenants/{tenant}/jobs/{job}Bb\n\x1a\x63om.google.cloud.talent.v4B\x08JobProtoP\x01Z2cloud.google.com/go/talent/apiv4/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
|
|
14
14
|
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
16
16
|
|
|
@@ -30,6 +30,9 @@ module Google
|
|
|
30
30
|
# A service handles job management, including job CRUD, enumeration and search.
|
|
31
31
|
#
|
|
32
32
|
class Client
|
|
33
|
+
# @private
|
|
34
|
+
API_VERSION = ""
|
|
35
|
+
|
|
33
36
|
# @private
|
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "jobs.$UNIVERSE_DOMAIN$"
|
|
35
38
|
|
|
@@ -264,10 +267,11 @@ module Google
|
|
|
264
267
|
# Customize the options with defaults
|
|
265
268
|
metadata = @config.rpcs.create_job.metadata.to_h
|
|
266
269
|
|
|
267
|
-
# Set x-goog-api-client
|
|
270
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
268
271
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
269
272
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
270
273
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
274
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
271
275
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
272
276
|
|
|
273
277
|
header_params = {}
|
|
@@ -362,10 +366,11 @@ module Google
|
|
|
362
366
|
# Customize the options with defaults
|
|
363
367
|
metadata = @config.rpcs.batch_create_jobs.metadata.to_h
|
|
364
368
|
|
|
365
|
-
# Set x-goog-api-client
|
|
369
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
366
370
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
367
371
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
368
372
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
373
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
369
374
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
370
375
|
|
|
371
376
|
header_params = {}
|
|
@@ -453,10 +458,11 @@ module Google
|
|
|
453
458
|
# Customize the options with defaults
|
|
454
459
|
metadata = @config.rpcs.get_job.metadata.to_h
|
|
455
460
|
|
|
456
|
-
# Set x-goog-api-client
|
|
461
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
457
462
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
458
463
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
459
464
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
465
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
460
466
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
461
467
|
|
|
462
468
|
header_params = {}
|
|
@@ -551,10 +557,11 @@ module Google
|
|
|
551
557
|
# Customize the options with defaults
|
|
552
558
|
metadata = @config.rpcs.update_job.metadata.to_h
|
|
553
559
|
|
|
554
|
-
# Set x-goog-api-client
|
|
560
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
555
561
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
556
562
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
557
563
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
564
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
558
565
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
559
566
|
|
|
560
567
|
header_params = {}
|
|
@@ -666,10 +673,11 @@ module Google
|
|
|
666
673
|
# Customize the options with defaults
|
|
667
674
|
metadata = @config.rpcs.batch_update_jobs.metadata.to_h
|
|
668
675
|
|
|
669
|
-
# Set x-goog-api-client
|
|
676
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
670
677
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
671
678
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
672
679
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
680
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
673
681
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
674
682
|
|
|
675
683
|
header_params = {}
|
|
@@ -759,10 +767,11 @@ module Google
|
|
|
759
767
|
# Customize the options with defaults
|
|
760
768
|
metadata = @config.rpcs.delete_job.metadata.to_h
|
|
761
769
|
|
|
762
|
-
# Set x-goog-api-client
|
|
770
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
763
771
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
764
772
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
765
773
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
774
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
766
775
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
767
776
|
|
|
768
777
|
header_params = {}
|
|
@@ -863,10 +872,11 @@ module Google
|
|
|
863
872
|
# Customize the options with defaults
|
|
864
873
|
metadata = @config.rpcs.batch_delete_jobs.metadata.to_h
|
|
865
874
|
|
|
866
|
-
# Set x-goog-api-client
|
|
875
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
867
876
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
868
877
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
869
878
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
879
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
870
880
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
871
881
|
|
|
872
882
|
header_params = {}
|
|
@@ -996,10 +1006,11 @@ module Google
|
|
|
996
1006
|
# Customize the options with defaults
|
|
997
1007
|
metadata = @config.rpcs.list_jobs.metadata.to_h
|
|
998
1008
|
|
|
999
|
-
# Set x-goog-api-client
|
|
1009
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1000
1010
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1001
1011
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1002
1012
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
1013
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1003
1014
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1004
1015
|
|
|
1005
1016
|
header_params = {}
|
|
@@ -1358,10 +1369,11 @@ module Google
|
|
|
1358
1369
|
# Customize the options with defaults
|
|
1359
1370
|
metadata = @config.rpcs.search_jobs.metadata.to_h
|
|
1360
1371
|
|
|
1361
|
-
# Set x-goog-api-client
|
|
1372
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1362
1373
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1363
1374
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1364
1375
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
1376
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1365
1377
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1366
1378
|
|
|
1367
1379
|
header_params = {}
|
|
@@ -1724,10 +1736,11 @@ module Google
|
|
|
1724
1736
|
# Customize the options with defaults
|
|
1725
1737
|
metadata = @config.rpcs.search_jobs_for_alert.metadata.to_h
|
|
1726
1738
|
|
|
1727
|
-
# Set x-goog-api-client
|
|
1739
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1728
1740
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1729
1741
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1730
1742
|
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
|
1743
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1731
1744
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1732
1745
|
|
|
1733
1746
|
header_params = {}
|