@@ -30394,6 +30394,190 @@ public Get set(String parameterName, Object value) {
3039430394 }
3039530395 }
3039630396
30397+ /**
30398+ * An accessor for creating requests from the Sdfuploadtasks collection.
30399+ *
30400+ * <p>The typical use is:</p>
30401+ * <pre>
30402+ * {@code DisplayVideo displayvideo = new DisplayVideo(...);}
30403+ * {@code DisplayVideo.Sdfuploadtasks.List request = displayvideo.sdfuploadtasks().list(parameters ...)}
30404+ * </pre>
30405+ *
30406+ * @return the resource collection
30407+ */
30408+ public Sdfuploadtasks sdfuploadtasks() {
30409+ return new Sdfuploadtasks();
30410+ }
30411+
30412+ /**
30413+ * The "sdfuploadtasks" collection of methods.
30414+ */
30415+ public class Sdfuploadtasks {
30416+
30417+ /**
30418+ * An accessor for creating requests from the Operations collection.
30419+ *
30420+ * <p>The typical use is:</p>
30421+ * <pre>
30422+ * {@code DisplayVideo displayvideo = new DisplayVideo(...);}
30423+ * {@code DisplayVideo.Operations.List request = displayvideo.operations().list(parameters ...)}
30424+ * </pre>
30425+ *
30426+ * @return the resource collection
30427+ */
30428+ public Operations operations() {
30429+ return new Operations();
30430+ }
30431+
30432+ /**
30433+ * The "operations" collection of methods.
30434+ */
30435+ public class Operations {
30436+
30437+ /**
30438+ * Gets the latest state of an asynchronous SDF download task operation. Clients should poll this
30439+ * method at intervals of 30 seconds.
30440+ *
30441+ * Create a request for the method "operations.get".
30442+ *
30443+ * This request holds the parameters needed by the displayvideo server. After setting any optional
30444+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
30445+ *
30446+ * @param name The name of the operation resource.
30447+ * @return the request
30448+ */
30449+ public Get get(java.lang.String name) throws java.io.IOException {
30450+ Get result = new Get(name);
30451+ initialize(result);
30452+ return result;
30453+ }
30454+
30455+ public class Get extends DisplayVideoRequest<com.google.api.services.displayvideo.v3.model.Operation> {
30456+
30457+ private static final String REST_PATH = "v3/{+name}";
30458+
30459+ private final java.util.regex.Pattern NAME_PATTERN =
30460+ java.util.regex.Pattern.compile("^sdfuploadtasks/operations/[^/]+$");
30461+
30462+ /**
30463+ * Gets the latest state of an asynchronous SDF download task operation. Clients should poll this
30464+ * method at intervals of 30 seconds.
30465+ *
30466+ * Create a request for the method "operations.get".
30467+ *
30468+ * This request holds the parameters needed by the the displayvideo server. After setting any
30469+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. <p>
30470+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
30471+ * must be called to initialize this instance immediately after invoking the constructor. </p>
30472+ *
30473+ * @param name The name of the operation resource.
30474+ * @since 1.13
30475+ */
30476+ protected Get(java.lang.String name) {
30477+ super(DisplayVideo.this, "GET", REST_PATH, null, com.google.api.services.displayvideo.v3.model.Operation.class);
30478+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
30479+ if (!getSuppressPatternChecks()) {
30480+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
30481+ "Parameter name must conform to the pattern " +
30482+ "^sdfuploadtasks/operations/[^/]+$");
30483+ }
30484+ }
30485+
30486+ @Override
30487+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
30488+ return super.executeUsingHead();
30489+ }
30490+
30491+ @Override
30492+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
30493+ return super.buildHttpRequestUsingHead();
30494+ }
30495+
30496+ @Override
30497+ public Get set$Xgafv(java.lang.String $Xgafv) {
30498+ return (Get) super.set$Xgafv($Xgafv);
30499+ }
30500+
30501+ @Override
30502+ public Get setAccessToken(java.lang.String accessToken) {
30503+ return (Get) super.setAccessToken(accessToken);
30504+ }
30505+
30506+ @Override
30507+ public Get setAlt(java.lang.String alt) {
30508+ return (Get) super.setAlt(alt);
30509+ }
30510+
30511+ @Override
30512+ public Get setCallback(java.lang.String callback) {
30513+ return (Get) super.setCallback(callback);
30514+ }
30515+
30516+ @Override
30517+ public Get setFields(java.lang.String fields) {
30518+ return (Get) super.setFields(fields);
30519+ }
30520+
30521+ @Override
30522+ public Get setKey(java.lang.String key) {
30523+ return (Get) super.setKey(key);
30524+ }
30525+
30526+ @Override
30527+ public Get setOauthToken(java.lang.String oauthToken) {
30528+ return (Get) super.setOauthToken(oauthToken);
30529+ }
30530+
30531+ @Override
30532+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
30533+ return (Get) super.setPrettyPrint(prettyPrint);
30534+ }
30535+
30536+ @Override
30537+ public Get setQuotaUser(java.lang.String quotaUser) {
30538+ return (Get) super.setQuotaUser(quotaUser);
30539+ }
30540+
30541+ @Override
30542+ public Get setUploadType(java.lang.String uploadType) {
30543+ return (Get) super.setUploadType(uploadType);
30544+ }
30545+
30546+ @Override
30547+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
30548+ return (Get) super.setUploadProtocol(uploadProtocol);
30549+ }
30550+
30551+ /** The name of the operation resource. */
30552+ @com.google.api.client.util.Key
30553+ private java.lang.String name;
30554+
30555+ /** The name of the operation resource.
30556+ */
30557+ public java.lang.String getName() {
30558+ return name;
30559+ }
30560+
30561+ /** The name of the operation resource. */
30562+ public Get setName(java.lang.String name) {
30563+ if (!getSuppressPatternChecks()) {
30564+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
30565+ "Parameter name must conform to the pattern " +
30566+ "^sdfuploadtasks/operations/[^/]+$");
30567+ }
30568+ this.name = name;
30569+ return this;
30570+ }
30571+
30572+ @Override
30573+ public Get set(String parameterName, Object value) {
30574+ return (Get) super.set(parameterName, value);
30575+ }
30576+ }
30577+
30578+ }
30579+ }
30580+
3039730581 /**
3039830582 * An accessor for creating requests from the TargetingTypes collection.
3039930583 *
0 commit comments